RE: [PATCH] arm64: dts: ls1028a-rdb: enable optee node

Sahil Malhotra (OSS)
2021-04-14T08:51:18Z

Hi Shawn, Michael,

Just a friendly reminder to have a look at this patch.

Regards,
Sahil Malhotra

-----Original Message-----
From: Sahil Malhotra <sahil.malhotra@oss.nxp.com>
Sent: Tuesday, March 30, 2021 8:20 PM
To: shawnguo@kernel.org
Cc: Sahil Malhotra (OSS) <sahil.malhotra@oss.nxp.com>; Sahil Malhotra <sahil.malhotra@nxp.com>; Michael Walle <michael@walle.cc>; Leo Li <leoyang.li@nxp.com>; Rob Herring <robh+dt@kernel.org>; moderated list:ARM/FREESCALE LAYERSCAPE ARM ARCHITECTURE <linux-arm-kernel@lists.infradead.org>; open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS <devicetree@vger.kernel.org>; open list <linux-kernel@vger.kernel.org>
Subject: [PATCH] arm64: dts: ls1028a-rdb: enable optee node

From: Sahil Malhotra <sahil.malhotra@nxp.com>

optee node was disabled by default, enabling it for ls1028a-rdb.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 ++++
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
index 41ae6e7675ba..1bdf0104d492 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
@@ -274,6 +274,10 @@
status = "okay";
};

+&optee {
+ status = "okay";
+};
+
&sai4 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 262fbad8f0ec..fb155ac192b1 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -92,7 +92,7 @@
};

firmware {
- optee {
+ optee: optee {
compatible = "linaro,optee-tz";
method = "smc";
status = "disabled";
--
2.17.1