diff mbox

[U-Boot,U-Boot,2/3] ARM: dra7xx_evm: Enable pcf driver

Message ID 1426000283-21818-3-git-send-email-vigneshr@ti.com
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Raghavendra, Vignesh March 10, 2015, 3:11 p.m. UTC
Enable pcf driver to control the pcf chip present
at address 0x21 on i2c1.

Signed-off-by: Vignesh R <vigneshr@ti.com>
---
 include/configs/dra7xx_evm.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Tom Rini March 10, 2015, 4:03 p.m. UTC | #1
On Tue, Mar 10, 2015 at 08:41:22PM +0530, Vignesh R wrote:

> Enable pcf driver to control the pcf chip present
> at address 0x21 on i2c1.
> 
> Signed-off-by: Vignesh R <vigneshr@ti.com>
> ---
>  include/configs/dra7xx_evm.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
> index dee2b11056e7..0714f920efe6 100644
> --- a/include/configs/dra7xx_evm.h
> +++ b/include/configs/dra7xx_evm.h
> @@ -229,4 +229,8 @@
>  #endif
>  #endif  /* NOR support */
>  
> +/* pcf support */
> +#define CONFIG_PCF8575
> +#define CONFIG_SYS_I2C_PCF8575_CHIP { {0x21, 0xeaf7} }

As part of switching to DM this will also be done differently (via
device tree).
diff mbox

Patch

diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index dee2b11056e7..0714f920efe6 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -229,4 +229,8 @@ 
 #endif
 #endif  /* NOR support */
 
+/* pcf support */
+#define CONFIG_PCF8575
+#define CONFIG_SYS_I2C_PCF8575_CHIP { {0x21, 0xeaf7} }
+
 #endif /* __CONFIG_DRA7XX_EVM_H */