i2c: imx: use exact SoC revision document binding
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.
Signed-off-by Jingchang Lu <[email protected]>
--- Documentation/devicetree/bindings/i2c/i2c-imx.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i2c/i2c-imx.txt +4 -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 + - "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
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.
Signed-off-by Jingchang Lu <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-imx.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/i2c/i2c-imx.txt +0
-0
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 interruptSignature · 1 line
1.8.0