[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e88e908e720172d8571d48bd1ebdab3617534f73.camel@egauge.net>
Date: Tue, 14 Dec 2021 16:30:20 -0700
From: David Mosberger-Tang <davidm@...uge.net>
To: Rob Herring <robh@...nel.org>
Cc: Rob Herring <robh+dt@...nel.org>,
Kalle Valo <kvalo@...eaurora.org>, netdev@...r.kernel.org,
Adham Abozaeid <adham.abozaeid@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...rochip.com>,
linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Ajay Singh <ajay.kathat@...rochip.com>,
linux-wireless@...r.kernel.org, devicetree@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH v4 2/2] wilc1000: Document enable-gpios and reset-gpios
properties
On Tue, 2021-12-14 at 14:04 -0600, Rob Herring wrote:
> On Tue, 14 Dec 2021 16:33:22 +0000, David Mosberger-Tang wrote:
> > Add documentation for the ENABLE and RESET GPIOs that may be needed by
> > wilc1000-spi.
> >
> > Signed-off-by: David Mosberger-Tang <davidm@...uge.net>
> > ---
> > .../net/wireless/microchip,wilc1000.yaml | 17 +++++++++++++++++
> > 1 file changed, 17 insertions(+)
> >
>
> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> on your patch (DT_CHECKER_FLAGS is new in v5.13):
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> Error: Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.example.dts:30.37-38 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [scripts/Makefile.lib:373: Documentation/devicetree/bindings/net/wireless/microchip,wilc1000.example.dt.yaml] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [Makefile:1413: dt_binding_check] Error 2
So this error appears due to GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW in these
lines:
enable-gpios = <&pioA 5 GPIO_ACTIVE_HIGH>;
reset-gpios = <&pioA 6 GPIO_ACTIVE_LOW>;
I can replace those with 0 and 1 respectively, but I doubt a lot of people would
recognize what those integers standard for. Is there a better way to get this
to pass?
--david
Powered by blists - more mailing lists