Skip to contentSkip to conversation

i2c: imx: use exact SoC revision document binding

PATCH Superseded Jingchang Lu 2 participants 2 messages Aug 20, 2013 – Aug 21, 2013

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: imx: use exact SoC revision document binding

use exact SoC revision instead of wildcard describing the compatible property requirement in the binding document. This will make the binding more clearer.

---
 Documentation/devicetree/bindings/i2c/i2c-imx.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i2c/i2c-imx.txt +4 -1
index 3614242..4e7282d 100644
@@ -1,7 +1,10 @@
 * Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX
 
 Required properties:
-- compatible : Should be "fsl,<chip>-i2c"
+- compatible :
+  - "fsl,imx1-i2c" for I2C used similar to that on i.MX1 SoC
+  - "fsl,imx21-i2c" for I2C used similar to that on i.MX21 SoC
+  - "fsl,vf610-i2c" for I2C used similar to that on Vybrid vf610 SoC
 - reg : Should contain I2C/HS-I2C registers location and length
 - interrupts : Should contain I2C/HS-I2C interrupt
 
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 i2c: imx: use exact SoC revision document binding

Quoted 14 lines · Jingchang Lu

use exact SoC revision instead of wildcard describing the compatible property requirement in the binding document. This will make the binding more clearer.

---
 Documentation/devicetree/bindings/i2c/i2c-imx.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i2c/i2c-imx.txt +0 -0
index 3614242..4e7282d 100644

Documentation/devicetree/bindings/i2c/i2c-imx.txt line 5

Quoted 6 lines
Documentation/devicetree/bindings/i2c/i2c-imx.txt +2 -1
@@ -1,7 +1,10 @@
 * Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX
 
 Required properties:
-- compatible : Should be "fsl,<chip>-i2c"
+- compatible :
+  - "fsl,imx1-i2c" for I2C used similar to that on i.MX1 SoC

Would it be any better to word it like "for I2C compatible with the one integrated on i.MX1 SoC".

Shawn

Quoted 9 lines
Documentation/devicetree/bindings/i2c/i2c-imx.txt +2 -0
+  - "fsl,imx21-i2c" for I2C used similar to that on i.MX21 SoC
+  - "fsl,vf610-i2c" for I2C used similar to that on Vybrid vf610 SoC
 - reg : Should contain I2C/HS-I2C registers location and length
 - interrupts : Should contain I2C/HS-I2C interrupt
 
Signature · 1 line
1.8.0