Devicetree
 help / color / mirror / Atom feed
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 v2 4/5] dt-bindings: clock: airoha: allow MDIO controllers under the SCU
Date: Tue,  1 Dec 2026 20:36:56 +0100	[thread overview]
Message-ID: <20261201193657.3072138-5-john@phrozen.org> (raw)
In-Reply-To: <20261201193657.3072138-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>
---
v2: rebased, no other change

 .../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 7dc929f8586a..5fa885e02544 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


  parent reply	other threads:[~2026-12-01 19:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 19:36 [PATCH v2 0/5] clk: en7523: add support for Airoha AN7589 John Crispin
2026-12-01 19:36 ` [PATCH v2 1/5] dt-bindings: arm: airoha: add AN7589 chip SCU John Crispin
2026-12-01 19:36 ` [PATCH v2 2/5] dt-bindings: clock: airoha: add AN7589 John Crispin
2026-12-01 19:36 ` [PATCH v2 3/5] clk: en7523: add support for Airoha AN7589 John Crispin
2026-12-01 19:36 ` John Crispin [this message]
2026-12-01 19:36 ` [PATCH v2 5/5] 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=20261201193657.3072138-5-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