From: Rob Herring <robh@kernel.org>
To: Robert Marko <robert.marko@sartura.hr>
Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com,
linux@armlinux.org.uk, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org, agross@kernel.org,
bjorn.andersson@linaro.org, mark.rutland@arm.com,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
Luka Perkov <luka.perkov@sartura.hr>
Subject: Re: [PATCH v3 2/3] dt-bindings: add Qualcomm IPQ4019 MDIO bindings
Date: Tue, 28 Apr 2020 10:09:30 -0500 [thread overview]
Message-ID: <20200428150930.GA25643@bogus> (raw)
In-Reply-To: <20200415150244.2737206-2-robert.marko@sartura.hr>
On Wed, Apr 15, 2020 at 05:02:46PM +0200, Robert Marko wrote:
> This patch adds the binding document for the IPQ40xx MDIO driver.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> Cc: Luka Perkov <luka.perkov@sartura.hr>
> ---
> Changes from v2 to v3:
> * Remove status from example
>
> .../bindings/net/qcom,ipq40xx-mdio.yaml | 61 +++++++++++++++++++
> 1 file changed, 61 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/qcom,ipq40xx-mdio.yaml
>
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipq40xx-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq40xx-mdio.yaml
> new file mode 100644
> index 000000000000..8d4542ccd38c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/qcom,ipq40xx-mdio.yaml
> @@ -0,0 +1,61 @@
> +# SPDX-License-Identifier: GPL-2.0
Dual license new bindings please:
(GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/qcom,ipq40xx-mdio.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm IPQ40xx MDIO Controller Device Tree Bindings
> +
> +maintainers:
> + - Robert Marko <robert.marko@sartura.hr>
> +
> +allOf:
> + - $ref: "mdio.yaml#"
> +
> +properties:
> + compatible:
> + const: qcom,ipq40xx-mdio
Don't use wildcards in compatible names. Should be SoC specific. If 'all
the same', then use a fallback to the 1st implementation.
> +
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 0
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - "#address-cells"
> + - "#size-cells"
> +
> +examples:
> + - |
> + mdio@90000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "qcom,ipq40xx-mdio";
> + reg = <0x90000 0x64>;
> +
> + ethphy0: ethernet-phy@0 {
> + reg = <0>;
> + };
> +
> + ethphy1: ethernet-phy@1 {
> + reg = <1>;
> + };
> +
> + ethphy2: ethernet-phy@2 {
> + reg = <2>;
> + };
> +
> + ethphy3: ethernet-phy@3 {
> + reg = <3>;
> + };
> +
> + ethphy4: ethernet-phy@4 {
> + reg = <4>;
> + };
> + };
> --
> 2.26.0
>
next prev parent reply other threads:[~2020-04-28 15:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-15 15:02 [PATCH v3 1/3] net: phy: mdio: add IPQ40xx MDIO driver Robert Marko
2020-04-15 15:02 ` [PATCH v3 2/3] dt-bindings: add Qualcomm IPQ4019 MDIO bindings Robert Marko
2020-04-15 23:49 ` Andrew Lunn
2020-04-15 23:55 ` Florian Fainelli
2020-04-16 8:43 ` Robert Marko
2020-04-28 15:09 ` Rob Herring [this message]
2020-04-28 16:40 ` Robert Marko
2020-04-15 15:02 ` [PATCH v3 3/3] ARM: dts: qcom: ipq4019: add MDIO node Robert Marko
2020-04-15 23:51 ` Andrew Lunn
2020-04-15 23:56 ` Florian Fainelli
2020-04-15 23:48 ` [PATCH v3 1/3] net: phy: mdio: add IPQ40xx MDIO driver Andrew Lunn
2020-04-16 8:43 ` Robert Marko
2020-04-15 23:57 ` Florian Fainelli
2020-04-16 7:28 ` Leon Romanovsky
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=20200428150930.GA25643@bogus \
--to=robh@kernel.org \
--cc=agross@kernel.org \
--cc=andrew@lunn.ch \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=luka.perkov@sartura.hr \
--cc=mark.rutland@arm.com \
--cc=netdev@vger.kernel.org \
--cc=robert.marko@sartura.hr \
/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;
as well as URLs for NNTP newsgroup(s).