[PATCH 6/6] ARM: dts: Add sound support to exynos5250-spring
Andreas Färber
afaerber at suse.de
Wed Feb 18 10:25:59 PST 2015
Signed-off-by: Andreas Färber <afaerber at suse.de>
---
arch/arm/boot/dts/exynos5250-spring.dts | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts
index 866beb4e0597..142e0550e223 100644
--- a/arch/arm/boot/dts/exynos5250-spring.dts
+++ b/arch/arm/boot/dts/exynos5250-spring.dts
@@ -49,6 +49,17 @@
};
};
+ sound {
+ compatible = "google,snow-audio-max98089";
+ samsung,model = "Spring-I2S-MAX98089";
+ samsung,i2s-controller = <&i2s0>;
+ samsung,audio-codec = <&max98089>;
+ clocks = <&pmu_system_controller 0>;
+ clock-names = "mclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&mic_det_gpio>, <&hp_det_gpio>;
+ };
+
usb-hub {
compatible = "smsc,usb3503a";
reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
@@ -499,6 +510,20 @@
samsung,pin-drv = <0>;
};
+ mic_det_gpio: mic-det-gpio {
+ samsung,pins = "gpx2-0";
+ samsung,pin-function = <0>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
+ hp_det_gpio: hp-det-gpio {
+ samsung,pins = "gpx2-2";
+ samsung,pin-function = <0>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
s5m8767_ds: s5m8767-ds {
samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
samsung,pin-function = <0>;
--
2.1.4
More information about the linux-arm-kernel
mailing list