[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220907142124.2532620-5-luca.ceresoli@bootlin.com>
Date: Wed, 7 Sep 2022 16:21:20 +0200
From: luca.ceresoli@...tlin.com
To: alsa-devel@...a-project.org, linux-rockchip@...ts.infradead.org
Cc: Luca Ceresoli <luca.ceresoli@...tlin.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Heiko Stuebner <heiko@...ech.de>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Nicolas Frattaroli <frattaroli.nicolas@...il.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Johan Jonker <jbx6244@...il.com>,
Chris Morgan <macromorgan@...mail.com>
Subject: [PATCH 4/8] arm64: dts: rockchip: add the internal audio codec
From: Luca Ceresoli <luca.ceresoli@...tlin.com>
The RK3308 has a built-in audio codec that connects internally to i2s_8ch_2
or i2s_8ch_3.
Signed-off-by: Luca Ceresoli <luca.ceresoli@...tlin.com>
---
arch/arm64/boot/dts/rockchip/rk3308.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
index 093b70563b23..221cde49dc98 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi
@@ -808,6 +808,20 @@ cru: clock-controller@...00000 {
assigned-clock-rates = <32768>;
};
+ acodec: acodec@...60000 {
+ compatible = "rockchip,rk3308-codec";
+ reg = <0x0 0xff560000 0x0 0x10000>;
+ rockchip,grf = <&grf>;
+ clock-names = "mclk_tx", "mclk_rx", "hclk";
+ clocks = <&cru SCLK_I2S2_8CH_TX_OUT>,
+ <&cru SCLK_I2S2_8CH_RX_OUT>,
+ <&cru PCLK_ACODEC>;
+ reset-names = "acodec-reset";
+ resets = <&cru SRST_ACODEC_P>;
+ #sound-dai-cells = <0>;
+ status = "disabled";
+ };
+
gic: interrupt-controller@...80000 {
compatible = "arm,gic-400";
reg = <0x0 0xff581000 0x0 0x1000>,
--
2.34.1
Powered by blists - more mailing lists