Skip to content

Commit

Permalink
ARM: dts: exynos: Enable HDMI audio on Snow Chromebook
Browse files Browse the repository at this point in the history
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: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
  • Loading branch information
Sylwester Nawrocki authored and Krzysztof Kozlowski committed Mar 11, 2018
1 parent e9eefc3 commit 6ab5699
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/exynos5250-snow-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <dt-bindings/clock/maxim,max77686.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/sound/samsung-i2s.h>
#include "exynos5250.dtsi"

/ {
Expand Down Expand Up @@ -523,6 +524,8 @@
};

&i2s0 {
assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>;
assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>;
status = "okay";
};

Expand Down
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/exynos5250-snow.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@

samsung,model = "Snow-I2S-MAX98095";
samsung,audio-codec = <&max98095>;

cpu {
sound-dai = <&i2s0 0>;
};

codec {
sound-dai = <&max98095 0>, <&hdmi>;
};
};
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/exynos5250.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@
pinctrl-names = "default";
pinctrl-0 = <&i2s0_bus>;
power-domains = <&pd_mau>;
#clock-cells = <1>;
};

i2s1: i2s@12d60000 {
Expand Down

0 comments on commit 6ab5699

Please sign in to comment.