Re: Warning coming from raspberrypi,bcm2835-firmware.yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 02, 2020 at 01:20:28PM -0300, Fabio Estevam wrote:
> Hi Maxime,
> 
> On Thu, Jul 2, 2020 at 11:32 AM Maxime Ripard <maxime@xxxxxxxxxx> wrote:
> 
> > I've sent a patch for it
> >
> > https://lore.kernel.org/linux-devicetree/20200626115433.125735-1-maxime@xxxxxxxxxx/
> 
> Thanks. Yes, this fixes the warning in
> Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml
> 
> BTW, there are still warnings coming from bcm2835-firmware.example.yaml:
> 
> $ make dt_binding_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
>   CHKDT   Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
>   SCHEMA  Documentation/devicetree/bindings/processed-schema-examples.yaml
>   DTC     Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.example.dt.yaml
> Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.example.dts:23.37-26.15:
> Warning (simple_bus_reg): /example-0/firmware/clocks: missing or empty
> reg/ranges property
>   CHECK   Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.example.dt.yaml
> /home/fabio/linux-next/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.example.dt.yaml:
> firmware: $nodename:0: 'firmware' does not match
> '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
> /home/fabio/linux-next/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.example.dt.yaml:
> firmware: '#address-cells' is a required property
> /home/fabio/linux-next/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.example.dt.yaml:
> firmware: '#size-cells' is a required property
> /home/fabio/linux-next/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.example.dt.yaml:
> firmware: 'ranges' is a required property

Yes, as mentionned in the patch above, we can't fix that without changing the binding.

Maxime

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux