* [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c
@ 2013-08-23 7:32 Gregory CLEMENT
2013-08-23 8:09 ` Wolfram Sang
2013-08-23 17:04 ` Mark Rutland
0 siblings, 2 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2013-08-23 7:32 UTC (permalink / raw)
To: linux-arm-kernel
The mv64xxx-i2c embedded in the Armada XP have a new feature to
offload i2c transaction. This new version of the IP come also with
some errata. This lead to the introduction to a another compatible
string.
This commit updates the Device Tree binding documentation accordingly.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
Changelog v6 -> v7:
- only keep "marvell,mv7230-i2c" for compatible name
- replace "For a controller which support the I2C Transaction
Generator" by "For the Armada XP" in the examples
Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt b/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
index 6113f92..73cdc03 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
@@ -5,6 +5,7 @@ Required properties :
- reg : Offset and length of the register set for the device
- compatible : Should be "marvell,mv64xxx-i2c" or "allwinner,sun4i-i2c"
+ or "marvell,mv7230-i2c"
- interrupts : The interrupt number
Optional properties :
@@ -20,3 +21,12 @@ Examples:
interrupts = <29>;
clock-frequency = <100000>;
};
+
+For the Armada XP:
+
+ i2c at 11000 {
+ compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
+ reg = <0x11000 0x100>;
+ interrupts = <29>;
+ clock-frequency = <100000>;
+ };
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c
2013-08-23 7:32 [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c Gregory CLEMENT
@ 2013-08-23 8:09 ` Wolfram Sang
2013-08-23 17:04 ` Mark Rutland
1 sibling, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2013-08-23 8:09 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 23, 2013 at 09:32:54AM +0200, Gregory CLEMENT wrote:
> The mv64xxx-i2c embedded in the Armada XP have a new feature to
> offload i2c transaction. This new version of the IP come also with
> some errata. This lead to the introduction to a another compatible
> string.
>
> This commit updates the Device Tree binding documentation accordingly.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130823/ed1612ea/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c
2013-08-23 7:32 [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c Gregory CLEMENT
2013-08-23 8:09 ` Wolfram Sang
@ 2013-08-23 17:04 ` Mark Rutland
2013-08-23 18:11 ` Wolfram Sang
1 sibling, 1 reply; 4+ messages in thread
From: Mark Rutland @ 2013-08-23 17:04 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 23, 2013 at 08:32:54AM +0100, Gregory CLEMENT wrote:
> The mv64xxx-i2c embedded in the Armada XP have a new feature to
> offload i2c transaction. This new version of the IP come also with
> some errata. This lead to the introduction to a another compatible
> string.
>
> This commit updates the Device Tree binding documentation accordingly.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
> Changelog v6 -> v7:
>
> - only keep "marvell,mv7230-i2c" for compatible name
>
> - replace "For a controller which support the I2C Transaction
> Generator" by "For the Armada XP" in the examples
>
> Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt b/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
> index 6113f92..73cdc03 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
> +++ b/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
> @@ -5,6 +5,7 @@ Required properties :
>
> - reg : Offset and length of the register set for the device
> - compatible : Should be "marvell,mv64xxx-i2c" or "allwinner,sun4i-i2c"
> + or "marvell,mv7230-i2c"
Ok, the new string looks sane, so I'm not opposed to that.
> - interrupts : The interrupt number
>
> Optional properties :
> @@ -20,3 +21,12 @@ Examples:
> interrupts = <29>;
> clock-frequency = <100000>;
> };
> +
> +For the Armada XP:
> +
> + i2c at 11000 {
> + compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
^ That '8' shouldn't be there.
> + reg = <0x11000 0x100>;
> + interrupts = <29>;
> + clock-frequency = <100000>;
> + };
Thanks,
Mark.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c
2013-08-23 17:04 ` Mark Rutland
@ 2013-08-23 18:11 ` Wolfram Sang
0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2013-08-23 18:11 UTC (permalink / raw)
To: linux-arm-kernel
> > + i2c at 11000 {
> > + compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
> ^ That '8' shouldn't be there.
Oops, well, precisely the '8' is missing above. Fixed it, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130823/1dc1eaa9/attachment-0001.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-23 18:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23 7:32 [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c Gregory CLEMENT
2013-08-23 8:09 ` Wolfram Sang
2013-08-23 17:04 ` Mark Rutland
2013-08-23 18:11 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).