summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-25 14:50:38 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-25 15:06:55 +0300
commite4d59c2c8fb564f350aa39a72001d631e9552eee (patch)
tree2cda22d2f1715befeec7f622738ab588cecc9e47
parent046bd684a1e77a651ed42331b19853f5290347ad (diff)
apalis-imx6_ov5640_overlay.dts: fix compillation warnings
There are a lot warnings from dtc compiler about the absence of necessary properties. [1] Fix all of them by adding a "geometry" of nodes. [1] ------------------------------------- overlays/apalis-imx6_ov5640_overlay.dts:48.5-18: Warning (reg_format): /fragment@1/__overlay__/ov5640_mipi@3c:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) overlays/apalis-imx6_ov5640_overlay.dts:78.5-15: Warning (reg_format): /fragment@2/__overlay__/port@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) apalis-imx6_ov5640_overlay.dtbo: Warning (pci_device_reg): Failed prerequisite 'reg_format' apalis-imx6_ov5640_overlay.dtbo: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' apalis-imx6_ov5640_overlay.dtbo: Warning (simple_bus_reg): Failed prerequisite 'reg_format' apalis-imx6_ov5640_overlay.dtbo: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' apalis-imx6_ov5640_overlay.dtbo: Warning (spi_bus_reg): Failed prerequisite 'reg_format' overlays/apalis-imx6_ov5640_overlay.dts:46.19-68.6: Warning (avoid_default_addr_size): /fragment@1/__overlay__/ov5640_mipi@3c: Relying on default #address-cells value overlays/apalis-imx6_ov5640_overlay.dts:46.19-68.6: Warning (avoid_default_addr_size): /fragment@1/__overlay__/ov5640_mipi@3c: Relying on default #size-cells value overlays/apalis-imx6_ov5640_overlay.dts:77.11-85.6: Warning (avoid_default_addr_size): /fragment@2/__overlay__/port@0: Relying on default #address-cells value overlays/apalis-imx6_ov5640_overlay.dts:77.11-85.6: Warning (avoid_default_addr_size): /fragment@2/__overlay__/port@0: Relying on default #size-cells value apalis-imx6_ov5640_overlay.dtbo: Warning (avoid_unnecessary_addr_size): Failed prerequisite 'avoid_default_addr_size' apalis-imx6_ov5640_overlay.dtbo: Warning (unique_unit_address): Failed prerequisite 'avoid_default_addr_size' overlays/apalis-imx6_ov5640_overlay.dts:77.11-85.6: Warning (graph_port): /fragment@2/__overlay__/port@0: graph node '#address-cells' is -1, must be 1 overlays/apalis-imx6_ov5640_overlay.dts:77.11-85.6: Warning (graph_port): /fragment@2/__overlay__/port@0: graph node '#size-cells' is -1, must be 0 ------------------------------------- Related-to: ELB-1316 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--overlays/apalis-imx6_ov5640_overlay.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/overlays/apalis-imx6_ov5640_overlay.dts b/overlays/apalis-imx6_ov5640_overlay.dts
index a66c6c3..f58777b 100644
--- a/overlays/apalis-imx6_ov5640_overlay.dts
+++ b/overlays/apalis-imx6_ov5640_overlay.dts
@@ -41,6 +41,8 @@
fragment@1 {
target-path = "/soc/aips-bus@2100000/i2c@21a8000";
__overlay__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
ov5640_mipi@3c {
@@ -72,6 +74,8 @@
fragment@2 {
target-path = "/soc/aips-bus@2100000/mipi@21dc000/";
__overlay__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
port@0 {