dt-bindings: fix warnings in xinpeng,xpp055c272.yaml

Sam Ravnborg sam at ravnborg.org
Mon Jan 6 18:47:16 UTC 2020


Hi Heiko.

On Mon, Jan 06, 2020 at 07:37:53PM +0100, Heiko Stuebner wrote:
> Am Montag, 6. Januar 2020, 19:17:31 CET schrieb Sam Ravnborg:
> > The reg property in the example caused following warnings:
> > 
> > xinpeng,xpp055c272.example.dts:20.17-27: Warning (reg_format): /example-0/dsi at ff450000/panel at 0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
> > 
> > xinpeng,xpp055c272.example.dt.yaml: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
> > xinpeng,xpp055c272.example.dt.yaml: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
> > xinpeng,xpp055c272.example.dt.yaml: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
> > xinpeng,xpp055c272.example.dts:18.21-24.15: Warning (avoid_default_addr_size): /example-0/dsi at ff450000/panel at 0: Relying on default #address-cells value
> > xinpeng,xpp055c272.example.dts:18.21-24.15: Warning (avoid_default_addr_size): /example-0/dsi at ff450000/panel at 0: Relying on default #size-cells value
> > 
> > Added #address-cells and #size-cells to silence the warning.
> > 
> > Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
> > Cc: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
> > Cc: Maxime Ripard <mripard at kernel.org>
> > Cc: Rob Herring <robh at kernel.org>
> > Cc: devicetree at vger.kernel.org
> 
> Reviewed-by: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>

Thanks, pushed to drm-misc-next.

	Sam


More information about the dri-devel mailing list