Commit 6ab56993 authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Krzysztof Kozlowski

ARM: dts: exynos: Enable HDMI audio on Snow Chromebook

This patch adds new cpu, codec subnodes according to the updated
"google,snow-audio-max98095" DT bindings and the I2S clock tree
configuration so sound on the HDMI interface can also be supported.
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent e9eefc3f
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <dt-bindings/clock/maxim,max77686.h> #include <dt-bindings/clock/maxim,max77686.h>
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/sound/samsung-i2s.h>
#include "exynos5250.dtsi" #include "exynos5250.dtsi"
/ { / {
...@@ -523,6 +524,8 @@ &i2c_8 { ...@@ -523,6 +524,8 @@ &i2c_8 {
}; };
&i2s0 { &i2s0 {
assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>;
assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>;
status = "okay"; status = "okay";
}; };
......
...@@ -18,6 +18,14 @@ sound { ...@@ -18,6 +18,14 @@ sound {
samsung,model = "Snow-I2S-MAX98095"; samsung,model = "Snow-I2S-MAX98095";
samsung,audio-codec = <&max98095>; samsung,audio-codec = <&max98095>;
cpu {
sound-dai = <&i2s0 0>;
};
codec {
sound-dai = <&max98095 0>, <&hdmi>;
};
}; };
}; };
......
...@@ -498,6 +498,7 @@ &pdma0 9 ...@@ -498,6 +498,7 @@ &pdma0 9
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2s0_bus>; pinctrl-0 = <&i2s0_bus>;
power-domains = <&pd_mau>; power-domains = <&pd_mau>;
#clock-cells = <1>;
}; };
i2s1: i2s@12d60000 { i2s1: i2s@12d60000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment