diff mbox series

xilinx: versal: Enable i2c misc eeprom driver

Message ID a6bac7e981c8e1b2159f10e7261b9ee7f64996d5.1596628852.git.michal.simek@xilinx.com
State Accepted
Commit d5c42ec31b004218666b60ab990c1b56d5b09050
Delegated to: Michal Simek
Headers show
Series xilinx: versal: Enable i2c misc eeprom driver | expand

Commit Message

Michal Simek Aug. 5, 2020, noon UTC
Enable this driver to be able to work with i2c based eeproms on Versal.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Michal Simek Aug. 20, 2020, 7:56 a.m. UTC | #1
st 5. 8. 2020 v 14:00 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Enable this driver to be able to work with i2c based eeproms on Versal.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  configs/xilinx_versal_virt_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index 5075cf2f688a..e034c001f8f9 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -43,6 +43,9 @@ CONFIG_FPGA_VERSALPL=y
>  CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_CADENCE=y
>  CONFIG_MISC=y
> +CONFIG_I2C_EEPROM=y
> +CONFIG_SYS_I2C_EEPROM_ADDR=0x0
> +CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW=0x0
>  CONFIG_MMC_IO_VOLTAGE=y
>  CONFIG_MMC_UHS_SUPPORT=y
>  CONFIG_MMC_HS400_SUPPORT=y
> --
> 2.27.0
>

Applied.
M
diff mbox series

Patch

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 5075cf2f688a..e034c001f8f9 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -43,6 +43,9 @@  CONFIG_FPGA_VERSALPL=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_CADENCE=y
 CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
+CONFIG_SYS_I2C_EEPROM_ADDR=0x0
+CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW=0x0
 CONFIG_MMC_IO_VOLTAGE=y
 CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y