All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] i2c-omap: Enable i2c-omap driver for AM654 SoCs
@ 2018-11-09 11:14 ` Vignesh R
  0 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

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

v4:
Add maintainer tag instead of reviewer in patch 3/3.

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(-)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v4 0/3] i2c-omap: Enable i2c-omap driver for AM654 SoCs
@ 2018-11-09 11:14 ` Vignesh R
  0 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

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

v4:
Add maintainer tag instead of reviewer in patch 3/3.

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(-)

-- 
2.19.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v4 1/3] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs
  2018-11-09 11:14 ` Vignesh R
@ 2018-11-09 11:14   ` Vignesh R
  -1 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

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.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 Documentation/devicetree/bindings/i2c/i2c-omap.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-omap.txt b/Documentation/devicetree/bindings/i2c/i2c-omap.txt
index 7e49839d4124..4b90ba9f31b7 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-omap.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-omap.txt
@@ -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>;
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v4 1/3] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs
@ 2018-11-09 11:14   ` Vignesh R
  0 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

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.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 Documentation/devicetree/bindings/i2c/i2c-omap.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-omap.txt b/Documentation/devicetree/bindings/i2c/i2c-omap.txt
index 7e49839d4124..4b90ba9f31b7 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-omap.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-omap.txt
@@ -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>;
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v4 2/3] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3
  2018-11-09 11:14 ` Vignesh R
@ 2018-11-09 11:14   ` Vignesh R
  -1 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

Allow I2C_OMAP to be built for K3 platforms.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 56ccb1ea7da5..77dc94b44011 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -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
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v4 2/3] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3
@ 2018-11-09 11:14   ` Vignesh R
  0 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

Allow I2C_OMAP to be built for K3 platforms.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 56ccb1ea7da5..77dc94b44011 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -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
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v4 3/3] MAINTAINERS: Add entry for i2c-omap driver
  2018-11-09 11:14 ` Vignesh R
@ 2018-11-09 11:14   ` Vignesh R
  -1 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

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

Signed-off-by: Vignesh R <vigneshr@ti.com>
---
 MAINTAINERS | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index c78aca287970..284ffe907b31 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10808,6 +10808,14 @@ L:	linux-omap@vger.kernel.org
 S:	Maintained
 F:	arch/arm/mach-omap2/omap_hwmod.*
 
+OMAP I2C DRIVER
+M:	Vignesh R <vigneshr@ti.com>
+L:	linux-omap@vger.kernel.org
+L:	linux-i2c@vger.kernel.org
+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 <laurent.pinchart@ideasonboard.com>
 L:	linux-media@vger.kernel.org
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v4 3/3] MAINTAINERS: Add entry for i2c-omap driver
@ 2018-11-09 11:14   ` Vignesh R
  0 siblings, 0 replies; 9+ messages in thread
From: Vignesh R @ 2018-11-09 11:14 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

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

Signed-off-by: Vignesh R <vigneshr@ti.com>
---
 MAINTAINERS | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index c78aca287970..284ffe907b31 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10808,6 +10808,14 @@ L:	linux-omap@vger.kernel.org
 S:	Maintained
 F:	arch/arm/mach-omap2/omap_hwmod.*
 
+OMAP I2C DRIVER
+M:	Vignesh R <vigneshr@ti.com>
+L:	linux-omap@vger.kernel.org
+L:	linux-i2c@vger.kernel.org
+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 <laurent.pinchart@ideasonboard.com>
 L:	linux-media@vger.kernel.org
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH v4 0/3] i2c-omap: Enable i2c-omap driver for AM654 SoCs
  2018-11-09 11:14 ` Vignesh R
                   ` (3 preceding siblings ...)
  (?)
@ 2018-11-09 15:58 ` Wolfram Sang
  -1 siblings, 0 replies; 9+ messages in thread
From: Wolfram Sang @ 2018-11-09 15:58 UTC (permalink / raw)
  To: Vignesh R
  Cc: Rob Herring, linux-omap, linux-i2c, devicetree, linux-kernel,
	Tony Lindgren, Grygorii Strashko

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

On Fri, Nov 09, 2018 at 04:44:09PM +0530, Vignesh R wrote:
> Couple of patches to enable i2c-omap driver to be used with TI's new
> AM654 platforms.

Applied to for-current, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-09 15:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 11:14 [PATCH v4 0/3] i2c-omap: Enable i2c-omap driver for AM654 SoCs Vignesh R
2018-11-09 11:14 ` Vignesh R
2018-11-09 11:14 ` [PATCH v4 1/3] dt-bindings: i2c-omap: Add new compatible " Vignesh R
2018-11-09 11:14   ` Vignesh R
2018-11-09 11:14 ` [PATCH v4 2/3] i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3 Vignesh R
2018-11-09 11:14   ` Vignesh R
2018-11-09 11:14 ` [PATCH v4 3/3] MAINTAINERS: Add entry for i2c-omap driver Vignesh R
2018-11-09 11:14   ` Vignesh R
2018-11-09 15:58 ` [PATCH v4 0/3] i2c-omap: Enable i2c-omap driver for AM654 SoCs Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.