lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CAL_JsqJeHYA4Bpb-4FRojV0TWr9z8tbpCshG=t_an7eMnSiQYQ@mail.gmail.com> Date: Mon, 11 Oct 2021 13:45:40 -0500 From: Rob Herring <robh@...nel.org> To: David Heidelberg <david@...t.cz> Cc: Guenter Roeck <linux@...ck-us.net>, Jean Delvare <jdelvare@...e.com>, ~okias/devicetree@...ts.sr.ht, devicetree@...r.kernel.org, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Linux HWMON List <linux-hwmon@...r.kernel.org> Subject: Re: [PATCH] WIP: dt-bindings: arm: hwmon: gpio-fan: Convert txt bindings to yaml On Sun, Oct 10, 2021 at 4:50 PM David Heidelberg <david@...t.cz> wrote: > > > > > On Sun, Oct 10 2021 at 14:31:56 -0500, Rob Herring <robh@...nel.org> > wrote: > > On Sat, 09 Oct 2021 12:43:09 +0200, David Heidelberg wrote: > >> Convert fan devices connected to GPIOs to the YAML syntax. > >> > >> Signed-off-by: David Heidelberg <david@...t.cz> > >> --- > >> .../devicetree/bindings/hwmon/gpio-fan.txt | 41 ----------- > >> .../devicetree/bindings/hwmon/gpio-fan.yaml | 69 > >> +++++++++++++++++++ > >> 2 files changed, 69 insertions(+), 41 deletions(-) > >> delete mode 100644 > >> Documentation/devicetree/bindings/hwmon/gpio-fan.txt > >> create mode 100644 > >> Documentation/devicetree/bindings/hwmon/gpio-fan.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/patch/1538743 > > > > > > fan: 'gpio-fan,speed-map' is a required property > > arch/arm/boot/dts/kirkwood-nas2big.dt.yaml > > arch/arm/boot/dts/kirkwood-net2big.dt.yaml > This sounds correct. > > > > > gpio-fan: gpio-fan,speed-map: 'anyOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/gemini-dlink-dir-685.dt.yaml > > arch/arm/boot/dts/gemini-dlink-dns-313.dt.yaml > > > Look like two arrays instead one expected. > > > gpio_fan: gpio-fan,speed-map: 'anyOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/am57xx-beagle-x15.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revb1.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revc.dt.yaml > Look like two arrays instead one expected. > > > > > gpio-fan: gpio-fan,speed-map: 'oneOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/gemini-dlink-dir-685.dt.yaml > > arch/arm/boot/dts/gemini-dlink-dns-313.dt.yaml > > > Look like three arrays instead one expected. > > > gpio_fan: gpio-fan,speed-map: 'oneOf' conditional failed, one must be > > fixed: > > arch/arm/boot/dts/am57xx-beagle-x15.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revb1.dt.yaml > > arch/arm/boot/dts/am57xx-beagle-x15-revc.dt.yaml > > > Look like two arrays instead one expected. > > I can send patches to solve these warnings. Certainly not required, but would be nice. I sent it more for whether anything in the schema should change. Rob
Powered by blists - more mailing lists