[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220725230155.GA2912841-robh@kernel.org>
Date: Mon, 25 Jul 2022 17:01:55 -0600
From: Rob Herring <robh@...nel.org>
To: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
Cc: robh+dt@...nel.org, amelie.delaunay@...s.st.com,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
arnd@...db.de, mka@...omium.org, krzysztof.kozlowski+dt@...aro.org,
linux-usb@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
alexandre.torgue@...s.st.com, linux-kernel@...r.kernel.org,
gregkh@...uxfoundation.org
Subject: Re: [PATCH 1/4] dt-bindings: usb: generic-ehci: allow usb-hcd schema
properties
On Fri, 22 Jul 2022 15:05:51 +0200, Fabrice Gasnier wrote:
> Allow properties and usb-device child nodes as defined in usb-hcd.yaml, by
> using unevaluatedProperties: false. By the way, remove the "companion"
> property as it's redundant with usb-hcd.yaml.
> As example, this allows an onboard hub, to be described in generic-ehci
> controller node:
> usb {
> compatible = "generic-ehci";
> #address-cells = <1>;
> #size-cells = <0>;
> /* onboard HUB */
> hub@1 {
> compatible = "usb424,2514";
> reg = <1>;
> vdd-supply = <&v3v3>;
> };
> };
>
> Without this, dtbs_check complains on '#address-cells', '#size-cells',
> 'hub@1' do not match any of the regexes: 'pinctrl-[0-9]+'
> From schema: ..../generic-ehci.yaml
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
> ---
> Documentation/devicetree/bindings/usb/generic-ehci.yaml | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists