devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] dt-bindings: clock: qcom,gcc: handle the controllers without power domains
@ 2024-05-28 20:43 Dmitry Baryshkov
  2024-05-28 20:43 ` [PATCH 01/10] dt-bindings: clock: qcom: split the non-PD schema for GCC Dmitry Baryshkov
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: Dmitry Baryshkov @ 2024-05-28 20:43 UTC (permalink / raw)
  To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Taniya Das, Robert Marko,
	Konrad Dybcio
  Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel

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 <dmitry.baryshkov@linaro.org>
---
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 <dmitry.baryshkov@linaro.org>


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-05-29 12:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 20:43 [PATCH 00/10] dt-bindings: clock: qcom,gcc: handle the controllers without power domains Dmitry Baryshkov
2024-05-28 20:43 ` [PATCH 01/10] dt-bindings: clock: qcom: split the non-PD schema for GCC Dmitry Baryshkov
2024-05-29  7:34   ` Krzysztof Kozlowski
2024-05-29  7:58     ` Dmitry Baryshkov
2024-05-29 12:30       ` Krzysztof Kozlowski
2024-05-28 20:43 ` [PATCH 02/10] dt-bindings: clock: qcom,gcc-apq8064: use non-power-domain version of GCC schema Dmitry Baryshkov
2024-05-28 22:02   ` Rob Herring (Arm)
2024-05-28 20:43 ` [PATCH 03/10] dt-bindings: clock: qcom,gcc-msm8660: " Dmitry Baryshkov
2024-05-28 22:02   ` Rob Herring (Arm)
2024-05-28 20:43 ` [PATCH 04/10] dt-bindings: clock: qcom,gcc-ipq6018: " Dmitry Baryshkov
2024-05-28 22:02   ` Rob Herring (Arm)
2024-05-28 20:43 ` [PATCH 05/10] dt-bindings: clock: qcom,gcc-nopd.yaml: force node name Dmitry Baryshkov
2024-05-29  7:39   ` Krzysztof Kozlowski
2024-05-29  7:40     ` Dmitry Baryshkov
2024-05-28 20:43 ` [PATCH 06/10] ARM: dts: qcom: apq8064: drop #power-domain-cells property of GCC Dmitry Baryshkov
2024-05-28 20:43 ` [PATCH 07/10] ARM: dts: qcom: msm8660: " Dmitry Baryshkov
2024-05-28 20:43 ` [PATCH 08/10] ARM: dts: qcom: msm8960: " Dmitry Baryshkov
2024-05-28 20:43 ` [PATCH 09/10] arm64: dts: qcom: ipq6018: fix GCC node name Dmitry Baryshkov
2024-05-29  7:39   ` Krzysztof Kozlowski
2024-05-28 20:43 ` [PATCH 10/10] arm64: dts: qcom: ipq8074: " Dmitry Baryshkov
2024-05-29  7:39   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).