2022-06-14 15:44:56

by Taniya Das

[permalink] [raw]
Subject: [PATCH v5 0/3] Add support for audio clock gating resets for SC7280

Add support for clock gating resets for lpass audio clock controller and
also add support for external MCLKs for I2S.

[v5]
* Fix the fail path and add pm_runtime_disable().

[v4]
* Fix the "fixes" tag.

[v3]
* Remove the maxItems from reg property.

[v2]
* Update/fix the YAML for reg property against each compatible.

[v1]
* Add support for clock gating resets for lpass audio clock
controller & MCLKs.
*** BLURB HERE ***

Taniya Das (3):
dt-bindings: clock: Add resets for LPASS audio clock controller for
SC7280
dt-bindings: clock: Add support for external MCLKs for LPASS on SC7280
clk: qcom: lpass: Add support for resets & external mclk for SC7280

.../clock/qcom,sc7280-lpasscorecc.yaml | 19 +++++++++--
drivers/clk/qcom/lpassaudiocc-sc7280.c | 22 ++++++++++++-
drivers/clk/qcom/lpasscorecc-sc7280.c | 33 +++++++++++++++++++
.../clock/qcom,lpassaudiocc-sc7280.h | 5 +++
.../clock/qcom,lpasscorecc-sc7280.h | 2 ++
5 files changed, 77 insertions(+), 4 deletions(-)

--
2.17.1


2022-06-14 16:02:02

by Taniya Das

[permalink] [raw]
Subject: [PATCH v5 2/3] dt-bindings: clock: Add support for external MCLKs for LPASS on SC7280

Support external mclk to interface external MI2S clocks for SC7280.

Fixes: 4185b27b3bef ("dt-bindings: clock: Add YAML schemas for LPASS clocks on SC7280").
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Taniya Das <[email protected]>
---
include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h b/include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
index 28ed2a07aacc..0324c69ce968 100644
--- a/include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
+++ b/include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
@@ -19,6 +19,8 @@
#define LPASS_CORE_CC_LPM_CORE_CLK 9
#define LPASS_CORE_CC_LPM_MEM0_CORE_CLK 10
#define LPASS_CORE_CC_SYSNOC_MPORT_CORE_CLK 11
+#define LPASS_CORE_CC_EXT_MCLK0_CLK 12
+#define LPASS_CORE_CC_EXT_MCLK0_CLK_SRC 13

/* LPASS_CORE_CC power domains */
#define LPASS_CORE_CC_LPASS_CORE_HM_GDSC 0
--
2.17.1

2022-06-15 20:06:20

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH v5 2/3] dt-bindings: clock: Add support for external MCLKs for LPASS on SC7280

Quoting Taniya Das (2022-06-14 08:33:05)
> Support external mclk to interface external MI2S clocks for SC7280.
>
> Fixes: 4185b27b3bef ("dt-bindings: clock: Add YAML schemas for LPASS clocks on SC7280").
> Acked-by: Rob Herring <[email protected]>
> Signed-off-by: Taniya Das <[email protected]>
> ---

Reviewed-by: Stephen Boyd <[email protected]>