* [PATCH 0/2] arm64: dts: meson: g12a: add secure monitor and efuse
@ 2019-03-15 13:42 ` Jerome Brunet
0 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: Jerome Brunet, devicetree, linux-arm-kernel, linux-amlogic,
linux-kernel
This patchset adds the secure monitor and efuse to the g12a SoC family.
These are sent together because the secure monitor is required for the
efuse driver to work properly. This is probably something the bindings
should show but it was not designed that way when the secure monitor was
introduced ... something to look at someday.
Jerome Brunet (2):
arm64: dts: meson: g12a: add secure monitor
arm64: dts: meson: g12a: add efuse
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
--
2.20.1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 0/2] arm64: dts: meson: g12a: add secure monitor and efuse
@ 2019-03-15 13:42 ` Jerome Brunet
0 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel,
Jerome Brunet
This patchset adds the secure monitor and efuse to the g12a SoC family.
These are sent together because the secure monitor is required for the
efuse driver to work properly. This is probably something the bindings
should show but it was not designed that way when the secure monitor was
introduced ... something to look at someday.
Jerome Brunet (2):
arm64: dts: meson: g12a: add secure monitor
arm64: dts: meson: g12a: add efuse
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/2] arm64: dts: meson: g12a: add secure monitor
2019-03-15 13:42 ` Jerome Brunet
(?)
@ 2019-03-15 13:42 ` Jerome Brunet
-1 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel,
Jerome Brunet
Add the interface to the secure monitor on g12a
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 31ddf9444b3e..92ee8c895ba6 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -72,6 +72,10 @@
};
};
+ sm: secure-monitor {
+ compatible = "amlogic,meson-gxbb-sm";
+ };
+
soc {
compatible = "simple-bus";
#address-cells = <2>;
--
2.20.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 1/2] arm64: dts: meson: g12a: add secure monitor
@ 2019-03-15 13:42 ` Jerome Brunet
0 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: Jerome Brunet, devicetree, linux-arm-kernel, linux-amlogic,
linux-kernel
Add the interface to the secure monitor on g12a
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 31ddf9444b3e..92ee8c895ba6 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -72,6 +72,10 @@
};
};
+ sm: secure-monitor {
+ compatible = "amlogic,meson-gxbb-sm";
+ };
+
soc {
compatible = "simple-bus";
#address-cells = <2>;
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 1/2] arm64: dts: meson: g12a: add secure monitor
@ 2019-03-15 13:42 ` Jerome Brunet
0 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel,
Jerome Brunet
Add the interface to the secure monitor on g12a
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 31ddf9444b3e..92ee8c895ba6 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -72,6 +72,10 @@
};
};
+ sm: secure-monitor {
+ compatible = "amlogic,meson-gxbb-sm";
+ };
+
soc {
compatible = "simple-bus";
#address-cells = <2>;
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/2] arm64: dts: meson: g12a: add efuse
2019-03-15 13:42 ` Jerome Brunet
(?)
@ 2019-03-15 13:42 ` Jerome Brunet
-1 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel,
Jerome Brunet
Add the g12a SoC efuse device
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 92ee8c895ba6..dcc821cf35bb 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -4,6 +4,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/clock/g12a-clkc.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -55,6 +56,14 @@
};
};
+ efuse: efuse {
+ compatible = "amlogic,meson-gxbb-efuse";
+ clocks = <&clkc CLKID_EFUSE>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ read-only;
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
--
2.20.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 2/2] arm64: dts: meson: g12a: add efuse
@ 2019-03-15 13:42 ` Jerome Brunet
0 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: Jerome Brunet, devicetree, linux-arm-kernel, linux-amlogic,
linux-kernel
Add the g12a SoC efuse device
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 92ee8c895ba6..dcc821cf35bb 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -4,6 +4,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/clock/g12a-clkc.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -55,6 +56,14 @@
};
};
+ efuse: efuse {
+ compatible = "amlogic,meson-gxbb-efuse";
+ clocks = <&clkc CLKID_EFUSE>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ read-only;
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 2/2] arm64: dts: meson: g12a: add efuse
@ 2019-03-15 13:42 ` Jerome Brunet
0 siblings, 0 replies; 13+ messages in thread
From: Jerome Brunet @ 2019-03-15 13:42 UTC (permalink / raw)
To: Kevin Hilman
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel,
Jerome Brunet
Add the g12a SoC efuse device
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 92ee8c895ba6..dcc821cf35bb 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -4,6 +4,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/clock/g12a-clkc.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -55,6 +56,14 @@
};
};
+ efuse: efuse {
+ compatible = "amlogic,meson-gxbb-efuse";
+ clocks = <&clkc CLKID_EFUSE>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ read-only;
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 0/2] arm64: dts: meson: g12a: add secure monitor and efuse
2019-03-15 13:42 ` Jerome Brunet
(?)
(?)
@ 2019-03-15 20:45 ` Kevin Hilman
-1 siblings, 0 replies; 13+ messages in thread
From: Kevin Hilman @ 2019-03-15 20:45 UTC (permalink / raw)
To: Jerome Brunet
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel,
Jerome Brunet
Jerome Brunet <jbrunet@baylibre.com> writes:
> This patchset adds the secure monitor and efuse to the g12a SoC family.
> These are sent together because the secure monitor is required for the
> efuse driver to work properly. This is probably something the bindings
> should show but it was not designed that way when the secure monitor was
> introduced ... something to look at someday.
Queued for v5.2 (branch: v5.2/dt64)
Thanks,
Kevin
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 0/2] arm64: dts: meson: g12a: add secure monitor and efuse
@ 2019-03-15 20:45 ` Kevin Hilman
0 siblings, 0 replies; 13+ messages in thread
From: Kevin Hilman @ 2019-03-15 20:45 UTC (permalink / raw)
To: Jerome Brunet
Cc: Jerome Brunet, devicetree, linux-arm-kernel, linux-amlogic,
linux-kernel
Jerome Brunet <jbrunet@baylibre.com> writes:
> This patchset adds the secure monitor and efuse to the g12a SoC family.
> These are sent together because the secure monitor is required for the
> efuse driver to work properly. This is probably something the bindings
> should show but it was not designed that way when the secure monitor was
> introduced ... something to look at someday.
Queued for v5.2 (branch: v5.2/dt64)
Thanks,
Kevin
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 0/2] arm64: dts: meson: g12a: add secure monitor and efuse
@ 2019-03-15 20:45 ` Kevin Hilman
0 siblings, 0 replies; 13+ messages in thread
From: Kevin Hilman @ 2019-03-15 20:45 UTC (permalink / raw)
Cc: Jerome Brunet, devicetree, linux-arm-kernel, linux-amlogic,
linux-kernel
Jerome Brunet <jbrunet@baylibre.com> writes:
> This patchset adds the secure monitor and efuse to the g12a SoC family.
> These are sent together because the secure monitor is required for the
> efuse driver to work properly. This is probably something the bindings
> should show but it was not designed that way when the secure monitor was
> introduced ... something to look at someday.
Queued for v5.2 (branch: v5.2/dt64)
Thanks,
Kevin
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 0/2] arm64: dts: meson: g12a: add secure monitor and efuse
@ 2019-03-15 20:45 ` Kevin Hilman
0 siblings, 0 replies; 13+ messages in thread
From: Kevin Hilman @ 2019-03-15 20:45 UTC (permalink / raw)
To: Jerome Brunet
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel,
Jerome Brunet
Jerome Brunet <jbrunet@baylibre.com> writes:
> This patchset adds the secure monitor and efuse to the g12a SoC family.
> These are sent together because the secure monitor is required for the
> efuse driver to work properly. This is probably something the bindings
> should show but it was not designed that way when the secure monitor was
> introduced ... something to look at someday.
Queued for v5.2 (branch: v5.2/dt64)
Thanks,
Kevin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 13+ messages in thread