ARM: dts: dra7xx: Add u-boot specific property for PCF8575 nodes
authorVignesh R <vigneshr@ti.com>
Tue, 2 Aug 2016 04:44:26 +0000 (10:14 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 8 Aug 2016 17:32:54 +0000 (13:32 -0400)
PCF8575 does not have any registers hence, offset field needs to be
ignored for i2c read/write. Therefore populate u-boot,i2c-offset-len
with 0 in PCF8575 DT nodes.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/dts/dra7-evm.dts
arch/arm/dts/dra72-evm.dts

index 8b77a76..06b7b36 100644 (file)
                interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
                interrupt-controller;
                #interrupt-cells = <2>;
+               u-boot,i2c-offset-len = <0>;
        };
 
 };
index c7c5d40..277745f 100644 (file)
                interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
                interrupt-controller;
                #interrupt-cells = <2>;
+               u-boot,i2c-offset-len = <0>;
        };
 };
 
                 * VIN6_SEL_S0 is low, thus selecting McASP3 over VIN6
                 */
                lines-initial-states = <0x0f2b>;
+               u-boot,i2c-offset-len = <0>;
        };
 };