Skip to contentSkip to conversation

i2c-omap: Enable i2c-omap driver for AM654 SoCs

PATCH Superseded Vignesh R 3 participants 10 messages Nov 8, 2018 – Nov 9, 2018

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Vignesh R

author
#0 lore raw

v3 cover i2c-omap: Enable i2c-omap driver for AM654 SoCs

Couple of patches to enable i2c-omap driver to be used with TI's new AM654 platforms.

v3:
Rebase onto v4.20-rc1
Collect Reviewed-by's on v2
Add a patch to MAINTAINERS for i2c-omap.c

Vignesh R (3):
dt-bindings: i2c-omap: Add new compatible for AM654 SoCs
i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3
MAINTAINERS: Add entry for i2c-omap driver

 Documentation/devicetree/bindings/i2c/i2c-omap.txt | 8 ++++++--
 MAINTAINERS                                        | 8 ++++++++
 drivers/i2c/busses/Kconfig                         | 2 +-
 3 files changed, 15 insertions(+), 3 deletions(-)
Signature · 1 line
2.19.1
author
#1 lore raw

PATCH v3 1/3 dt-bindings: i2c-omap: Add new compatible for AM654 SoCs

AM654 SoCs have same I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs. While at that reformat the existing compatible list for older SoCs to list one valid compatible per line.

---
 Documentation/devicetree/bindings/i2c/i2c-omap.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/i2c/i2c-omap.txt +6 -2
index 7e49839d4124..4b90ba9f31b7 100644
@@ -1,8 +1,12 @@
 I2C for OMAP platforms
 
 Required properties :
-- compatible : Must be "ti,omap2420-i2c", "ti,omap2430-i2c", "ti,omap3-i2c"
-  or "ti,omap4-i2c"
+- compatible : Must be
+	"ti,omap2420-i2c" for OMAP2420 SoCs
+	"ti,omap2430-i2c" for OMAP2430 SoCs
+	"ti,omap3-i2c" for OMAP3 SoCs
+	"ti,omap4-i2c" for OMAP4+ SoCs
+	"ti,am654-i2c", "ti,omap4-i2c" for AM654 SoCs
 - ti,hwmods : Must be "i2c<n>", n being the instance number (1-based)
 - #address-cells = <1>;
 - #size-cells = <0>;
Signature · 1 line
2.19.1
author
#2 lore raw

PATCH v3 2/3 i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3

In reply to Vignesh R

Allow I2C_OMAP to be built for K3 platforms.

---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
index 56ccb1ea7da5..77dc94b44011 100644
@@ -752,7 +752,7 @@ config I2C_OCORES
 
 config I2C_OMAP
 	tristate "OMAP I2C adapter"
-	depends on ARCH_OMAP
+	depends on ARCH_OMAP || ARCH_K3
 	default y if MACH_OMAP_H3 || MACH_OMAP_OSK
 	help
 	  If you say yes to this option, support will be included for the
Signature · 1 line
2.19.1
author
#3 lore raw

PATCH v3 3/3 MAINTAINERS: Add entry for i2c-omap driver

In reply to Vignesh R

Add separate entry for i2c-omap and add my name as reviewer for this driver.

---
 MAINTAINERS | 8 ++++++++
 1 file changed, 8 insertions(+)
MAINTAINERS +8 -0
index 8d4c874a5d6e..6519eea4813e 100644
@@ -10821,6 +10821,14 @@ L:	[email protected]
 S:	Maintained
 F:	arch/arm/mach-omap2/omap_hwmod.*
 
+OMAP I2C DRIVER
+R:	Vignesh R <[email protected]>
+L:	[email protected]
+L:	[email protected]
+S:	Maintained
+F:	Documentation/devicetree/bindings/i2c/i2c-omap.txt
+F:	drivers/i2c/busses/i2c-omap.c
+
 OMAP IMAGING SUBSYSTEM (OMAP3 ISP and OMAP4 ISS)
 M:	Laurent Pinchart <[email protected]>
 L:	[email protected]
Signature · 1 line
2.19.1
#4 lore raw

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

Quoted 2 lines · Vignesh R

Add separate entry for i2c-omap and add my name as reviewer for this driver.

Thanks for stepping up, yet out of curiosity: why not maintainer?

author
#5 lore raw

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

Quoted 6 lines · Wolfram Sang
Quoted 2 lines · Vignesh R

Add separate entry for i2c-omap and add my name as reviewer for this driver.

Thanks for stepping up, yet out of curiosity: why not maintainer?

I wasn't sure whether the convention is to add Reviewer or Maintainer entry for individual driver. I would be glad to change entry to maintainer.

Signature · 2 lines
Regards
Vignesh
#6 lore raw

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

Quoted 4 lines · Vignesh R
Quoted 1 line · Wolfram Sang

On Thu, Nov 08, 2018 at 02:49:31PM +0530, Vignesh R wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Add separate entry for i2c-omap and add my name as reviewer for this driver.

Thanks for stepping up, yet out of curiosity: why not maintainer?

I wasn't sure whether the convention is to add Reviewer or Maintainer entry for individual driver. I would be glad to change entry to maintainer.

Great, yes please do!

Regards,

Tony

#7 lore raw

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

Quoted 8 lines · Tony Lindgren
Quoted 7 lines · Vignesh R
Quoted 4 lines · Wolfram Sang
Quoted 2 lines · Vignesh R

Add separate entry for i2c-omap and add my name as reviewer for this driver.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Thanks for stepping up, yet out of curiosity: why not maintainer?

I wasn't sure whether the convention is to add Reviewer or Maintainer entry for individual driver. I would be glad to change entry to maintainer.

Great, yes please do!

Cool, thanks all! Tony, I took the liberty to interpret this message as an Acked-by so I could apply V3 of this series right away.

#8 lore raw

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

Quoted 2 lines

Cool, thanks all! Tony, I took the liberty to interpret this message as an Acked-by so I could apply V3 of this series right away.

Doh, v4 I meant. Sorry for the noise.

#9 lore raw

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

Quoted 4 lines · Wolfram Sang
Quoted 2 lines

Cool, thanks all! Tony, I took the liberty to interpret this message as an Acked-by so I could apply V3 of this series right away.

Doh, v4 I meant. Sorry for the noise.

OK

Thanks,

Tony