Re: [PATCH v2] dts: keystone: Use new "ti,keystone-i2c" compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxx>
---

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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux