Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Sylwester Nawrocki and committed by
Krzysztof Kozlowski
6ab56993 e9eefc3f

+12
+3
arch/arm/boot/dts/exynos5250-snow-common.dtsi
··· 9 9 #include <dt-bindings/clock/maxim,max77686.h> 10 10 #include <dt-bindings/interrupt-controller/irq.h> 11 11 #include <dt-bindings/input/input.h> 12 + #include <dt-bindings/sound/samsung-i2s.h> 12 13 #include "exynos5250.dtsi" 13 14 14 15 / { ··· 524 523 }; 525 524 526 525 &i2s0 { 526 + assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>; 527 + assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>; 527 528 status = "okay"; 528 529 }; 529 530
+8
arch/arm/boot/dts/exynos5250-snow.dts
··· 18 18 19 19 samsung,model = "Snow-I2S-MAX98095"; 20 20 samsung,audio-codec = <&max98095>; 21 + 22 + cpu { 23 + sound-dai = <&i2s0 0>; 24 + }; 25 + 26 + codec { 27 + sound-dai = <&max98095 0>, <&hdmi>; 28 + }; 21 29 }; 22 30 }; 23 31
+1
arch/arm/boot/dts/exynos5250.dtsi
··· 498 498 pinctrl-names = "default"; 499 499 pinctrl-0 = <&i2s0_bus>; 500 500 power-domains = <&pd_mau>; 501 + #clock-cells = <1>; 501 502 }; 502 503 503 504 i2s1: i2s@12d60000 {