Thread (2 messages) flat view 2 messages, 2 authors, 2014-03-09

[PATCH 1/4] ARM: dts: keystone: update for supporting K2L/K2E EVMs

From: Olof Johansson <hidden>
Date: 2014-03-09 05:39:24
Also in: linux-devicetree

On Tue, Feb 25, 2014 at 04:50:32PM -0500, Santosh Shilimkar wrote:
quoted hunk
From: Murali Karicheri <redacted>

This patch add compatibility strings for k2hk, k2l and k2e EVMs

Cc: Olof Johansson <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Kumar Gala <redacted>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Murali Karicheri <redacted>
Signed-off-by: Santosh Shilimkar <redacted>
---
 .../devicetree/bindings/arm/keystone/keystone.txt  |   10 ++++++++++
 arch/arm/mach-keystone/keystone.c                  |    3 +++
 2 files changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/keystone/keystone.txt b/Documentation/devicetree/bindings/arm/keystone/keystone.txt
index 63c0e6a..ad16e7a 100644
--- a/Documentation/devicetree/bindings/arm/keystone/keystone.txt
+++ b/Documentation/devicetree/bindings/arm/keystone/keystone.txt
@@ -8,3 +8,13 @@ Required properties:
  - compatible: All TI specific devices present in Keystone SOC should be in
    the form "ti,keystone-*". Generic devices like gic, arch_timers, ns16550
    type UART should use the specified compatible for those devices.
+
+Boards:
+-  Keystone 2 Hawking/Kepler EVM
+   compatible = "ti,k2hk-evm"
+
+-  Keystone 2 Lamarr EVM
+   compatible = "ti,k2l-evm"
Your previous email said Lammar. One, or maybe both, are wrong, but which one?
quoted hunk
+
+-  Keystone 2 Edison EVM
+   compatible = "ti,k2e-evm"
diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index 6e6bb7d..aa0d212 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -47,6 +47,9 @@ static void __init keystone_init(void)
 
 static const char *keystone_match[] __initconst = {
 	"ti,keystone-evm",
+	"ti,k2hk-evm",
+	"ti,k2l-evm",
+	"ti,k2e-evm",
-evm indicate board-level compat fields. We'd be better off just keeping a
"ti,keystone" top-level compatible here and just using that to probe. That
way you don't have to touch the file for new boards in the future.


-Olof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help