devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible
@ 2015-09-14  9:07 Alexander Sverdlin
  2015-10-20 15:06 ` Wolfram Sang
  2015-10-21 10:38 ` Grygorii Strashko
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Sverdlin @ 2015-09-14  9:07 UTC (permalink / raw)
  To: Grygorii Strashko, Wolfram Sang,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Now as "i2c-davinci" driver has special handling for Keystone it's time to switch
the device tree to use new "compatible" property. Old one is left for backwards-
compatibility.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
---

Changes in v2:
- As suggested by Mark Rutland, kept the old "compatible" for backwards-
  compatibility

 arch/arm/boot/dts/keystone.dtsi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
index 72816d6..abd7455 100644
--- a/arch/arm/boot/dts/keystone.dtsi
+++ b/arch/arm/boot/dts/keystone.dtsi
@@ -106,7 +106,7 @@
 		};
 
 		i2c0: i2c@2530000 {
-			compatible = "ti,davinci-i2c";
+			compatible = "ti,keystone-i2c", "ti,davinci-i2c";
 			reg = <0x02530000 0x400>;
 			clock-frequency = <100000>;
 			clocks = <&clki2c>;
@@ -116,7 +116,7 @@
 		};
 
 		i2c1: i2c@2530400 {
-			compatible = "ti,davinci-i2c";
+			compatible = "ti,keystone-i2c", "ti,davinci-i2c";
 			reg = <0x02530400 0x400>;
 			clock-frequency = <100000>;
 			clocks = <&clki2c>;
@@ -126,7 +126,7 @@
 		};
 
 		i2c2: i2c@2530800 {
-			compatible = "ti,davinci-i2c";
+			compatible = "ti,keystone-i2c", "ti,davinci-i2c";
 			reg = <0x02530800 0x400>;
 			clock-frequency = <100000>;
 			clocks = <&clki2c>;

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible
  2015-09-14  9:07 [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible Alexander Sverdlin
@ 2015-10-20 15:06 ` Wolfram Sang
  2015-10-20 16:10   ` Grygorii Strashko
  2015-10-21 10:38 ` Grygorii Strashko
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2015-10-20 15:06 UTC (permalink / raw)
  To: Alexander Sverdlin
  Cc: Grygorii Strashko, linux-i2c@vger.kernel.org, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, devicetree

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

On Mon, Sep 14, 2015 at 11:07:02AM +0200, Alexander Sverdlin wrote:
> Now as "i2c-davinci" driver has special handling for Keystone it's time to switch
> the device tree to use new "compatible" property. Old one is left for backwards-
> compatibility.
> 
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>

Shall I take this one or shall it go via the davinci tree?


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible
  2015-10-20 15:06 ` Wolfram Sang
@ 2015-10-20 16:10   ` Grygorii Strashko
  2015-10-21 10:13     ` Sekhar Nori
  0 siblings, 1 reply; 7+ messages in thread
From: Grygorii Strashko @ 2015-10-20 16:10 UTC (permalink / raw)
  To: Wolfram Sang, Alexander Sverdlin, Sekhar Nori
  Cc: linux-i2c@vger.kernel.org, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, devicetree

On 10/20/2015 06:06 PM, Wolfram Sang wrote:
> On Mon, Sep 14, 2015 at 11:07:02AM +0200, Alexander Sverdlin wrote:
>> Now as "i2c-davinci" driver has special handling for Keystone it's time to switch
>> the device tree to use new "compatible" property. Old one is left for backwards-
>> compatibility.
>>
>> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
>
> Shall I take this one or shall it go via the davinci tree?
>

To: Sekhar

-- 
regards,
-grygorii

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible
  2015-10-20 16:10   ` Grygorii Strashko
@ 2015-10-21 10:13     ` Sekhar Nori
       [not found]       ` <56276565.4060505-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Sekhar Nori @ 2015-10-21 10:13 UTC (permalink / raw)
  To: Grygorii Strashko, Wolfram Sang, Alexander Sverdlin
  Cc: linux-i2c@vger.kernel.org, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, devicetree

On Tuesday 20 October 2015 09:40 PM, Grygorii Strashko wrote:
> On 10/20/2015 06:06 PM, Wolfram Sang wrote:
>> On Mon, Sep 14, 2015 at 11:07:02AM +0200, Alexander Sverdlin wrote:
>>> Now as "i2c-davinci" driver has special handling for Keystone it's
>>> time to switch
>>> the device tree to use new "compatible" property. Old one is left for
>>> backwards-
>>> compatibility.
>>>
>>> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
>>
>> Shall I take this one or shall it go via the davinci tree?

I don't have the patch in my mailbox now. But as I remember this is a
driver only patch and should go via i2c tree.

Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible
  2015-09-14  9:07 [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible Alexander Sverdlin
  2015-10-20 15:06 ` Wolfram Sang
@ 2015-10-21 10:38 ` Grygorii Strashko
  2015-10-21 16:42   ` santosh.shilimkar
  1 sibling, 1 reply; 7+ messages in thread
From: Grygorii Strashko @ 2015-10-21 10:38 UTC (permalink / raw)
  To: Alexander Sverdlin, Wolfram Sang, linux-i2c@vger.kernel.org,
	Santosh Shilimkar
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree, Murali Karicheri, Sekhar Nori

On 09/14/2015 12:07 PM, Alexander Sverdlin wrote:
> Now as "i2c-davinci" driver has special handling for Keystone it's time to switch
> the device tree to use new "compatible" property. Old one is left for backwards-
> compatibility.
>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
> ---

To: Santosh
Cc: Murali, Sekhar

Seems this patch is Keystone 2 specific.

>
> Changes in v2:
> - As suggested by Mark Rutland, kept the old "compatible" for backwards-
>    compatibility
>
>   arch/arm/boot/dts/keystone.dtsi |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
> index 72816d6..abd7455 100644
> --- a/arch/arm/boot/dts/keystone.dtsi
> +++ b/arch/arm/boot/dts/keystone.dtsi
> @@ -106,7 +106,7 @@
>   		};
>
>   		i2c0: i2c@2530000 {
> -			compatible = "ti,davinci-i2c";
> +			compatible = "ti,keystone-i2c", "ti,davinci-i2c";
>   			reg = <0x02530000 0x400>;
>   			clock-frequency = <100000>;
>   			clocks = <&clki2c>;
> @@ -116,7 +116,7 @@
>   		};
>
>   		i2c1: i2c@2530400 {
> -			compatible = "ti,davinci-i2c";
> +			compatible = "ti,keystone-i2c", "ti,davinci-i2c";
>   			reg = <0x02530400 0x400>;
>   			clock-frequency = <100000>;
>   			clocks = <&clki2c>;
> @@ -126,7 +126,7 @@
>   		};
>
>   		i2c2: i2c@2530800 {
> -			compatible = "ti,davinci-i2c";
> +			compatible = "ti,keystone-i2c", "ti,davinci-i2c";
>   			reg = <0x02530800 0x400>;
>   			clock-frequency = <100000>;
>   			clocks = <&clki2c>;
>


-- 
regards,
-grygorii

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible
       [not found]       ` <56276565.4060505-l0cyMroinI0@public.gmane.org>
@ 2015-10-21 11:33         ` Alexander Sverdlin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Sverdlin @ 2015-10-21 11:33 UTC (permalink / raw)
  To: EXT Sekhar Nori, Grygorii Strashko, Wolfram Sang
  Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Hi!

On 21/10/15 12:13, EXT Sekhar Nori wrote:
>>>> Now as "i2c-davinci" driver has special handling for Keystone it's
>>>> >>> time to switch
>>>> >>> the device tree to use new "compatible" property. Old one is left for
>>>> >>> backwards-
>>>> >>> compatibility.
>>>> >>>
>>>> >>> Signed-off-by: Alexander Sverdlin <alexander.sverdlin-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
>>> >>
>>> >> Shall I take this one or shall it go via the davinci tree?
> I don't have the patch in my mailbox now. But as I remember this is a

You can review it here:
http://patchwork.ozlabs.org/patch/517321/

> driver only patch and should go via i2c tree.

It's a DT change, because we agreed (with Grygorii) that new "compatible" is more
future proof.

-- 
Best regards,
Alexander Sverdlin.
Sent from my pdp-11
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible
  2015-10-21 10:38 ` Grygorii Strashko
@ 2015-10-21 16:42   ` santosh.shilimkar
  0 siblings, 0 replies; 7+ messages in thread
From: santosh.shilimkar @ 2015-10-21 16:42 UTC (permalink / raw)
  To: Grygorii Strashko, Alexander Sverdlin, Wolfram Sang,
	linux-i2c@vger.kernel.org, Santosh Shilimkar
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree, Murali Karicheri, Sekhar Nori

On 10/21/15 3:38 AM, Grygorii Strashko wrote:
> On 09/14/2015 12:07 PM, Alexander Sverdlin wrote:
>> Now as "i2c-davinci" driver has special handling for Keystone it's
>> time to switch
>> the device tree to use new "compatible" property. Old one is left for
>> backwards-
>> compatibility.
>>
>> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
>> ---
>
Will pick it up. Thanks !!

Regards,
Santosh

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-21 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14  9:07 [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible Alexander Sverdlin
2015-10-20 15:06 ` Wolfram Sang
2015-10-20 16:10   ` Grygorii Strashko
2015-10-21 10:13     ` Sekhar Nori
     [not found]       ` <56276565.4060505-l0cyMroinI0@public.gmane.org>
2015-10-21 11:33         ` Alexander Sverdlin
2015-10-21 10:38 ` Grygorii Strashko
2015-10-21 16:42   ` santosh.shilimkar

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).