i2c: nuvoton: Add NPCM7xx i2c driver
Subsystems (2)
PATCH v4 1/1 i2c: nuvoton: Add NPCM7xx i2c driver
Add Nuvoton BMC NPCM750 i2c driver
Signed-off-by Jim Liu <[email protected]>
---
changes for v4:
- remove i2c doc
changes for v3:
- add i2c doc
Changes for v2:
- use debug output in reset function
- use clr/setbits_8
--- drivers/i2c/Kconfig | 5 + drivers/i2c/Makefile | 1 + drivers/i2c/npcm-i2c.c | 631 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 637 insertions(+) create mode 100644 drivers/i2c/npcm-i2c.c
drivers/i2c/Kconfig +5 -0
@@ -447,6 +447,11 @@ config SYS_I2C_NEXELL have several I2C ports and all are provided, controlled by the device tree. +config SYS_I2C_NPCM + bool "Nuvoton NPCM I2C driver" + help + Support for Nuvoton I2C controller driver. + config SYS_I2C_OCORES bool "ocores I2C driver" depends on DM_I2C
drivers/i2c/Makefile +1 -0
@@ -33,6 +33,7 @@ obj-$(CONFIG_SYS_I2C_MV) += mv_i2c.o obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o obj-$(CONFIG_SYS_I2C_NEXELL) += nx_i2c.o +obj-$(CONFIG_SYS_I2C_NPCM) += npcm_i2c.o obj-$(CONFIG_SYS_I2C_OCORES) += ocores_i2c.o obj-$(CONFIG_SYS_I2C_OCTEON) += octeon_i2c.o obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o
drivers/i2c/npcm-i2c.c new file +631 -0
631 lines not on this page · raw message
Signature · 1 line
2.17.1
Hello Jim,
Quoted 11 lines · Jim Liu
Add Nuvoton BMC NPCM750 i2c driver
Signed-off-by Jim Liu <[email protected]>---
changes for v4:
- remove i2c doc
changes for v3:
- add i2c doc
Changes for v2:
- use debug output in reset function
- use clr/setbits_8
Quoted 6 lines
--- drivers/i2c/Kconfig | 5 + drivers/i2c/Makefile | 1 + drivers/i2c/npcm-i2c.c | 631 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 637 insertions(+) create mode 100644 drivers/i2c/npcm-i2c.c
Reviewed-by Heiko Schocher <[email protected]>
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: [email protected]
Hello Jim,
Quoted 11 lines · Jim Liu
Add Nuvoton BMC NPCM750 i2c driver
Signed-off-by Jim Liu <[email protected]>---
changes for v4:
- remove i2c doc
changes for v3:
- add i2c doc
Changes for v2:
- use debug output in reset function
- use clr/setbits_8
Quoted 6 lines
--- drivers/i2c/Kconfig | 5 + drivers/i2c/Makefile | 1 + drivers/i2c/npcm-i2c.c | 631 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 637 insertions(+) create mode 100644 drivers/i2c/npcm-i2c.c
Applied to u-boot-i2c master
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: [email protected]