diff mbox series

[v2,3/5] arm64: dts: rockchip: Enable HDMI audio on BPI R2 Pro

Message ID 20220606170803.478082-4-linux@fw-web.de (mailing list archive)
State New, archived
Headers show
Series Add hdmi Support for BPI-R2-Pro | expand

Commit Message

Frank Wunderlich June 6, 2022, 5:08 p.m. UTC
From: Frank Wunderlich <frank-w@public-files.de>

This enables the i2s0 controller and the hdmi-sound node on
the Bananapi R2 Pro single-board computer.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
this needs this patch/series (now yet applied in 5.19-rc1):
https://patchwork.kernel.org/project/linux-rockchip/patch/20211126122718.631506-2-frattaroli.nicolas@gmail.com/
---
 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
index eeaf02461f9b..57ddb7608976 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
@@ -204,6 +204,10 @@  hdmi_out_con: endpoint {
 	};
 };
 
+&hdmi_sound {
+	status = "okay";
+};
+
 &i2c0 {
 	status = "okay";
 
@@ -444,6 +448,11 @@  &i2c5 {
 	status = "disabled";
 };
 
+&i2s0_8ch {
+	/* hdmi sound */
+	status = "okay";
+};
+
 &mdio1 {
 	rgmii_phy1: ethernet-phy@0 {
 		compatible = "ethernet-phy-ieee802.3-c22";