Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | From 5566c2a41443e26068fe3a8e4a8e4b0c3a4e8ed6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> |
| 3 | Date: Fri, 14 Jan 2022 14:22:42 +0000 |
| 4 | Subject: [PATCH 26/32] ANDROID: trusty: Modify device compatible string |
| 5 | |
| 6 | Drop smc keyword from device tree node as Trusty can use SMC or FFA |
| 7 | based transport. |
| 8 | |
| 9 | Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> |
| 10 | Change-Id: Id99b52f32a2122434a22f1991c0b4cd52b0676ed |
| 11 | Upstream-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 | |
| 18 | diff --git a/Documentation/devicetree/bindings/trusty/trusty-irq.txt b/Documentation/devicetree/bindings/trusty/trusty-irq.txt |
| 19 | index 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>; |
| 31 | diff --git a/Documentation/devicetree/bindings/trusty/trusty-smc.txt b/Documentation/devicetree/bindings/trusty/trusty-smc.txt |
| 32 | index 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" |
| 41 | diff --git a/drivers/trusty/trusty.c b/drivers/trusty/trusty.c |
| 42 | index 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 | -- |
| 55 | 2.30.2 |
| 56 | |