Message ID | 20160802044428.14614-4-vigneshr@ti.com |
---|---|
State | Accepted |
Commit | 06974ea0e3357823d38da0e18921c5ed5fe6d510 |
Delegated to: | Tom Rini |
Headers | show |
On Tuesday 02 August 2016 10:14 AM, Vignesh R wrote: > 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> Regards Mugunthan V N
On Tue, Aug 02, 2016 at 10:14:26AM +0530, Vignesh R wrote: > 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: Tom Rini <trini@konsulko.com>
On Tue, Aug 02, 2016 at 10:14:26AM +0530, Vignesh R wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/arch/arm/dts/dra7-evm.dts b/arch/arm/dts/dra7-evm.dts index 429b9edc1b2b..fc62904621f5 100644 --- a/arch/arm/dts/dra7-evm.dts +++ b/arch/arm/dts/dra7-evm.dts @@ -415,6 +415,7 @@ interrupts = <11 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; + u-boot,i2c-offset-len = <0>; }; }; diff --git a/arch/arm/dts/dra72-evm.dts b/arch/arm/dts/dra72-evm.dts index ced2f1166d8c..06fb3d895a27 100644 --- a/arch/arm/dts/dra72-evm.dts +++ b/arch/arm/dts/dra72-evm.dts @@ -348,6 +348,7 @@ interrupts = <11 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; + u-boot,i2c-offset-len = <0>; }; }; @@ -369,6 +370,7 @@ * VIN6_SEL_S0 is low, thus selecting McASP3 over VIN6 */ lines-initial-states = <0x0f2b>; + u-boot,i2c-offset-len = <0>; }; };
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> --- v3: New patch. arch/arm/dts/dra7-evm.dts | 1 + arch/arm/dts/dra72-evm.dts | 2 ++ 2 files changed, 3 insertions(+)