[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230315160228.2362-6-cnsztl@gmail.com>
Date: Thu, 16 Mar 2023 00:02:28 +0800
From: Tianling Shen <cnsztl@...il.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Heiko Stuebner <heiko@...ech.de>,
Jagan Teki <jagan@...rulasolutions.com>,
Peter Geis <pgwipeout@...il.com>, Andy Yan <andyshrk@....com>,
Tianling Shen <cnsztl@...il.com>,
Brian Norris <briannorris@...omium.org>,
Chris Morgan <macromorgan@...mail.com>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
Andrew Lunn <andrew@...n.ch>,
Michael Riesch <michael.riesch@...fvision.net>,
Maya Matuszczyk <maccraft123mc@...il.com>,
Andrew Powers-Holmes <aholmes@...om.net>,
Sascha Hauer <s.hauer@...gutronix.de>,
Vasily Khoruzhick <anarsoul@...il.com>
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 5/5] arm64: dts: rockchip: enable rk809 audio codec on the NanoPi R5 series
Enable the Rockchip RK809 audio codec on the NanoPi R5 series.
Signed-off-by: Tianling Shen <cnsztl@...il.com>
---
.../boot/dts/rockchip/rk3568-nanopi-r5s.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi
index dd9a7907a1c5..8e1a118ae2e3 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi
@@ -35,6 +35,21 @@
};
};
+ rk809-sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,format = "i2s";
+ simple-audio-card,name = "Analog RK809";
+ simple-audio-card,mclk-fs = <256>;
+
+ simple-audio-card,cpu {
+ sound-dai = <&i2s1_8ch>;
+ };
+
+ simple-audio-card,codec {
+ sound-dai = <&rk809>;
+ };
+ };
+
vdd_usbc: vdd-usbc-regulator {
compatible = "regulator-fixed";
regulator-name = "vdd_usbc";
--
2.17.1
Powered by blists - more mailing lists