blob: 8fd1c7ced2f840cebb45e72684c59b78e20694ab [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001From 5566c2a41443e26068fe3a8e4a8e4b0c3a4e8ed6 Mon Sep 17 00:00:00 2001
2From: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
3Date: Fri, 14 Jan 2022 14:22:42 +0000
4Subject: [PATCH 26/32] ANDROID: trusty: Modify device compatible string
5
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]
12---
13 Documentation/devicetree/bindings/trusty/trusty-irq.txt | 2 +-
14 Documentation/devicetree/bindings/trusty/trusty-smc.txt | 2 +-
15 drivers/trusty/trusty.c | 2 +-
16 3 files changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/Documentation/devicetree/bindings/trusty/trusty-irq.txt b/Documentation/devicetree/bindings/trusty/trusty-irq.txt
19index cbb545ad452b..ae02030be4e7 100644
20--- a/Documentation/devicetree/bindings/trusty/trusty-irq.txt
21+++ b/Documentation/devicetree/bindings/trusty/trusty-irq.txt
22@@ -48,7 +48,7 @@ Example:
23 };
24 ...
25 trusty {
26- compatible = "android,trusty-smc-v1";
27+ compatible = "android,trusty-v1";
28 ranges;
29 #address-cells = <2>;
30 #size-cells = <2>;
31diff --git a/Documentation/devicetree/bindings/trusty/trusty-smc.txt b/Documentation/devicetree/bindings/trusty/trusty-smc.txt
32index 1b39ad317c67..8d02a31ba814 100644
33--- a/Documentation/devicetree/bindings/trusty/trusty-smc.txt
34+++ b/Documentation/devicetree/bindings/trusty/trusty-smc.txt
35@@ -3,4 +3,4 @@ Trusty smc interface
36 Trusty is running in secure mode on the same (arm) cpu(s) as the current os.
37
38 Required properties:
39-- compatible: "android,trusty-smc-v1"
40+- compatible: "android,trusty-v1"
41diff --git a/drivers/trusty/trusty.c b/drivers/trusty/trusty.c
42index 0486827a45ca..757dd7b2c527 100644
43--- a/drivers/trusty/trusty.c
44+++ b/drivers/trusty/trusty.c
45@@ -615,7 +615,7 @@ static int trusty_remove(struct platform_device *pdev)
46 }
47
48 static const struct of_device_id trusty_of_match[] = {
49- { .compatible = "android,trusty-smc-v1", },
50+ { .compatible = "android,trusty-v1", },
51 {},
52 };
53
54--
552.30.2
56