diff options
author | Tushar Behera <tushar.b@samsung.com> | 2014-06-21 08:50:14 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-06-21 08:50:14 -0400 |
commit | db91fb2cf4aeec274fdacef9a7ad48294baf6e7e (patch) | |
tree | 0dc40dd11994fb8b75326d631d187440e0a78cd3 | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
ARM: dts: Enable audio support for exynos5800-peach-pi
Peach-pi board has MAX98091 audio codec connected on HSI2C-7 bus.
Signed-off-by: Tushar Behera <tushar.b@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/boot/dts/exynos5800-peach-pi.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index f3af2079a063..ef94ab83b152 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts | |||
@@ -57,6 +57,13 @@ | |||
57 | pinctrl-names = "default"; | 57 | pinctrl-names = "default"; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | sound { | ||
61 | compatible = "google,snow-audio-max98091"; | ||
62 | |||
63 | samsung,i2s-controller = <&i2s0>; | ||
64 | samsung,audio-codec = <&max98091>; | ||
65 | }; | ||
66 | |||
60 | usb300_vbus_reg: regulator-usb300 { | 67 | usb300_vbus_reg: regulator-usb300 { |
61 | compatible = "regulator-fixed"; | 68 | compatible = "regulator-fixed"; |
62 | regulator-name = "P5.0V_USB3CON0"; | 69 | regulator-name = "P5.0V_USB3CON0"; |
@@ -81,6 +88,13 @@ | |||
81 | }; | 88 | }; |
82 | 89 | ||
83 | &pinctrl_0 { | 90 | &pinctrl_0 { |
91 | max98091_irq: max98091-irq { | ||
92 | samsung,pins = "gpx0-2"; | ||
93 | samsung,pin-function = <0>; | ||
94 | samsung,pin-pud = <0>; | ||
95 | samsung,pin-drv = <0>; | ||
96 | }; | ||
97 | |||
84 | tpm_irq: tpm-irq { | 98 | tpm_irq: tpm-irq { |
85 | samsung,pins = "gpx1-0"; | 99 | samsung,pins = "gpx1-0"; |
86 | samsung,pin-function = <0>; | 100 | samsung,pin-function = <0>; |
@@ -207,6 +221,19 @@ | |||
207 | samsung,invert-vclk; | 221 | samsung,invert-vclk; |
208 | }; | 222 | }; |
209 | 223 | ||
224 | &hsi2c_7 { | ||
225 | status = "okay"; | ||
226 | |||
227 | max98091: codec@10 { | ||
228 | compatible = "maxim,max98091"; | ||
229 | reg = <0x10>; | ||
230 | interrupts = <2 0>; | ||
231 | interrupt-parent = <&gpx0>; | ||
232 | pinctrl-names = "default"; | ||
233 | pinctrl-0 = <&max98091_irq>; | ||
234 | }; | ||
235 | }; | ||
236 | |||
210 | &hsi2c_9 { | 237 | &hsi2c_9 { |
211 | status = "okay"; | 238 | status = "okay"; |
212 | clock-frequency = <400000>; | 239 | clock-frequency = <400000>; |
@@ -251,3 +278,7 @@ | |||
251 | &watchdog { | 278 | &watchdog { |
252 | timeout-sec = <32>; | 279 | timeout-sec = <32>; |
253 | }; | 280 | }; |
281 | |||
282 | &i2s0 { | ||
283 | status = "okay"; | ||
284 | }; | ||