* [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c
@ 2013-08-23 7:32 Gregory CLEMENT
[not found] ` <1377243174-15877-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Gregory CLEMENT @ 2013-08-23 7:32 UTC (permalink / raw)
To: Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA, Mark Rutland,
devicetree-u79uwXL29TY76Z2rM5mHXA, Jason Cooper, Andrew Lunn,
Gregory CLEMENT
Cc: Thomas Petazzoni, Ezequiel Garcia, Sebastian Hesselbarth,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Nicolas Pitre,
Lior Amsalem, Maen Suleiman, Tawfik Bayouk, Shadi Ammouri,
Eran Ben-Avi, Yehuda Yitschak, Nadav Haklai, Ike Pan,
Chris Van Hoof, Dan Frazier, Leif Lindholm, Jon Masters,
David Marlin
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-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
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@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[parent not found: <1377243174-15877-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>]
* Re: [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c [not found] ` <1377243174-15877-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> @ 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: Gregory CLEMENT Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, Jason Cooper, Andrew Lunn, Thomas Petazzoni, Ezequiel Garcia, Sebastian Hesselbarth, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Nicolas Pitre, Lior Amsalem, Maen Suleiman, Tawfik Bayouk, Shadi Ammouri, Eran Ben-Avi, Yehuda Yitschak, Nadav Haklai, Ike Pan, Chris Van Hoof, Dan Frazier, Leif Lindholm, Jon Masters, David Marlin [-- Attachment #1: Type: text/plain, Size: 502 bytes --] 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-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Applied to for-next, thanks! [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v7] ARM: dts: mvebu: Introduce a new compatible string for mv64xxx-i2c [not found] ` <1377243174-15877-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 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: Gregory CLEMENT Cc: Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jason Cooper, Andrew Lunn, Thomas Petazzoni, Ezequiel Garcia, Sebastian Hesselbarth, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Nicolas Pitre, Lior Amsalem, Maen Suleiman, Tawfik Bayouk, Shadi Ammouri, Eran Ben-Avi, Yehuda Yitschak, Nadav Haklai, Ike Pan, vanhoof-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org, dann.frazier-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org 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-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> > --- > 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@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
* Re: [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: Mark Rutland Cc: Lior Amsalem, Andrew Lunn, Ike Pan, Nadav Haklai, linux-i2c@vger.kernel.org, David Marlin, Yehuda Yitschak, Tawfik Bayouk, dann.frazier@canonical.com, Eran Ben-Avi, Ezequiel Garcia, Leif Lindholm, Sebastian Hesselbarth, devicetree@vger.kernel.org, Jason Cooper, jcm@redhat.com, Gregory CLEMENT, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni, vanhoof [-- Attachment #1.1: Type: text/plain, Size: 227 bytes --] > > + i2c@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! [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 176 bytes --] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ 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
[not found] ` <1377243174-15877-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
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).