Re: [PATCH v1 1/2] dt-bindings: pwm: convert pwm-rockchip.txt to YAML

From: Rob Herring
Date: Fri Apr 09 2021 - 14:08:00 EST


On Tue, Apr 06, 2021 at 09:04:29PM +0200, Johan Jonker wrote:
> Hi,
>
> Question for Heiko:
> rv1108.dtsi and rk3328.dtsi have a undocumented "interrupts" property
> AFAICT without driver support.
> Please advise what to do with it.
>
>
> See build log:
> https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20210406155053.29101-1-jbx6244@xxxxxxxxx/
>
> ====
>
> Question for Rob:
> It looks like that recent "improvements" with regard to checking for
> undocumented compatible strings make it almost impossible to do any
> useful dt_checking, let alone for the average user. Maybe reduce the
> notification blurb output a bit for things that have nothing to do with
> this document.

It's off by default for dt_binding_check until the 80 or so warnings are
killed. It's on for the PW checks so new ones don't get added. It's also
off for dtbs_check if you set DT_SCHEMA_FILES.

> Unable to fall back to previous versions for older kernels.

Sorry, don't understand this sentence.

>
> pip3 install git+https://github.com/devicetree-org/dt-schema.git@master
> --upgrade
>
> make ARCH=arm dtbs_check
> make ARCH=arm dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
>
> make ARCH=arm64 dtbs_check
> make ARCH=arm64 dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml