Skip to content

Commit

Permalink
i2c: Remove ancient zynq_i2c driver
Browse files Browse the repository at this point in the history
This driver is replaced by drivers/i2c/i2c-cdns.c DM based driver.

Signed-off-by: Michal Simek <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
  • Loading branch information
Michal Simek committed Feb 14, 2019
1 parent 6a9a7b8 commit f88185b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 352 deletions.
5 changes: 0 additions & 5 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -1696,11 +1696,6 @@ The following options need to be configured:
- CONFIG_SYS_OMAP24_I2C_SPEED4 speed channel 4
- CONFIG_SYS_OMAP24_I2C_SLAVE4 slave addr channel 4

- drivers/i2c/zynq_i2c.c
- activate this driver with CONFIG_SYS_I2C_ZYNQ
- set CONFIG_SYS_I2C_ZYNQ_SPEED for speed setting
- set CONFIG_SYS_I2C_ZYNQ_SLAVE for slave addr

- drivers/i2c/s3c24x0_i2c.c:
- activate this driver with CONFIG_SYS_I2C_S3C24X0
- This driver adds i2c buses (11 for Exynos5250, Exynos5420
Expand Down
33 changes: 0 additions & 33 deletions drivers/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -456,39 +456,6 @@ config SYS_I2C_XILINX_XIIC
help
Support for Xilinx AXI I2C controller.

config SYS_I2C_ZYNQ
bool "Xilinx I2C driver"
depends on ARCH_ZYNQMP || ARCH_ZYNQ
depends on !DM_I2C
help
Support for Xilinx I2C controller.

config SYS_I2C_ZYNQ_SLAVE
hex "Set slave addr"
depends on SYS_I2C_ZYNQ
default 0
help
Set CONFIG_SYS_I2C_ZYNQ_SLAVE for slave addr.

config SYS_I2C_ZYNQ_SPEED
int "Set I2C speed"
depends on SYS_I2C_ZYNQ
default 100000
help
Set CONFIG_SYS_I2C_ZYNQ_SPEED for speed setting.

config ZYNQ_I2C0
bool "Xilinx I2C0 controller"
depends on SYS_I2C_ZYNQ
help
Enable Xilinx I2C0 controller.

config ZYNQ_I2C1
bool "Xilinx I2C1 controller"
depends on SYS_I2C_ZYNQ
help
Enable Xilinx I2C1 controller.

config SYS_I2C_IHS
bool "gdsys IHS I2C driver"
depends on DM_I2C
Expand Down
1 change: 0 additions & 1 deletion drivers/i2c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o
obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o
obj-$(CONFIG_SYS_I2C_VERSATILE) += i2c-versatile.o
obj-$(CONFIG_SYS_I2C_XILINX_XIIC) += xilinx_xiic.o
obj-$(CONFIG_SYS_I2C_ZYNQ) += zynq_i2c.o
obj-$(CONFIG_TEGRA186_BPMP_I2C) += tegra186_bpmp_i2c.o

obj-$(CONFIG_I2C_MUX) += muxes/
313 changes: 0 additions & 313 deletions drivers/i2c/zynq_i2c.c

This file was deleted.

0 comments on commit f88185b

Please sign in to comment.