Re: [PATCH v3 1/2] dt-bindings: pwm: convert atmel pwm to json-schema

From: Rob Herring
Date: Mon Mar 07 2022 - 20:08:06 EST


On Mon, 07 Mar 2022 17:36:55 +0200, Sergiu Moga wrote:
> Convert PWM binding for Atmel/Microchip SoCs to Device Tree Schema
> format.
>
> Signed-off-by: Sergiu Moga <sergiu.moga@xxxxxxxxxxxxx>
> ---
> .../bindings/pwm/atmel,at91sam-pwm.yaml | 42 +++++++++++++++++++
> .../devicetree/bindings/pwm/atmel-pwm.txt | 35 ----------------
> MAINTAINERS | 2 +-
> 3 files changed, 43 insertions(+), 36 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml
> delete mode 100644 Documentation/devicetree/bindings/pwm/atmel-pwm.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/1602300


pwm@e1604000: compatible:0: 'microchip,sama7g5-pwm' is not one of ['atmel,at91sam9rl-pwm', 'atmel,sama5d3-pwm', 'atmel,sama5d2-pwm', 'microchip,sam9x60-pwm']
arch/arm/boot/dts/at91-sama7g5ek.dt.yaml

pwm@e1604000: compatible: ['microchip,sama7g5-pwm', 'atmel,sama5d2-pwm'] is too long
arch/arm/boot/dts/at91-sama7g5ek.dt.yaml