* [PATCH v3 1/5] dt-bindings: arm: amlogic: meson-gx-ao-secure: support more SoCs
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
@ 2025-11-19 2:52 ` Xianwei Zhao via B4 Relay
2025-11-19 2:52 ` [PATCH v3 2/5] soc: amlogic: meson-gx-socinfo: add new SoCs id Xianwei Zhao via B4 Relay
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2025-11-19 2:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
Kevin Hilman, Jerome Brunet, Martin Blumenstingl
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel,
Xianwei Zhao, Conor Dooley
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add new compatible for ao-secure of Amlogic SoCs(S6,S7,S7D).
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
.../devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml b/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml
index b4f6695a6015..fa7c403c874a 100644
--- a/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml
+++ b/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml
@@ -34,6 +34,9 @@ properties:
- amlogic,a4-ao-secure
- amlogic,c3-ao-secure
- amlogic,s4-ao-secure
+ - amlogic,s6-ao-secure
+ - amlogic,s7-ao-secure
+ - amlogic,s7d-ao-secure
- amlogic,t7-ao-secure
- const: amlogic,meson-gx-ao-secure
- const: syscon
--
2.37.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH v3 2/5] soc: amlogic: meson-gx-socinfo: add new SoCs id
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
2025-11-19 2:52 ` [PATCH v3 1/5] dt-bindings: arm: amlogic: meson-gx-ao-secure: support more SoCs Xianwei Zhao via B4 Relay
@ 2025-11-19 2:52 ` Xianwei Zhao via B4 Relay
2025-11-19 2:52 ` [PATCH v3 3/5] arm64: dts: amlogic: s6: add ao secure node Xianwei Zhao via B4 Relay
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2025-11-19 2:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
Kevin Hilman, Jerome Brunet, Martin Blumenstingl
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, Xianwei Zhao
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add new definition for Amlogic SoCs, include S6, S7, S7D.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
drivers/soc/amlogic/meson-gx-socinfo.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c
index 7549f1644e5e..2a54ca43cd13 100644
--- a/drivers/soc/amlogic/meson-gx-socinfo.c
+++ b/drivers/soc/amlogic/meson-gx-socinfo.c
@@ -46,6 +46,9 @@ static const struct meson_gx_soc_id {
{ "A5", 0x3c },
{ "C3", 0x3d },
{ "A4", 0x40 },
+ { "S7", 0x46 },
+ { "S7D", 0x47 },
+ { "S6", 0x48 },
};
static const struct meson_gx_package_id {
@@ -86,6 +89,9 @@ static const struct meson_gx_package_id {
{ "A311D2", 0x36, 0x1, 0xf },
{ "A113X2", 0x3c, 0x1, 0xf },
{ "A113L2", 0x40, 0x1, 0xf },
+ { "S805X3", 0x46, 0x3, 0xf },
+ { "S905X5M", 0x47, 0x1, 0xf },
+ { "S905X5", 0x48, 0x1, 0xf },
};
static inline unsigned int socinfo_to_major(u32 socinfo)
--
2.37.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH v3 3/5] arm64: dts: amlogic: s6: add ao secure node
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
2025-11-19 2:52 ` [PATCH v3 1/5] dt-bindings: arm: amlogic: meson-gx-ao-secure: support more SoCs Xianwei Zhao via B4 Relay
2025-11-19 2:52 ` [PATCH v3 2/5] soc: amlogic: meson-gx-socinfo: add new SoCs id Xianwei Zhao via B4 Relay
@ 2025-11-19 2:52 ` Xianwei Zhao via B4 Relay
2025-11-19 2:52 ` [PATCH v3 4/5] arm64: dts: amlogic: s7: " Xianwei Zhao via B4 Relay
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2025-11-19 2:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
Kevin Hilman, Jerome Brunet, Martin Blumenstingl
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, Xianwei Zhao
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add node for board info registers, which allows getting SoC family and
board revision.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
arch/arm64/boot/dts/amlogic/amlogic-s6.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-s6.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-s6.dtsi
index 0dca64a2ef9e..da3e607aea85 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-s6.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-s6.dtsi
@@ -199,6 +199,14 @@ gpiocc: gpio@300 {
gpio-ranges = <&periphs_pinctrl 0 (AMLOGIC_GPIO_CC<<8) 2>;
};
};
+
+ ao-secure@10220 {
+ compatible = "amlogic,s6-ao-secure",
+ "amlogic,meson-gx-ao-secure",
+ "syscon";
+ reg = <0x0 0x10220 0x0 0x140>;
+ amlogic,has-chip-id;
+ };
};
};
};
--
2.37.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH v3 4/5] arm64: dts: amlogic: s7: add ao secure node
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
` (2 preceding siblings ...)
2025-11-19 2:52 ` [PATCH v3 3/5] arm64: dts: amlogic: s6: add ao secure node Xianwei Zhao via B4 Relay
@ 2025-11-19 2:52 ` Xianwei Zhao via B4 Relay
2025-11-19 2:52 ` [PATCH v3 5/5] arm64: dts: amlogic: s7d: " Xianwei Zhao via B4 Relay
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2025-11-19 2:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
Kevin Hilman, Jerome Brunet, Martin Blumenstingl
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, Xianwei Zhao
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add node for board info registers, which allows getting SoC family and
board revision.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi
index d0b63d3fc953..dd7e3de2a53d 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi
@@ -221,6 +221,14 @@ gpiocc: gpio@300 {
gpio-ranges = <&periphs_pinctrl 0 (AMLOGIC_GPIO_CC<<8) 2>;
};
};
+
+ ao-secure@10220 {
+ compatible = "amlogic,s7-ao-secure",
+ "amlogic,meson-gx-ao-secure",
+ "syscon";
+ reg = <0x0 0x10220 0x0 0x140>;
+ amlogic,has-chip-id;
+ };
};
};
};
--
2.37.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH v3 5/5] arm64: dts: amlogic: s7d: add ao secure node
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
` (3 preceding siblings ...)
2025-11-19 2:52 ` [PATCH v3 4/5] arm64: dts: amlogic: s7: " Xianwei Zhao via B4 Relay
@ 2025-11-19 2:52 ` Xianwei Zhao via B4 Relay
2025-11-19 14:47 ` (subset) [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Neil Armstrong
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Xianwei Zhao via B4 Relay @ 2025-11-19 2:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Neil Armstrong,
Kevin Hilman, Jerome Brunet, Martin Blumenstingl
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, Xianwei Zhao
From: Xianwei Zhao <xianwei.zhao@amlogic.com>
Add node for board info registers, which allows getting SoC family and
board revision.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
arch/arm64/boot/dts/amlogic/amlogic-s7d.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-s7d.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-s7d.dtsi
index f1c2e91ec6c5..e60167af0390 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-s7d.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-s7d.dtsi
@@ -194,6 +194,14 @@ gpiocc: gpio@300 {
gpio-ranges = <&periphs_pinctrl 0 (AMLOGIC_GPIO_CC<<8) 2>;
};
};
+
+ ao-secure@10220 {
+ compatible = "amlogic,s7d-ao-secure",
+ "amlogic,meson-gx-ao-secure",
+ "syscon";
+ reg = <0x0 0x10220 0x0 0x140>;
+ amlogic,has-chip-id;
+ };
};
};
};
--
2.37.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: (subset) [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
` (4 preceding siblings ...)
2025-11-19 2:52 ` [PATCH v3 5/5] arm64: dts: amlogic: s7d: " Xianwei Zhao via B4 Relay
@ 2025-11-19 14:47 ` Neil Armstrong
2025-11-19 14:48 ` Neil Armstrong
2025-11-20 14:21 ` Neil Armstrong
7 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2025-11-19 14:47 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Kevin Hilman,
Jerome Brunet, Martin Blumenstingl, Xianwei Zhao
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, Conor Dooley
Hi,
On Wed, 19 Nov 2025 10:52:21 +0800, Xianwei Zhao wrote:
> Add more Amlogic SoCs info defines, include S6, S7, S7D.
>
>
Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.19/drivers)
[1/5] dt-bindings: arm: amlogic: meson-gx-ao-secure: support more SoCs
https://git.kernel.org/amlogic/c/1d80bed4e35710287c584f998e51980a34fb3a4e
[2/5] soc: amlogic: meson-gx-socinfo: add new SoCs id
https://git.kernel.org/amlogic/c/ba8abbdfd09e64f51ead8b86afc6b586505919b4
These changes has been applied on the intermediate git tree [1].
The v6.19/drivers branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.
In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].
The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.
If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
--
Neil
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: (subset) [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
` (5 preceding siblings ...)
2025-11-19 14:47 ` (subset) [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Neil Armstrong
@ 2025-11-19 14:48 ` Neil Armstrong
2025-11-20 14:21 ` Neil Armstrong
7 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2025-11-19 14:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Kevin Hilman,
Jerome Brunet, Martin Blumenstingl, Xianwei Zhao
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, Conor Dooley
Hi,
On Wed, 19 Nov 2025 10:52:21 +0800, Xianwei Zhao wrote:
> Add more Amlogic SoCs info defines, include S6, S7, S7D.
>
>
Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.19/arm64-dt)
[3/5] arm64: dts: amlogic: s6: add ao secure node
https://git.kernel.org/amlogic/c/fe85b8876768496196108a4c5199d084a6dc0036
[4/5] arm64: dts: amlogic: s7: add ao secure node
https://git.kernel.org/amlogic/c/070fcd4448a1d49ddbebfb63c681766f75cd90ed
[5/5] arm64: dts: amlogic: s7d: add ao secure node
https://git.kernel.org/amlogic/c/e490b52477b85ffc5bc8ae7124415345fb6a3f4e
These changes has been applied on the intermediate git tree [1].
The v6.19/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.
In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].
The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.
If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
--
Neil
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: (subset) [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines
2025-11-19 2:52 [PATCH v3 0/5] soc: amlogic: Add new Amlogic SoCs info defines Xianwei Zhao via B4 Relay
` (6 preceding siblings ...)
2025-11-19 14:48 ` Neil Armstrong
@ 2025-11-20 14:21 ` Neil Armstrong
7 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2025-11-20 14:21 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Kevin Hilman,
Jerome Brunet, Martin Blumenstingl, Xianwei Zhao
Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, Conor Dooley
Hi,
On Wed, 19 Nov 2025 10:52:21 +0800, Xianwei Zhao wrote:
> Add more Amlogic SoCs info defines, include S6, S7, S7D.
>
>
Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.19/arm64-dt)
[3/5] arm64: dts: amlogic: s6: add ao secure node
https://git.kernel.org/amlogic/c/834f278c9f0676f3c97b62b5d7469ef212362cc4
[4/5] arm64: dts: amlogic: s7: add ao secure node
https://git.kernel.org/amlogic/c/0145430828b5ec34b85a65584ea1e749df43a704
[5/5] arm64: dts: amlogic: s7d: add ao secure node
https://git.kernel.org/amlogic/c/5224cde731e8f749d643dcc994526b827891eb8e
These changes has been applied on the intermediate git tree [1].
The v6.19/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.
In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].
The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.
If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
--
Neil
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread