i2c-omap: Enable i2c-omap driver for AM654 SoCs
Subsystems (2)
PATCH 2/2 i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3
In reply to Vignesh RAllow 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
@@ -751,7 +751,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.0
PATCH 1/2 dt-bindings: i2c-omap: Add new compatible for AM654 SoCs
In reply to Vignesh RAM654 SoCs have similar I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs.
--- Documentation/devicetree/bindings/i2c/i2c-omap.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i2c/i2c-omap.txt +2 -1
@@ -2,7 +2,8 @@ I2C for OMAP platforms Required properties : - compatible : Must be "ti,omap2420-i2c", "ti,omap2430-i2c", "ti,omap3-i2c" - or "ti,omap4-i2c" + or "ti,omap4-i2c" for OMAP2+ SoCs +- compatible : Must "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.0
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.
Vignesh R (2):
dt-bindings: i2c-omap: Add new compatible for AM654 SoCs
i2c: busses: Kconfig: Enable I2C_OMAP for ARCH_K3
Documentation/devicetree/bindings/i2c/i2c-omap.txt | 1 + drivers/i2c/busses/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.0
Re: [PATCH 1/2] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs
In reply to Vignesh RQuoted 13 lines · Vignesh R
AM654 SoCs have similar I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs.
Signed-off-by Vignesh R <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-omap.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/i2c/i2c-omap.txt +0
-0
Documentation/devicetree/bindings/i2c/i2c-omap.txt I2C for OMAP platforms · line 6
Quoted 6 lines
Documentation/devicetree/bindings/i2c/i2c-omap.txt +2
-1@@ -2,7 +2,8 @@ I2C for OMAP platforms Required properties : - compatible : Must be "ti,omap2420-i2c", "ti,omap2430-i2c", "ti,omap3-i2c" - or "ti,omap4-i2c" + or "ti,omap4-i2c" for OMAP2+ SoCs +- compatible : Must "ti,am654-i2c", "ti,omap4-i2c" for AM654 SoCs
^
beAlso, it looks bad with two 'compatible' entries in the properties list. I think the trend is to list one valid compatible (plus fallbacks) per line. So, you should consider reformatting, possibly like so:
- compatible : Must be one of
"ti,omap2420-i2c"
"ti,omap2430-i2c"
"ti,omap3-i2c"
"ti,omap4-i2c"
"ti,am654-i2c", "ti,omap4-i2c"Cheers,
Peter
Quoted 4 lines
Documentation/devicetree/bindings/i2c/i2c-omap.txt +0
-0- ti,hwmods : Must be "i2c<n>", n being the instance number (1-based) - #address-cells = <1>; - #size-cells = <0>;
Re: [PATCH 1/2] dt-bindings: i2c-omap: Add new compatible for AM654 SoCs
Quoted 27 lines · Peter Rosin
Quoted 13 lines · Vignesh R
AM654 SoCs have similar I2C IP as OMAP SoCs. Add new compatible to handle AM654 SoCs.
Signed-off-by Vignesh R <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-omap.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/i2c/i2c-omap.txt +0
-0Documentation/devicetree/bindings/i2c/i2c-omap.txt I2C for OMAP platforms · line 6
Quoted 6 lines
Documentation/devicetree/bindings/i2c/i2c-omap.txt +2
-1@@ -2,7 +2,8 @@ I2C for OMAP platforms Required properties : - compatible : Must be "ti,omap2420-i2c", "ti,omap2430-i2c", "ti,omap3-i2c" - or "ti,omap4-i2c" + or "ti,omap4-i2c" for OMAP2+ SoCs +- compatible : Must "ti,am654-i2c", "ti,omap4-i2c" for AM654 SoCs^ beAlso, it looks bad with two 'compatible' entries in the properties list. I think the trend is to list one valid compatible (plus fallbacks) per line. So, you should consider reformatting, possibly like so:
Quoted 7 lines
- compatible : Must be one of
"ti,omap2420-i2c" "ti,omap2430-i2c" "ti,omap3-i2c" "ti,omap4-i2c" "ti,am654-i2c", "ti,omap4-i2c"
I have sent v2 with these changes. Thanks for the review!
Signature · 2 lines
Regards Vignesh