ARM: dtsi: imx6qdl-sabresd: Enable WM8962 audio support
authorNicolin Chen <b42378@freescale.com>
Fri, 14 Jun 2013 05:22:46 +0000 (13:22 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 08:04:33 +0000 (16:04 +0800)
Enable WM8962 ALSA machine driver via devicetree.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi

index 3e580e34d7cb13fbe0c5507bf3174a99fcd21d7a..6e5dfdb32416847184875a6652aeea70281a9850 100644 (file)
                        linux,code = <114>; /* KEY_VOLUMEDOWN */
                };
        };
+
+       sound {
+               compatible = "fsl,imx6q-sabresd-wm8962",
+                          "fsl,imx-audio-wm8962";
+               model = "wm8962-audio";
+               ssi-controller = <&ssi2>;
+               audio-codec = <&codec>;
+               audio-routing =
+                       "Headphone Jack", "HPOUTL",
+                       "Headphone Jack", "HPOUTR",
+                       "Ext Spk", "SPKOUTL",
+                       "Ext Spk", "SPKOUTR",
+                       "MICBIAS", "AMIC",
+                       "IN3R", "MICBIAS",
+                       "DMIC", "MICBIAS",
+                       "DMICDAT", "DMIC";
+               mux-int-port = <2>;
+               mux-ext-port = <3>;
+       };
 };
 
 &audmux {