2018-11-08 13:10:33

by Jerome Brunet

[permalink] [raw]
Subject: [PATCH] arm64: dts: meson-axg: add secure monitor

Add the secure monitor device to the axg platform.
With this, we can read the SoC serial number.

Signed-off-by: Jerome Brunet <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index e0139f174726..3cc0044d3468 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -110,6 +110,10 @@
};
};

+ sm: secure-monitor {
+ compatible = "amlogic,meson-gxbb-sm";
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
--
2.19.1



2018-11-08 14:41:46

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson-axg: add secure monitor

On 08/11/2018 14:07, Jerome Brunet wrote:
> Add the secure monitor device to the axg platform.
> With this, we can read the SoC serial number.
>
> Signed-off-by: Jerome Brunet <[email protected]>
> ---
> arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> index e0139f174726..3cc0044d3468 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> @@ -110,6 +110,10 @@
> };
> };
>
> + sm: secure-monitor {
> + compatible = "amlogic,meson-gxbb-sm";
> + };
> +
> psci {
> compatible = "arm,psci-1.0";
> method = "smc";
>

Reviewed-by: Neil Armstrong <[email protected]>

2018-11-15 19:59:32

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson-axg: add secure monitor

Jerome Brunet <[email protected]> writes:

> Add the secure monitor device to the axg platform.
> With this, we can read the SoC serial number.
>
> Signed-off-by: Jerome Brunet <[email protected]>

Queued for v4.21 with Neil's tag (branch: v4.21/dt64)

Kevin