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

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

 



Hi Fabio,

On Thu, Jul 02, 2020 at 11:00:25AM -0300, Fabio Estevam wrote:
> Hi Rob,
> 
> I am getting the following warning on
> Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml:
> 
> Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.example.dt.yaml:
> bus@30000000: compatible:0: 'raspberrypi,bcm2835-firmware' was
> expected
> Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.example.dt.yaml:
> bus@30000000: 'mboxes' is a required property
> 
> If I change raspberrypi,bcm2835-firmware.yaml like this the fsl,aips
> warnings is gone:
> 
> --- a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
> +++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml
> @@ -14,7 +14,6 @@ properties:
>    compatible:
>      items:
>        - const: raspberrypi,bcm2835-firmware
> -      - const: simple-bus
> 
>    mboxes:
>      $ref: '/schemas/types.yaml#/definitions/phandle'
> @@ -48,7 +47,7 @@ required:
>  examples:
>    - |
>      firmware {
> -        compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
> +        compatible = "raspberrypi,bcm2835-firmware";
>          mboxes = <&mailbox>;
> 
>          firmware_clocks: clocks {
> 
> What is the proper way to fix this issue?

I've sent a patch for it

https://lore.kernel.org/linux-devicetree/20200626115433.125735-1-maxime@xxxxxxxxxx/

The faulty commit is in the clk-next branch, so the fix should go through there but hasn't been
picked up yet.

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