i2c: rcar_i2c: Remove the driver
Subsystems (2)
PATCH 1/4 i2c: rcar_i2c: Remove the driver
Remove the rcar_i2c driver, since it's no longer used by any board and will be superseded by a DM and DT capable variant.
--- drivers/i2c/Makefile | 1 - drivers/i2c/rcar_i2c.c | 292 ------------------------------------------------- 2 files changed, 293 deletions(-) delete mode 100644 drivers/i2c/rcar_i2c.c
drivers/i2c/Makefile +0 -1
@@ -28,7 +28,6 @@ obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o obj-$(CONFIG_SYS_I2C_MXS) += mxs_i2c.o obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o -obj-$(CONFIG_SYS_I2C_RCAR) += rcar_i2c.o obj-$(CONFIG_SYS_I2C_RCAR_IIC) += rcar_iic.o obj-$(CONFIG_SYS_I2C_ROCKCHIP) += rk_i2c.o obj-$(CONFIG_SYS_I2C_S3C24X0) += s3c24x0_i2c.o exynos_hs_i2c.o
drivers/i2c/rcar_i2c.c deleted +0 -292
292 lines not on this page · raw message
Signature · 1 line
2.16.2
PATCH v2 2/4 i2c: rcar_i2c: Add DM and DT capable I2C driver
Add derivative of the rcar_i2c driver which is capable of probing itself from DM and uses DT.
--- drivers/i2c/Kconfig | 6 + drivers/i2c/Makefile | 1 + drivers/i2c/rcar_i2c.c | 353 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 360 insertions(+) create mode 100644 drivers/i2c/rcar_i2c.c
---
V2: Fix the license tag and minor checkpatch issue
drivers/i2c/Kconfig +6 -0
@@ -339,6 +339,12 @@ config SYS_OMAP24_I2C_SPEED OMAP24xx Slave speed channel 0 endif +config SYS_I2C_RCAR_I2C + bool "Renesas RCar I2C driver" + depends on (RCAR_GEN3 || RCAR_GEN2) && DM_I2C + help + Support for Renesas RCar I2C controller. + config SYS_I2C_RCAR_IIC bool "Renesas RCar Gen3 IIC driver" depends on (RCAR_GEN3 || RCAR_GEN2) && DM_I2C
drivers/i2c/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o obj-$(CONFIG_SYS_I2C_MXS) += mxs_i2c.o obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o +obj-$(CONFIG_SYS_I2C_RCAR_I2C) += rcar_i2c.o obj-$(CONFIG_SYS_I2C_RCAR_IIC) += rcar_iic.o obj-$(CONFIG_SYS_I2C_ROCKCHIP) += rk_i2c.o obj-$(CONFIG_SYS_I2C_S3C24X0) += s3c24x0_i2c.o exynos_hs_i2c.o
drivers/i2c/rcar_i2c.c new file +353 -0
353 lines not on this page · raw message
Signature · 1 line
2.16.2
PATCH v2 2/4 i2c: rcar_i2c: Add DM and DT capable I2C driver
Hello Marek,
Am 12.05.2018 um 23:15 schrieb Marek Vasut:
Quoted 6 lines
Add derivative of the
rcar_i2cdriver which is capable of probing itself from DM and uses DT.Signed-off-by Marek Vasut <[email protected]>Cc Heiko Schocher <[email protected]>Cc Nobuhiro Iwamatsu <[email protected]>
Quoted 8 lines
--- drivers/i2c/Kconfig | 6 + drivers/i2c/Makefile | 1 + drivers/i2c/rcar_i2c.c | 353 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 360 insertions(+)create mode 100644
drivers/i2c/rcar_i2c.c
---
V2: Fix the license tag and minor checkpatch issue
Thanks!
bye,
Heiko
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
PATCH 3/4 ARM: rmobile: Enable DM capable RCar I2C driver on Lager
In reply to Marek VasutEnable the DM capable driver instead of the legacy one.
--- configs/lager_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/lager_defconfig +1 -0
@@ -54,6 +54,7 @@ CONFIG_CLK_RENESAS=y CONFIG_DM_GPIO=y CONFIG_RCAR_GPIO=y CONFIG_DM_I2C=y +CONFIG_SYS_I2C_RCAR_I2C=y CONFIG_SYS_I2C_RCAR_IIC=y CONFIG_DM_MMC=y CONFIG_SH_MMCIF=y
Signature · 1 line
2.16.2
PATCH 4/4 ARM: rmobile: Enable DM capable RCar I2C driver on Silk
In reply to Marek VasutEnable the DM capable driver instead of the legacy one.
--- configs/silk_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/silk_defconfig +1 -0
@@ -54,6 +54,7 @@ CONFIG_CLK_RENESAS=y CONFIG_DM_GPIO=y CONFIG_RCAR_GPIO=y CONFIG_DM_I2C=y +CONFIG_SYS_I2C_RCAR_I2C=y CONFIG_SYS_I2C_RCAR_IIC=y CONFIG_DM_MMC=y CONFIG_SH_MMCIF=y
Signature · 1 line
2.16.2
PATCH 1/4 i2c: rcar_i2c: Remove the driver
In reply to Marek VasutHello Marek,
Am 12.05.2018 um 23:15 schrieb Marek Vasut:
Quoted 11 lines
Remove the
rcar_i2cdriver, since it's no longer used by any board and will be superseded by a DM and DT capable variant.Signed-off-by Marek Vasut <[email protected]>Cc Heiko Schocher <[email protected]>Cc Nobuhiro Iwamatsu <[email protected]>--- drivers/i2c/Makefile | 1 - drivers/i2c/rcar_i2c.c | 292 ------------------------------------------------- 2 files changed, 293 deletions(-)delete mode 100644
drivers/i2c/rcar_i2c.c
as the patch is delegated to you:
bye,
Heiko
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de