2022-02-10 21:43:28

by Hari Nagalla

[permalink] [raw]
Subject: [PATCH v1] arm64: dts: ti: k3-am64: Add ESM0 to device memory map

AM64x SoCs have two ESM modules, with one in MAIN voltage domain and the
other in MCU voltage domain. The error output from Main ESM module can
be routed to the MCU ESM module. The error output of MCU ESM can be
configured to reset the device. The MCU ESM configuration address space
is already opened and this patch opens the MAIN ESM configuration
address space.

For ESM details please refer technical reference manual at
https://www.ti.com/lit/pdf/spruim2

Signed-off-by: Hari Nagalla <[email protected]>
---
arch/arm64/boot/dts/ti/k3-am64.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am64.dtsi b/arch/arm64/boot/dts/ti/k3-am64.dtsi
index 120974726be8..0622a93ec136 100644
--- a/arch/arm64/boot/dts/ti/k3-am64.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi
@@ -66,6 +66,7 @@
#address-cells = <2>;
#size-cells = <2>;
ranges = <0x00 0x000f4000 0x00 0x000f4000 0x00 0x000002d0>, /* PINCTRL */
+ <0x00 0x00420000 0x00 0x00420000 0x00 0x00001000>, /* ESM0 */
<0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
<0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* Timesync router */
<0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */
--
2.17.1



2022-02-11 11:30:07

by Christian Gmeiner

[permalink] [raw]
Subject: Re: [PATCH v1] arm64: dts: ti: k3-am64: Add ESM0 to device memory map

Hi

Am Do., 10. Feb. 2022 um 18:30 Uhr schrieb Hari Nagalla <[email protected]>:
>
> AM64x SoCs have two ESM modules, with one in MAIN voltage domain and the
> other in MCU voltage domain. The error output from Main ESM module can
> be routed to the MCU ESM module. The error output of MCU ESM can be
> configured to reset the device. The MCU ESM configuration address space
> is already opened and this patch opens the MAIN ESM configuration
> address space.
>
> For ESM details please refer technical reference manual at
> https://www.ti.com/lit/pdf/spruim2
>
> Signed-off-by: Hari Nagalla <[email protected]>

Reviewed-by: Christian Gmeiner <[email protected]>

> ---
> arch/arm64/boot/dts/ti/k3-am64.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am64.dtsi b/arch/arm64/boot/dts/ti/k3-am64.dtsi
> index 120974726be8..0622a93ec136 100644
> --- a/arch/arm64/boot/dts/ti/k3-am64.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi
> @@ -66,6 +66,7 @@
> #address-cells = <2>;
> #size-cells = <2>;
> ranges = <0x00 0x000f4000 0x00 0x000f4000 0x00 0x000002d0>, /* PINCTRL */
> + <0x00 0x00420000 0x00 0x00420000 0x00 0x00001000>, /* ESM0 */
> <0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
> <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* Timesync router */
> <0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */
> --
> 2.17.1
>


--
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy

2022-02-16 20:00:09

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH v1] arm64: dts: ti: k3-am64: Add ESM0 to device memory map

Hi Hari Nagalla,

On Thu, 10 Feb 2022 11:22:46 -0600, Hari Nagalla wrote:
> AM64x SoCs have two ESM modules, with one in MAIN voltage domain and the
> other in MCU voltage domain. The error output from Main ESM module can
> be routed to the MCU ESM module. The error output of MCU ESM can be
> configured to reset the device. The MCU ESM configuration address space
> is already opened and this patch opens the MAIN ESM configuration
> address space.
>
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-am64: Add ESM0 to device memory map
commit: 2aeb0696b8e801c20c2176d9dbe512b6a5aa2f79

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D