From: Vladimir Oltean <olteanv@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: "Woojung Huh" <woojung.huh@microchip.com>,
UNGLinuxDriver@microchip.com, "Andrew Lunn" <andrew@lunn.ch>,
"Vivien Didelot" <vivien.didelot@gmail.com>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Alvin Šipraga" <alsi@bang-olufsen.dk>,
"Marek Vasut" <marex@denx.de>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: net/dsa: Add spi-peripheral-props.yaml references
Date: Thu, 26 May 2022 03:32:16 +0300 [thread overview]
Message-ID: <20220526003216.7jxopjckccugh3ft@skbuf> (raw)
In-Reply-To: <20220525205752.2484423-1-robh@kernel.org>
On Wed, May 25, 2022 at 03:57:50PM -0500, Rob Herring wrote:
> SPI peripheral device bindings need to reference spi-peripheral-props.yaml
> in order to use various SPI controller specific properties. Otherwise,
> the unevaluatedProperties check will reject any controller specific
> properties.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 1 +
> Documentation/devicetree/bindings/net/dsa/realtek.yaml | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
> index 184152087b60..6bbd8145b6c1 100644
> --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
> +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
> @@ -12,6 +12,7 @@ maintainers:
>
> allOf:
> - $ref: dsa.yaml#
> + - $ref: /schemas/spi/spi-peripheral-props.yaml#
>
> properties:
> # See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional
> diff --git a/Documentation/devicetree/bindings/net/dsa/realtek.yaml b/Documentation/devicetree/bindings/net/dsa/realtek.yaml
> index 99ee4b5b9346..4f99aff029dc 100644
> --- a/Documentation/devicetree/bindings/net/dsa/realtek.yaml
> +++ b/Documentation/devicetree/bindings/net/dsa/realtek.yaml
> @@ -108,6 +108,7 @@ if:
> - reg
>
> then:
> + $ref: /schemas/spi/spi-peripheral-props.yaml#
> not:
> required:
> - mdc-gpios
> --
> 2.34.1
>
Also needed by nxp,sja1105.yaml and the following from brcm,b53.yaml:
brcm,bcm5325
brcm,bcm5365
brcm,bcm5395
brcm,bcm5397
brcm,bcm5398
brcm,bcm53115
brcm,bcm53125
brcm,bcm53128
next prev parent reply other threads:[~2022-05-26 0:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 20:57 [PATCH] dt-bindings: net/dsa: Add spi-peripheral-props.yaml references Rob Herring
2022-05-26 0:32 ` Vladimir Oltean [this message]
2022-05-26 22:04 ` Rob Herring
2022-05-26 23:18 ` Vladimir Oltean
2022-05-31 15:01 ` Rob Herring
2022-05-31 21:41 ` Vladimir Oltean
2022-05-26 14:31 ` Linus Walleij
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=20220526003216.7jxopjckccugh3ft@skbuf \
--to=olteanv@gmail.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=alsi@bang-olufsen.dk \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=vivien.didelot@gmail.com \
--cc=woojung.huh@microchip.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