From: "Rob Herring (Arm)" <robh@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Orson Zhai <orsonzhai@gmail.com>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
Chunyan Zhang <zhang.lyra@gmail.com>
Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] dt-bindings: clock: sprd,sc9860-clk: Allow "reg" for gate clocks
Date: Wed, 29 Oct 2025 10:56:13 -0500 [thread overview]
Message-ID: <20251029155615.1167903-1-robh@kernel.org> (raw)
The gate bindings have an artificial split between a "syscon" and clock
provider node. Allow "reg" properties so this split can be removed.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../bindings/clock/sprd,sc9860-clk.yaml | 26 -------------------
1 file changed, 26 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/sprd,sc9860-clk.yaml b/Documentation/devicetree/bindings/clock/sprd,sc9860-clk.yaml
index 502cd723511f..b131390207d6 100644
--- a/Documentation/devicetree/bindings/clock/sprd,sc9860-clk.yaml
+++ b/Documentation/devicetree/bindings/clock/sprd,sc9860-clk.yaml
@@ -114,25 +114,6 @@ allOf:
- reg
properties:
sprd,syscon: false
- - if:
- properties:
- compatible:
- contains:
- enum:
- - sprd,sc9860-agcp-gate
- - sprd,sc9860-aon-gate
- - sprd,sc9860-apahb-gate
- - sprd,sc9860-apapb-gate
- - sprd,sc9860-cam-gate
- - sprd,sc9860-disp-gate
- - sprd,sc9860-pll
- - sprd,sc9860-pmu-gate
- - sprd,sc9860-vsp-gate
- then:
- required:
- - sprd,syscon
- properties:
- reg: false
additionalProperties: false
@@ -142,13 +123,6 @@ examples:
#address-cells = <2>;
#size-cells = <2>;
- pmu-gate {
- compatible = "sprd,sc9860-pmu-gate";
- clocks = <&ext_26m>;
- #clock-cells = <1>;
- sprd,syscon = <&pmu_regs>;
- };
-
clock-controller@20000000 {
compatible = "sprd,sc9860-ap-clk";
reg = <0 0x20000000 0 0x400>;
--
2.51.0
next reply other threads:[~2025-10-29 15:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-29 15:56 Rob Herring (Arm) [this message]
2025-10-29 15:56 ` [PATCH 2/2] arm64: dts: sprd: sc9860: Simplify clock nodes Rob Herring (Arm)
2025-11-18 2:08 ` Chunyan Zhang
2025-11-17 15:47 ` [PATCH 1/2] dt-bindings: clock: sprd,sc9860-clk: Allow "reg" for gate clocks Rob Herring
2025-11-18 2:02 ` Chunyan Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251029155615.1167903-1-robh@kernel.org \
--to=robh@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=orsonzhai@gmail.com \
--cc=sboyd@kernel.org \
--cc=zhang.lyra@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox