From: Krzysztof Kozlowski <krzk@kernel.org>
To: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
tsbogend@alpha.franken.de, hkallweit1@gmail.com,
linux@armlinux.org.uk, sander@svanheule.net,
markus.stockhausen@gmx.de, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-mips@vger.kernel.org
Subject: Re: [PATCH v4 2/4] dt-bindings: mfd: Add MDIO interface to rtl9301-switch
Date: Wed, 22 Jan 2025 09:14:21 +0100 [thread overview]
Message-ID: <20250122-macho-flat-sawfly-7ca93d@krzk-bin> (raw)
In-Reply-To: <20250120040214.2538839-3-chris.packham@alliedtelesis.co.nz>
On Mon, Jan 20, 2025 at 05:02:12PM +1300, Chris Packham wrote:
> The MDIO controller is part of the switch on the RTL9300 family of
> devices. Add a $ref to the mfd binding for these devices.
>
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> ---
>
You need to explain merging dependencies. Nothing in cover letter,
nothing here, but this *CANNOT* be merged independently.
> Notes:
> Changes in v4:
> - There is a single MDIO controller that has MDIO buses as children
> Changes in v3:
> - None
> Changes in v2:
> - None
>
> .../bindings/mfd/realtek,rtl9301-switch.yaml | 24 +++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/realtek,rtl9301-switch.yaml b/Documentation/devicetree/bindings/mfd/realtek,rtl9301-switch.yaml
> index f053303ab1e6..c19d2c209434 100644
> --- a/Documentation/devicetree/bindings/mfd/realtek,rtl9301-switch.yaml
> +++ b/Documentation/devicetree/bindings/mfd/realtek,rtl9301-switch.yaml
> @@ -28,6 +28,9 @@ properties:
> reg:
> maxItems: 1
>
> + mdio-controller:
> + $ref: /schemas/net/realtek,rtl9301-mdio.yaml#
> +
> '#address-cells':
> const: 1
>
> @@ -110,5 +113,26 @@ examples:
> };
> };
> };
> +
> + mdio-controller {
No, no resources here, no unit address. Look at other nodes - they have
the resource, the address. Mixing such nodes is clear indication this is
not correct hardware description and you do this only for Linux.
Fold child device into parent.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-01-22 8:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-20 4:02 [PATCH v4 0/4] RTL9300 MDIO driver Chris Packham
2025-01-20 4:02 ` [PATCH v4 1/4] dt-bindings: net: Add Realtek MDIO controller Chris Packham
2025-01-22 8:12 ` Krzysztof Kozlowski
2025-01-23 20:45 ` Chris Packham
2025-01-23 22:08 ` Andrew Lunn
2025-01-23 23:40 ` Chris Packham
2025-01-20 4:02 ` [PATCH v4 2/4] dt-bindings: mfd: Add MDIO interface to rtl9301-switch Chris Packham
2025-01-22 8:14 ` Krzysztof Kozlowski [this message]
2025-01-22 20:53 ` Chris Packham
2025-01-31 7:26 ` Krzysztof Kozlowski
2025-01-20 4:02 ` [PATCH v4 3/4] mips: dts: realtek: Add MDIO controller Chris Packham
2025-01-20 4:02 ` [PATCH v4 4/4] net: mdio: Add RTL9300 MDIO driver Chris Packham
2025-01-20 10:28 ` Sander Vanheule
2025-01-20 20:32 ` Chris Packham
2025-01-22 21:47 ` Andrew Lunn
2025-01-22 23:02 ` Chris Packham
2025-01-23 3:41 ` Andrew Lunn
2025-01-23 3:47 ` Chris Packham
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=20250122-macho-flat-sawfly-7ca93d@krzk-bin \
--to=krzk@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=markus.stockhausen@gmx.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=sander@svanheule.net \
--cc=tsbogend@alpha.franken.de \
/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