2023-01-05 14:20:13

by Srinivasa Rao Mandadapu

[permalink] [raw]
Subject: [PATCH v2 0/8] Add SC7280 audioreach device tree nodes.

Add SC7280 audioreach device tree nodes and extract audio specific
dtsi nodes and add them in new file.

This patch depends on:
-- https://patchwork.kernel.org/project/linux-clk/list/?series=707713

Srinivasa Rao Mandadapu (8):
arm64: dts: qcom: sc7280: Extract audio nodes from common idp dtsi
file
arm64: dts: qcom: sc7280: audioreach: Add sound node
arm64: dts: qcom: sc7280: audioreach: Add lpass pil node
arm64: dts: qcom: sc7280: audioreach: Update VA/RX/TX macro clock
nodes
arm64: dts: qcom: sc7280: audioreach: Update lpass_tlmm node
arm64: dts: qcom: sc7280: audioreach: Update lpasscc reg property
arm64: dts: qcom: sc7280: audioreach: Add CGCR reset property
arm64: dts: qcom: sc7280: audioreach: Disable legacy path clock nodes

arch/arm64/boot/dts/qcom/sc7280-audio-idp.dtsi | 135 ++++++++++++++
arch/arm64/boot/dts/qcom/sc7280-crd-r3.dts | 24 +--
.../qcom/sc7280-herobrine-audioreach-wcd9385.dtsi | 204 +++++++++++++++++++++
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 126 -------------
arch/arm64/boot/dts/qcom/sc7280.dtsi | 96 +++++++++-
5 files changed, 434 insertions(+), 151 deletions(-)
create mode 100644 arch/arm64/boot/dts/qcom/sc7280-audio-idp.dtsi
create mode 100644 arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi

--
2.7.4


2023-01-05 14:32:26

by Srinivasa Rao Mandadapu

[permalink] [raw]
Subject: [PATCH v2 7/8] arm64: dts: qcom: sc7280: audioreach: Add CGCR reset property

Add CGCR register reset property for both RX and TX soundwire
slave devices.

This change is required due to clock source change in ADSP enabled
platforms.

Signed-off-by: Srinivasa Rao Mandadapu <[email protected]>
Tested-by: Mohammad Rafi Shaik <[email protected]>
---
arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
index 2a619b4..175ed9c 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
@@ -182,3 +182,11 @@
&lpasscc {
qcom,adsp-pil-mode;
};
+
+&swr0 {
+ resets = <&lpasscc LPASS_AUDIO_SWR_RX_CGCR>;
+};
+
+&swr1 {
+ resets = <&lpasscc LPASS_AUDIO_SWR_TX_CGCR>;
+};
--
2.7.4

2023-01-05 14:46:48

by Srinivasa Rao Mandadapu

[permalink] [raw]
Subject: [PATCH v2 8/8] arm64: dts: qcom: sc7280: audioreach: Disable legacy path clock nodes

Disable legacy path clock nodes to avoid conflicts with audioreach
clock node.

Signed-off-by: Srinivasa Rao Mandadapu <[email protected]>
Tested-by: Mohammad Rafi Shaik <[email protected]>
---
.../boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
index 175ed9c..a88b305 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
@@ -190,3 +190,15 @@
&swr1 {
resets = <&lpasscc LPASS_AUDIO_SWR_TX_CGCR>;
};
+
+&lpass_aon {
+ status = "disabled";
+};
+
+&lpass_audiocc {
+ status = "disabled";
+};
+
+&lpass_core {
+ status = "disabled";
+};
--
2.7.4

2023-01-10 12:04:08

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 8/8] arm64: dts: qcom: sc7280: audioreach: Disable legacy path clock nodes

On 05/01/2023 14:37, Srinivasa Rao Mandadapu wrote:
> Disable legacy path clock nodes to avoid conflicts with audioreach
> clock node.
>
> Signed-off-by: Srinivasa Rao Mandadapu <[email protected]>
> Tested-by: Mohammad Rafi Shaik <[email protected]>
> ---
> .../boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
> index 175ed9c..a88b305 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi
> @@ -190,3 +190,15 @@
> &swr1 {
> resets = <&lpasscc LPASS_AUDIO_SWR_TX_CGCR>;
> };
> +
> +&lpass_aon {

Not ordered.

Best regards,
Krzysztof