152f19b14SBo ShenAtmel ASoC driver with wm8904 audio codec complex 252f19b14SBo Shen 352f19b14SBo ShenRequired properties: 452f19b14SBo Shen - compatible: "atmel,asoc-wm8904" 552f19b14SBo Shen - atmel,model: The user-visible name of this sound complex. 652f19b14SBo Shen - atmel,audio-routing: A list of the connections between audio components. 752f19b14SBo Shen Each entry is a pair of strings, the first being the connection's sink, 852f19b14SBo Shen the second being the connection's source. Valid names for sources and 952f19b14SBo Shen sinks are the WM8904's pins, and the jacks on the board: 1052f19b14SBo Shen 1152f19b14SBo Shen WM8904 pins: 1252f19b14SBo Shen 1352f19b14SBo Shen * IN1L 1452f19b14SBo Shen * IN1R 1552f19b14SBo Shen * IN2L 1652f19b14SBo Shen * IN2R 1752f19b14SBo Shen * IN3L 1852f19b14SBo Shen * IN3R 1952f19b14SBo Shen * HPOUTL 2052f19b14SBo Shen * HPOUTR 2152f19b14SBo Shen * LINEOUTL 2252f19b14SBo Shen * LINEOUTR 2352f19b14SBo Shen * MICBIAS 2452f19b14SBo Shen 2552f19b14SBo Shen Board connectors: 2652f19b14SBo Shen 2752f19b14SBo Shen * Headphone Jack 2852f19b14SBo Shen * Line In Jack 2952f19b14SBo Shen * Mic 3052f19b14SBo Shen 3152f19b14SBo Shen - atmel,ssc-controller: The phandle of the SSC controller 3252f19b14SBo Shen - atmel,audio-codec: The phandle of the WM8904 audio codec 3352f19b14SBo Shen 3452f19b14SBo ShenOptional properties: 3552f19b14SBo Shen - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt 3652f19b14SBo Shen 3752f19b14SBo ShenExample: 3852f19b14SBo Shensound { 3952f19b14SBo Shen compatible = "atmel,asoc-wm8904"; 4052f19b14SBo Shen pinctrl-names = "default"; 4152f19b14SBo Shen pinctrl-0 = <&pinctrl_pck0_as_mck>; 4252f19b14SBo Shen 4352f19b14SBo Shen atmel,model = "wm8904 @ AT91SAM9N12EK"; 4452f19b14SBo Shen 4552f19b14SBo Shen atmel,audio-routing = 4652f19b14SBo Shen "Headphone Jack", "HPOUTL", 4752f19b14SBo Shen "Headphone Jack", "HPOUTR", 4852f19b14SBo Shen "IN2L", "Line In Jack", 4952f19b14SBo Shen "IN2R", "Line In Jack", 5052f19b14SBo Shen "Mic", "MICBIAS", 5152f19b14SBo Shen "IN1L", "Mic"; 5252f19b14SBo Shen 5352f19b14SBo Shen atmel,ssc-controller = <&ssc0>; 5452f19b14SBo Shen atmel,audio-codec = <&wm8904>; 5552f19b14SBo Shen}; 56