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

Rob Herring robh at kernel.org
Tue Mar 8 17:43:47 PST 2022


On Mon, Mar 07, 2022 at 07:07:40PM -0600, Rob Herring wrote:
> 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 at microchip.com>
> > ---
> >  .../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 at 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 at e1604000: compatible: ['microchip,sama7g5-pwm', 'atmel,sama5d2-pwm'] is too long
> 	arch/arm/boot/dts/at91-sama7g5ek.dt.yaml

Disregard, I see patch 2 addresses this.

Rob



More information about the linux-arm-kernel mailing list