Re: [PATCH v2] ASoC: dt-bindings: atmel-i2s: Convert to json-schema

From: Rob Herring
Date: Fri Jul 22 2022 - 18:45:51 EST


On Fri, 22 Jul 2022 08:29:45 -0700, Ryan.Wanner@xxxxxxxxxxxxx wrote:
> From: Ryan Wanner <Ryan.Wanner@xxxxxxxxxxxxx>
>
> Convert atmel i2s devicetree binding to json-schema.
> Change file name to match json-schema naming.
>
> Signed-off-by: Ryan Wanner <Ryan.Wanner@xxxxxxxxxxxxx>
> ---
> Note: running dtbs_check will fail unless updated with this patch,
> https://lore.kernel.org/linux-arm-kernel/20220707215812.193008-1-Ryan.Wanner@xxxxxxxxxxxxx/
>
> v1 -> v2:
> - Fix formatting for clock description.
> - Fix formatting for dma description.
>
> .../bindings/sound/atmel,sama5d2-i2s.yaml | 85 +++++++++++++++++++
> .../devicetree/bindings/sound/atmel-i2s.txt | 46 ----------
> 2 files changed, 85 insertions(+), 46 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/sound/atmel,sama5d2-i2s.yaml
> delete mode 100644 Documentation/devicetree/bindings/sound/atmel-i2s.txt
>

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/


i2s@fc04c000: 'assigned-parrents' does not match any of the regexes: 'pinctrl-[0-9]+'
arch/arm/boot/dts/at91-kizbox3-hs.dtb
arch/arm/boot/dts/at91-sama5d27_som1_ek.dtb
arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dtb
arch/arm/boot/dts/at91-sama5d2_icp.dtb
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dtb
arch/arm/boot/dts/at91-sama5d2_xplained.dtb