From: John Crispin <john@phrozen.org>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: Daniel Lezcano <daniel.lezcano@kernel.org>,
Christian Marangi <ansuelsmth@gmail.com>,
Vitaliy Sochnev <sochnev.v.74@gmail.com>,
Lorenzo Bianconi <lorenzo@kernel.org>,
Felix Fietkau <nbd@nbd.name>,
devicetree@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, lei.dong@airoha.com,
Linqi.zhang@airoha.com, Rajeev.kumar@airoha.com,
upstream@airoha.com, Weifeng.xu@airoha.com,
zhengping.zhang@airoha.com
Subject: [PATCH 5/6] dt-bindings: clock: airoha: allow MDIO controllers under the SCU
Date: Tue, 24 Nov 2026 11:12:19 +0100 [thread overview]
Message-ID: <20261124101220.3888170-6-john@phrozen.org> (raw)
In-Reply-To: <20261124101220.3888170-1-john@phrozen.org>
The AN7583 and AN7589 MDIO controllers live in the SCU register space
and take their registers as offsets into the SCU node. Allow them as
children of the clock controller.
Signed-off-by: John Crispin <john@phrozen.org>
---
.../devicetree/bindings/clock/airoha,en7523-scu.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
index 947f8b939449..f3172ab9ce78 100644
--- a/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
+++ b/Documentation/devicetree/bindings/clock/airoha,en7523-scu.yaml
@@ -65,6 +65,18 @@ properties:
for configuring and read the base clock sources, dividers and
clock gates.
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 0
+
+patternProperties:
+ '^mdio-bus@[0-9a-f]+$':
+ type: object
+ $ref: /schemas/net/airoha,an7583-mdio.yaml#
+ description: MDIO controller living in the SCU register space.
+
required:
- compatible
- reg
--
2.34.1
next prev parent reply other threads:[~2026-11-24 10:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 10:12 [PATCH 0/6] clk: en7523: add support for Airoha AN7589 John Crispin
2026-11-24 10:12 ` [PATCH 1/6] dt-bindings: arm: airoha: add AN7589 chip SCU John Crispin
2026-11-24 10:12 ` [PATCH 2/6] dt-bindings: clock: airoha: add AN7589 John Crispin
2026-11-24 10:12 ` [PATCH 3/6] clk: en7523: decouple base clock count from clock ID count John Crispin
2026-11-24 10:12 ` [PATCH 4/6] clk: en7523: add support for Airoha AN7589 John Crispin
2026-11-24 10:12 ` John Crispin [this message]
2026-11-24 10:12 ` [PATCH 6/6] clk: en7523: populate SCU child devices John Crispin
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=20261124101220.3888170-6-john@phrozen.org \
--to=john@phrozen.org \
--cc=Linqi.zhang@airoha.com \
--cc=Rajeev.kumar@airoha.com \
--cc=Weifeng.xu@airoha.com \
--cc=ansuelsmth@gmail.com \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=lei.dong@airoha.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=nbd@nbd.name \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=sochnev.v.74@gmail.com \
--cc=upstream@airoha.com \
--cc=zhengping.zhang@airoha.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