Skip to content

Commit bf04600

Browse files
committed
dt-bindings: fix warnings in xinpeng,xpp055c272.yaml
The reg property in the example caused following warnings: xinpeng,xpp055c272.example.dts:20.17-27: Warning (reg_format): /example-0/dsi@ff450000/panel@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@ff450000/panel@0: Relying on default #address-cells value xinpeng,xpp055c272.example.dts:18.21-24.15: Warning (avoid_default_addr_size): /example-0/dsi@ff450000/panel@0: Relying on default #size-cells value Added #address-cells and #size-cells to silence the warning. Signed-off-by: Sam Ravnborg <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 810c773 commit bf04600

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ additionalProperties: false
3535
examples:
3636
- |
3737
dsi@ff450000 {
38+
#address-cells = <1>;
39+
#size-cells = <0>;
3840
panel@0 {
3941
compatible = "xinpeng,xpp055c272";
4042
reg = <0>;

0 commit comments

Comments
 (0)