1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*01950c46SEmmanuel Vadot%YAML 1.2 3*01950c46SEmmanuel Vadot--- 4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/atmel,asoc-wm8904.yaml# 5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*01950c46SEmmanuel Vadot 7*01950c46SEmmanuel Vadottitle: Atmel wm8904 audio codec complex 8*01950c46SEmmanuel Vadot 9*01950c46SEmmanuel Vadotmaintainers: 10*01950c46SEmmanuel Vadot - Dharma Balasubiramani <dharma.b@microchip.com> 11*01950c46SEmmanuel Vadot 12*01950c46SEmmanuel Vadotdescription: 13*01950c46SEmmanuel Vadot The ASoC audio complex configuration for Atmel with WM8904 audio codec. 14*01950c46SEmmanuel Vadot 15*01950c46SEmmanuel Vadotproperties: 16*01950c46SEmmanuel Vadot compatible: 17*01950c46SEmmanuel Vadot const: atmel,asoc-wm8904 18*01950c46SEmmanuel Vadot 19*01950c46SEmmanuel Vadot atmel,model: 20*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string 21*01950c46SEmmanuel Vadot description: The user-visible name of this sound complex. 22*01950c46SEmmanuel Vadot 23*01950c46SEmmanuel Vadot atmel,ssc-controller: 24*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 25*01950c46SEmmanuel Vadot description: The phandle of the SSC controller. 26*01950c46SEmmanuel Vadot 27*01950c46SEmmanuel Vadot atmel,audio-codec: 28*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 29*01950c46SEmmanuel Vadot description: The phandle of the WM8731 audio codec. 30*01950c46SEmmanuel Vadot 31*01950c46SEmmanuel Vadot atmel,audio-routing: 32*01950c46SEmmanuel Vadot description: 33*01950c46SEmmanuel Vadot A list of the connections between audio components. Each entry is a pair 34*01950c46SEmmanuel Vadot of strings, the first being the connection's sink, the second being the 35*01950c46SEmmanuel Vadot connection's source. 36*01950c46SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/non-unique-string-array 37*01950c46SEmmanuel Vadot items: 38*01950c46SEmmanuel Vadot enum: 39*01950c46SEmmanuel Vadot # Board Connectors 40*01950c46SEmmanuel Vadot - Headphone Jack 41*01950c46SEmmanuel Vadot - Line In Jack 42*01950c46SEmmanuel Vadot - Mic 43*01950c46SEmmanuel Vadot # WM8904 CODEC Pins 44*01950c46SEmmanuel Vadot - IN1L 45*01950c46SEmmanuel Vadot - IN1R 46*01950c46SEmmanuel Vadot - IN2L 47*01950c46SEmmanuel Vadot - IN2R 48*01950c46SEmmanuel Vadot - IN3L 49*01950c46SEmmanuel Vadot - IN3R 50*01950c46SEmmanuel Vadot - HPOUTL 51*01950c46SEmmanuel Vadot - HPOUTR 52*01950c46SEmmanuel Vadot - LINEOUTL 53*01950c46SEmmanuel Vadot - LINEOUTR 54*01950c46SEmmanuel Vadot - MICBIAS 55*01950c46SEmmanuel Vadot 56*01950c46SEmmanuel Vadotrequired: 57*01950c46SEmmanuel Vadot - compatible 58*01950c46SEmmanuel Vadot - atmel,model 59*01950c46SEmmanuel Vadot - atmel,audio-routing 60*01950c46SEmmanuel Vadot - atmel,ssc-controller 61*01950c46SEmmanuel Vadot - atmel,audio-codec 62*01950c46SEmmanuel Vadot 63*01950c46SEmmanuel VadotadditionalProperties: false 64*01950c46SEmmanuel Vadot 65*01950c46SEmmanuel Vadotexamples: 66*01950c46SEmmanuel Vadot - | 67*01950c46SEmmanuel Vadot sound { 68*01950c46SEmmanuel Vadot compatible = "atmel,asoc-wm8904"; 69*01950c46SEmmanuel Vadot pinctrl-names = "default"; 70*01950c46SEmmanuel Vadot pinctrl-0 = <&pinctrl_pck0_as_mck>; 71*01950c46SEmmanuel Vadot 72*01950c46SEmmanuel Vadot atmel,model = "wm8904 @ AT91SAM9N12EK"; 73*01950c46SEmmanuel Vadot 74*01950c46SEmmanuel Vadot atmel,audio-routing = 75*01950c46SEmmanuel Vadot "Headphone Jack", "HPOUTL", 76*01950c46SEmmanuel Vadot "Headphone Jack", "HPOUTR", 77*01950c46SEmmanuel Vadot "IN2L", "Line In Jack", 78*01950c46SEmmanuel Vadot "IN2R", "Line In Jack", 79*01950c46SEmmanuel Vadot "Mic", "MICBIAS", 80*01950c46SEmmanuel Vadot "IN1L", "Mic"; 81*01950c46SEmmanuel Vadot 82*01950c46SEmmanuel Vadot atmel,ssc-controller = <&ssc0>; 83*01950c46SEmmanuel Vadot atmel,audio-codec = <&wm8904>; 84*01950c46SEmmanuel Vadot }; 85