ARM: dts: Add audio model and audio-routing information for Odroid X2/U3
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 12 Jun 2014 16:13:01 +0000 (18:13 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:53 +0000 (11:59 +0900)
This will specify the sound card name and the audio routing.

Change-Id: I54e042266cc937e97849ca146e40b65cd9bdaa6f
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
arch/arm/boot/dts/exynos4412-odroid-common.dtsi
arch/arm/boot/dts/exynos4412-odroidu3.dts
arch/arm/boot/dts/exynos4412-odroidx2.dts

index 6acf07a..ddd8ecf 100644 (file)
@@ -48,7 +48,7 @@
                status = "okay";
        };
 
-       sound {
+       sound: sound {
                compatible = "samsung,odroidx2-audio";
                samsung,i2s-controller = <&i2s0>;
                samsung,audio-codec = <&max98090>;
index 2a0ca26..9c3deff 100644 (file)
                status = "okay";
        };
 };
+
+&sound {
+       compatible = "samsung,odroidu3-audio";
+       samsung,model = "Odroid-U3";
+       samsung,audio-routing =
+               "Headphone Jack", "HPL",
+               "Headphone Jack", "HPR",
+               "Headphone Jack", "MICBIAS",
+               "IN1", "Headphone Jack",
+               "Speakers", "SPKL",
+               "Speakers", "SPKR";
+};
index 3474b49..8825218 100644 (file)
                status = "okay";
        };
 };
+
+&sound {
+       samsung,model = "Odroid-X2";
+       samsung,audio-routing =
+               "Headphone Jack", "HPL",
+               "Headphone Jack", "HPR",
+               "IN1", "Mic Jack",
+               "Mic Jack", "MICBIAS";
+};