OSDN Git Service

ARM: dts: keystone: use common "ti,keystone" compatible instead of -evm
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Thu, 20 Mar 2014 21:00:27 +0000 (17:00 -0400)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 20 Mar 2014 21:00:27 +0000 (17:00 -0400)
As suggested by Olof Johansson at
http://www.spinics.net/lists/arm-kernel/msg314009.html.
It be better just keeping a "ti,keystone" top-level compatible and
just using that to probe. If so we don't have to touch the file
for new boards in the future.

So use common "ti,keystone" compatible in keystone.c for all boards.

Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Documentation/devicetree/bindings/arm/keystone/keystone.txt
arch/arm/boot/dts/k2e-evm.dts
arch/arm/boot/dts/k2hk-evm.dts
arch/arm/boot/dts/k2l-evm.dts
arch/arm/mach-keystone/keystone.c

index ad16e7a..59d7a46 100644 (file)
@@ -11,10 +11,10 @@ Required properties:
 
 Boards:
 -  Keystone 2 Hawking/Kepler EVM
-   compatible = "ti,k2hk-evm"
+   compatible = "ti,k2hk-evm","ti,keystone"
 
 -  Keystone 2 Lamarr EVM
-   compatible = "ti,k2l-evm"
+   compatible = "ti,k2l-evm","ti,keystone"
 
 -  Keystone 2 Edison EVM
-   compatible = "ti,k2e-evm"
+   compatible = "ti,k2e-evm","ti,keystone"
index bb8faeb..74b3b63 100644 (file)
@@ -13,7 +13,7 @@
 #include "k2e.dtsi"
 
 / {
-       compatible =  "ti,k2e-evm";
+       compatible =  "ti,k2e-evm","ti,keystone";
        model = "Texas Instruments Keystone 2 Edison EVM";
 
        soc {
index 949ef7d..c93d06f 100644 (file)
@@ -13,7 +13,7 @@
 #include "k2hk.dtsi"
 
 / {
-       compatible =  "ti,k2hk-evm";
+       compatible =  "ti,k2hk-evm","ti,keystone";
        model = "Texas Instruments Keystone 2 Kepler/Hawking EVM";
 
        soc {
index ebf316a..50a7013 100644 (file)
@@ -13,7 +13,7 @@
 #include "k2l.dtsi"
 
 / {
-       compatible =  "ti,k2l-evm";
+       compatible =  "ti,k2l-evm","ti,keystone";
        model = "Texas Instruments Keystone 2 Lamarr EVM";
 
        soc {
index aa0d212..e0b9e1b 100644 (file)
@@ -46,10 +46,7 @@ static void __init keystone_init(void)
 }
 
 static const char *keystone_match[] __initconst = {
-       "ti,keystone-evm",
-       "ti,k2hk-evm",
-       "ti,k2l-evm",
-       "ti,k2e-evm",
+       "ti,keystone",
        NULL,
 };