2024-05-28 21:03:07

by Dmitry Baryshkov

[permalink] [raw]
Subject: [PATCH 00/10] dt-bindings: clock: qcom,gcc: handle the controllers without power domains

On some of the Qualcomm platforms the Global Clock Controller doesn't
provide power domains to the platform. However the existing
qcom,gcc.yaml common schema requires the '#power-domain-cells' property.
This results either in a platforms having incorrect property or in DT
validation errors. Fix this by splitting the qcom,gcc-nopd.yaml schema,
which doesn't define the offensive property and use it for such
platforms.

Also, while we are at it, fix GCC node name for two platforms and
enforce node name in the DT schema.

Signed-off-by: Dmitry Baryshkov <[email protected]>
---
Dmitry Baryshkov (10):
dt-bindings: clock: qcom: split the non-PD schema for GCC
dt-bindings: clock: qcom,gcc-apq8064: use non-power-domain version of GCC schema
dt-bindings: clock: qcom,gcc-msm8660: use non-power-domain version of GCC schema
dt-bindings: clock: qcom,gcc-ipq6018: use non-power-domain version of GCC schema
dt-bindings: clock: qcom,gcc-nopd.yaml: force node name
ARM: dts: qcom: apq8064: drop #power-domain-cells property of GCC
ARM: dts: qcom: msm8660: drop #power-domain-cells property of GCC
ARM: dts: qcom: msm8960: drop #power-domain-cells property of GCC
arm64: dts: qcom: ipq6018: fix GCC node name
arm64: dts: qcom: ipq8074: fix GCC node name

.../bindings/clock/qcom,gcc-apq8064.yaml | 2 +-
.../bindings/clock/qcom,gcc-ipq6018.yaml | 2 +-
.../bindings/clock/qcom,gcc-msm8660.yaml | 2 +-
.../devicetree/bindings/clock/qcom,gcc-nopd.yaml | 43 ++++++++++++++++++++++
.../devicetree/bindings/clock/qcom,gcc.yaml | 19 ++--------
arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 1 -
arch/arm/boot/dts/qcom/qcom-msm8660.dtsi | 1 -
arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 1 -
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +-
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +-
10 files changed, 51 insertions(+), 24 deletions(-)
---
base-commit: ee3122766a21b81f4014bf7888dee5b9c5af15fa
change-id: 20240528-qcom-gdscs-b5e6cafdab9d

Best regards,
--
Dmitry Baryshkov <[email protected]>



2024-05-28 21:13:35

by Dmitry Baryshkov

[permalink] [raw]
Subject: [PATCH 07/10] ARM: dts: qcom: msm8660: drop #power-domain-cells property of GCC

On MSM8660 the Global Clock Controller (GCC) doesn't provide power
domains. Drop the #power-domain-cells property from the controller
device node.

Signed-off-by: Dmitry Baryshkov <[email protected]>
---
arch/arm/boot/dts/qcom/qcom-msm8660.dtsi | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8660.dtsi
index 455ba4bf1bf4..a66c474cd1aa 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8660.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-msm8660.dtsi
@@ -113,7 +113,6 @@ tlmm: pinctrl@800000 {
gcc: clock-controller@900000 {
compatible = "qcom,gcc-msm8660";
#clock-cells = <1>;
- #power-domain-cells = <1>;
#reset-cells = <1>;
reg = <0x900000 0x4000>;
clocks = <&pxo_board>, <&cxo_board>;

--
2.39.2