[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+HBbNEVbu4DEuazeR4MUGoBDvB==iHFQo=+yXDgs8R7E0C-Kg@mail.gmail.com>
Date: Mon, 28 Nov 2022 11:03:49 +0100
From: Robert Marko <robert.marko@...tura.hr>
To: Rob Herring <robh@...nel.org>
Cc: luka.perkov@...tura.hr, linux-kernel@...r.kernel.org,
linux@...ck-us.net, devicetree@...r.kernel.org,
wim@...ux-watchdog.org, robh+dt@...nel.org,
linux-watchdog@...r.kernel.org, krzysztof.kozlowski+dt@...aro.org
Subject: Re: [PATCH] dt-bindings: watchdog: Convert GPIO binding to json-schema
On Sat, Nov 26, 2022 at 11:25 PM Rob Herring <robh@...nel.org> wrote:
>
>
> On Fri, 25 Nov 2022 12:29:04 +0100, Robert Marko wrote:
> > Convert the DT binding for GPIO WDT to JSON schema.
> >
> > Cc: luka.perkov@...tura.hr
> > Signed-off-by: Robert Marko <robert.marko@...tura.hr>
> > ---
> > .../devicetree/bindings/watchdog/gpio-wdt.txt | 28 ----------
> > .../bindings/watchdog/gpio-wdt.yaml | 55 +++++++++++++++++++
> > 2 files changed, 55 insertions(+), 28 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/watchdog/gpio-wdt.txt
> > create mode 100644 Documentation/devicetree/bindings/watchdog/gpio-wdt.yaml
> >
>
> Running 'make dtbs_check' with the schema in this patch gives the
> following warnings. Consider if they are expected or the schema is
> incorrect. These may not be new warnings.
>
> Note that it is not yet a requirement to have 0 warnings for dtbs_check.
> This will change in the future.
>
> Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221125112904.48652-1-robert.marko@sartura.hr
>
>
> watchdog-gpio: Unevaluated properties are not allowed ('always-enabled' was unexpected)
> arch/arm64/boot/dts/freescale/imx8mm-data-modul-edm-sbc.dtb
This is expected as always-enabled was not documented in TXT bindings
nor the driver actually parses it,
it is looking for always-running only.
Regards,
Robert
--
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko@...tura.hr
Web: www.sartura.hr
Powered by blists - more mailing lists