blob: 7db4c84209de07665442e19604c4bd275532c2f4 [file] [log] [blame]
Patrick Williams2194f502022-10-16 14:26:09 -05001From d022d0c3c6cadacf8a3a5fd2bb42c465834eef26 Mon Sep 17 00:00:00 2001
Brad Bishopbec4ebc2022-08-03 09:55:16 -04002From: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
3Date: Fri, 14 Jan 2022 14:22:42 +0000
Patrick Williams2194f502022-10-16 14:26:09 -05004Subject: [PATCH 31/40] ANDROID: trusty: Modify device compatible string
Brad Bishopbec4ebc2022-08-03 09:55:16 -04005
6Drop smc keyword from device tree node as Trusty can use SMC or FFA
7based transport.
8
9Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
10Change-Id: Id99b52f32a2122434a22f1991c0b4cd52b0676ed
11Upstream-Status: Pending [Not submitted to upstream yet]
Patrick Williams2194f502022-10-16 14:26:09 -050012Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com
Brad Bishopbec4ebc2022-08-03 09:55:16 -040013---
14 Documentation/devicetree/bindings/trusty/trusty-irq.txt | 2 +-
15 Documentation/devicetree/bindings/trusty/trusty-smc.txt | 2 +-
16 drivers/trusty/trusty.c | 2 +-
17 3 files changed, 3 insertions(+), 3 deletions(-)
18
19diff --git a/Documentation/devicetree/bindings/trusty/trusty-irq.txt b/Documentation/devicetree/bindings/trusty/trusty-irq.txt
20index cbb545ad452b..ae02030be4e7 100644
21--- a/Documentation/devicetree/bindings/trusty/trusty-irq.txt
22+++ b/Documentation/devicetree/bindings/trusty/trusty-irq.txt
23@@ -48,7 +48,7 @@ Example:
24 };
25 ...
26 trusty {
27- compatible = "android,trusty-smc-v1";
28+ compatible = "android,trusty-v1";
29 ranges;
30 #address-cells = <2>;
31 #size-cells = <2>;
32diff --git a/Documentation/devicetree/bindings/trusty/trusty-smc.txt b/Documentation/devicetree/bindings/trusty/trusty-smc.txt
33index 1b39ad317c67..8d02a31ba814 100644
34--- a/Documentation/devicetree/bindings/trusty/trusty-smc.txt
35+++ b/Documentation/devicetree/bindings/trusty/trusty-smc.txt
36@@ -3,4 +3,4 @@ Trusty smc interface
37 Trusty is running in secure mode on the same (arm) cpu(s) as the current os.
38
39 Required properties:
40-- compatible: "android,trusty-smc-v1"
41+- compatible: "android,trusty-v1"
42diff --git a/drivers/trusty/trusty.c b/drivers/trusty/trusty.c
43index 0486827a45ca..757dd7b2c527 100644
44--- a/drivers/trusty/trusty.c
45+++ b/drivers/trusty/trusty.c
46@@ -615,7 +615,7 @@ static int trusty_remove(struct platform_device *pdev)
47 }
48
49 static const struct of_device_id trusty_of_match[] = {
50- { .compatible = "android,trusty-smc-v1", },
51+ { .compatible = "android,trusty-v1", },
52 {},
53 };
54
55--
Patrick Williams2194f502022-10-16 14:26:09 -0500562.34.1
Brad Bishopbec4ebc2022-08-03 09:55:16 -040057