diff mbox

[1/2] arm64: dts: rockchip: move rk3399-sapphire i2s2 to daughterboard

Message ID 20180219231102.9090-1-vicencb@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vicente Bergas Feb. 19, 2018, 11:11 p.m. UTC
The i2s2 drives the HDMI audio, which has the connector on the daughterboard.

Signed-off-by: Vicente Bergas <vicencb@gmail.com>
---
Hi Heiko,

I have tested your patches on stable Linux 4.15.4 and worked fine.
There are only two missing bits: the power-button and the HDMI audio.
With this two extra patches, I have been able to test the power button
and it worked fine.
The HDMI audio was not working before nor after, but, the TRM says that
i2s2 is the audio source for the HDMI port.

Regards, Vicente.

 arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts | 5 -----
 arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi          | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Heiko Stübner Feb. 20, 2018, 9:37 a.m. UTC | #1
Am Dienstag, 20. Februar 2018, 00:11:01 CET schrieb Vicente Bergas:
> The i2s2 drives the HDMI audio, which has the connector on the daughterboard.
> 
> Signed-off-by: Vicente Bergas <vicencb@gmail.com>
> ---
> Hi Heiko,
> 
> I have tested your patches on stable Linux 4.15.4 and worked fine.
> There are only two missing bits: the power-button and the HDMI audio.
> With this two extra patches, I have been able to test the power button
> and it worked fine.
> The HDMI audio was not working before nor after, but, the TRM says that
> i2s2 is the audio source for the HDMI port.

I've applied all 4 patches for 4.17 now.


Heiko
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts
index b7bd88fb3ae3..6027846ffd3e 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts
@@ -207,11 +207,6 @@ 
 	status = "okay";
 };
 
-&i2s2 {
-	#sound-dai-cells = <0>;
-	status = "okay";
-};
-
 &pinctrl {
 	buttons {
 		pwr_btn: pwr-btn {
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi
index 0f873c897d0d..21b05601f04a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi
@@ -440,6 +440,11 @@ 
 	status = "okay";
 };
 
+&i2s2 {
+	#sound-dai-cells = <0>;
+	status = "okay";
+};
+
 &io_domains {
 	status = "okay";