Skip to contentSkip to conversation

Add ESM driver support for AM64x R5

PATCH In review Hari Nagalla 2 participants 4 messages Feb 2, 2022 – Feb 25, 2022

lore
Share & tools
lore
#0 lore raw

cover Add ESM driver support for AM64x R5

AM64x devices have a main ESM and a MCU ESM. The ESM driver enables routing of the error events from various sources to different processors or to reset hardware logic. Only the MCU ESM's high output can trigger reset logic. The main RTI0 WWDT output can be routed to the MCU highoutput to trigger reset through the main ESM. For this reset to occur CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.

AM64x Technical Reference Manual - https://www.ti.com/lit/pdf/spruim2

Hari Nagalla (5):
misc: k3_esm: Add functionality to set and route error events within
K3SoC
arm: dts: k3-am64: Add support for ESM device nodes
arch: arm: mach-k3: am642_init: Probe ESM nodes
configs: am64x_evm_r5_defconfig: Add support for ESM driver
configs: am64x_hs_evm_r5_defconfig: Add support for ESM driver

 arch/arm/dts/k3-am64.dtsi         |  1 +
 arch/arm/dts/k3-am642-r5-evm.dts  | 19 +++++++++++
 arch/arm/dts/k3-am642-r5-sk.dts   | 19 +++++++++++
 arch/arm/mach-k3/am642_init.c     | 37 +++++++++++++++++++++
 configs/am64x_evm_r5_defconfig    |  1 +
 configs/am64x_hs_evm_r5_defconfig |  1 +
 drivers/misc/k3_esm.c             | 53 +++++++++++++++++++++++++++++--
 7 files changed, 128 insertions(+), 3 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

Sorry.. The patches are being re-submitted after rebasing.

Thanks

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Nagalla, Hari
Sent: Wednesday, February 2, 2022 11:10 AM
To: [email protected]
Cc: Menon, Nishanth <[email protected]>
Subject: [PATCH 0/5] Add ESM driver support for AM64x R5

AM64x devices have a main ESM and a MCU ESM. The ESM driver enables routing of the error events from various sources to different processors or to reset hardware logic. Only the MCU ESM's high output can trigger reset logic. The main RTI0 WWDT output can be routed to the MCU highoutput to trigger reset through the main ESM. For this reset to occur CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.

AM64x Technical Reference Manual - https://www.ti.com/lit/pdf/spruim2

Hari Nagalla (5):
misc: k3_esm: Add functionality to set and route error events within
K3SoC
arm: dts: k3-am64: Add support for ESM device nodes
arch: arm: mach-k3: am642_init: Probe ESM nodes
configs: am64x_evm_r5_defconfig: Add support for ESM driver
configs: am64x_hs_evm_r5_defconfig: Add support for ESM driver

 arch/arm/dts/k3-am64.dtsi         |  1 +
 arch/arm/dts/k3-am642-r5-evm.dts  | 19 +++++++++++
 arch/arm/dts/k3-am642-r5-sk.dts   | 19 +++++++++++
 arch/arm/mach-k3/am642_init.c     | 37 +++++++++++++++++++++
 configs/am64x_evm_r5_defconfig    |  1 +
 configs/am64x_hs_evm_r5_defconfig |  1 +
 drivers/misc/k3_esm.c             | 53 +++++++++++++++++++++++++++++--
 7 files changed, 128 insertions(+), 3 deletions(-)

--
2.17.1

#2 lore raw
In reply to Hari Nagalla

Hi Hari

Am Mi., 2. Feb. 2022 um 18:50 Uhr schrieb Hari Nagalla <[email protected]>:

Quoted 9 lines

AM64x devices have a main ESM and a MCU ESM. The ESM driver enables routing of the error events from various sources to different processors or to reset hardware logic. Only the MCU ESM's high output can trigger reset logic. The main RTI0 WWDT output can be routed to the MCU highoutput to trigger reset through the main ESM. For this reset to occur CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.

AM64x Technical Reference Manual - https://www.ti.com/lit/pdf/spruim2

Are there any plans to send out a V2 of this patch series? If not I can jump in (as I really
want to see in U-Boot sooner than later).

Signature · 5 lines
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy
#3 lore raw

Hi Christian,

I have a v2 series.. Will send out by Saturday.

Thanks
Hari

-----Original Message-----
From: Christian Gmeiner <[email protected]>
Sent: Wednesday, February 23, 2022 1:53 AM
To: Nagalla, Hari <[email protected]>
Cc: U-Boot Mailing List <[email protected]>; Menon, Nishanth <[email protected]>
Subject: Re: [PATCH 0/5] Add ESM driver support for AM64x R5

Hi Hari

Am Mi., 2. Feb. 2022 um 18:50 Uhr schrieb Hari Nagalla <[email protected]>:

Quoted 9 lines

AM64x devices have a main ESM and a MCU ESM. The ESM driver enables routing of the error events from various sources to different processors or to reset hardware logic. Only the MCU ESM's high output can trigger reset logic. The main RTI0 WWDT output can be routed to the MCU highoutput to trigger reset through the main ESM. For this reset to occur CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.

AM64x Technical Reference Manual - https://www.ti.com/lit/pdf/spruim2

Are there any plans to send out a V2 of this patch series? If not I can jump in (as I really want to see in U-Boot sooner than later).

--
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy