On 6/2/25 09:50, Beleswar Padhi wrote:
+int __maybe_unused shutdown_mcu_r5_core1(void)
+{
+ struct ti_sci_handle *ti_sci = get_ti_sci_handle();
+ struct ti_sci_dev_ops *dev_ops = &ti_sci->ops.dev_ops;
+ struct ti_sci_proc_ops *proc_ops = &ti_sci->ops.proc_ops;
+ u32 dev_id
On 6/18/24 13:54, Nishanth Menon wrote:
On 13:46-20240618, Hari Nagalla wrote:
This series adds support for M4 remoteproc driver for K3 devices.
Logs:https://paste.sr.ht/~hnagalla/62811c4003c27ada83bc1c94500f7714ab30092a
Obviously - this cannot work with out an M4F node in dts, correct? you
Add remote proc support environment variables.
Signed-off-by: Hari Nagalla
---
board/ti/am62x/am62x.env | 4
1 file changed, 4 insertions(+)
diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env
index 9cb186c2a0..f8a73d4c47 100644
--- a/board/ti/am62x/am62x.env
+++ b/board/ti
Enable configs needed to add M4 remote proc driver to AM62.
Signed-off-by: Hari Nagalla
---
configs/am62x_evm_a53_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig
index 6c708dcb05..ea826d95ec 100644
--- a/configs
Some K3 devices like AM64, AM62 devices have a M4 processor in MCU
voltage domain.
Add a remote proc driver to support this subsystem to be able to load
and boot the M4 core.
Signed-off-by: Hari Nagalla
---
drivers/remoteproc/Kconfig | 10 +
drivers/remoteproc/Makefile | 1
This series adds support for M4 remoteproc driver for K3 devices.
Logs: https://paste.sr.ht/~hnagalla/62811c4003c27ada83bc1c94500f7714ab30092a
Hari Nagalla (3):
remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem
configs: am62x_evm_a53_defconfig: Enable M4 remote proc driver
AM62A has a R5F core in MCU voltage domain.
Extend support for R5F remote proc driver on AM62A with compatible
strings.
Signed-off-by: Hari Nagalla
---
drivers/remoteproc/ti_k3_r5f_rproc.c | 29 ++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/drivers
Add AM62a remote proc firmware names to environment variables for
loading of C7x DSP and R5F processors.
Signed-off-by: Hari Nagalla
---
board/ti/am62ax/am62ax.env | 4
1 file changed, 4 insertions(+)
diff --git a/board/ti/am62ax/am62ax.env b/board/ti/am62ax/am62ax.env
index 334374abb7
Enable K3-DSP and K3-R5FSS remote proc drivers for am62ax.
Signed-off-by: Hari Nagalla
---
configs/am62ax_evm_a53_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig
index c4556f5dd2..6b29a4b9cf 100644
--- a
AM62A SoC has a single C71x DSP subsystem with analytics engine in
main voltage domain. Extend support to AM62A with compatible strings.
Signed-off-by: Hari Nagalla
---
drivers/remoteproc/ti_k3_dsp_rproc.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a
This series adds relevant ip data in remoteproc driver for AM62a devices.
Logs: https://paste.sr.ht/~hnagalla/5e20838705c1d688bca81886dad56451b56d3913
Hari Nagalla (4):
remoteproc: k3-dsp: Enable C71x support for AM62A
remoteproc: k3-r5: Add support for R5F core on AM62A SoCs
configs
On 8/22/23 03:18, Enric Balletbo i Serra wrote:
* Temperature sensors, user push buttons and LEDs
* 40-pin User Expansion Connector
* x2 ENET Expansion Connector, x1 GESI expander, x2 Display connector
* x1 15-pin CSI header
* x6 MCAN instances
Schematics:https://www.ti.com/lit/zip/sprr458
boot
Add support for J784S4 SoC.
Signed-off-by: Apurva Nandan
Signed-off-by: Hari Nagalla
---
arch/arm/mach-k3/j784s4/clk-data.c | 428 +
drivers/clk/ti/clk-k3.c| 6 +
include/k3-clk.h | 1 +
3 files changed, 435 insertions(+)
create
Introduce the basic j784s4 SoC dtbs from the linux kernel along with
the new j784s4 specific pinmux definitions that we will use to generate
the dtbs for the u-boot-spl and u-boot binaries.
Signed-off-by: Apurva Nandan
Signed-off-by: Hari Nagalla
---
arch/arm/dts/k3-j784s4-evm.dts
Signed-off-by: Apurva Nandan
Signed-off-by: Bryan Bratloff
Signed-off-by: Nishant Menon
Signed-off-by: Hari Nagalla
---
arch/arm/mach-k3/Kconfig | 16 +-
arch/arm/mach-k3/Makefile | 2 +
arch/arm/mach-k3/arm64-mmu.c | 41 +++
arch
Add support for DDR subsystem in J784S4 SoC.
Signed-off-by: Apurva Nandan
Signed-off-by: Hari Nagalla
---
drivers/ram/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index e085119963..fac8c9314b 100644
--- a/drivers/ram
Add support for DMA in J784S4 SoC.
Signed-off-by: Apurva Nandan
Signed-off-by: Hari Nagalla
---
drivers/dma/ti/Makefile | 1 +
drivers/dma/ti/k3-psil-j784s4.c | 166 ++
drivers/dma/ti/k3-psil-priv.h | 1 +
drivers/dma/ti/k3-psil.c
Add board support for J784S4 SoC.
Signed-off-by: Hari Nagalla
---
board/ti/j784s4/Kconfig | 61 +
board/ti/j784s4/MAINTAINERS | 7 +
board/ti/j784s4/Makefile | 8 ++
board/ti/j784s4/evm.c| 105 +++
configs/j784s4_evm_a72_defconfig | 213
Add support for J784S4 SoC Identification.
Signed-off-by: Hari Nagalla
---
drivers/soc/soc_ti_k3.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c
index 8af0ac7051..caf8db9574 100644
--- a/drivers/soc/soc_ti_k3.c
+++ b/drivers/soc
he J7874S4 basic device tree files from v6.2 linux kernel.
- Moved j784s4 clock definitions and clock data into one patch/commit.
- coalesce board commits into one commit.
Hari Nagalla (10):
arm: dts: introduce j784s4 dtbs from linux kernel
arm: dts: introduce j784s4 u-boot dtbs
arm: K3:
Add support for J784S4 SoC.
Signed-off-by: Apurva Nandan
Signed-off-by: Hari Nagalla
---
drivers/power/domain/ti-power-domain.c | 6 ++
include/k3-dev.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/drivers/power/domain/ti-power-domain.c
b/drivers/power
There are 4 instances of SERDES modules, with each instance supporting 4
lanes.
Signed-off-by: Matthew Ranostay
Signed-off-by: Hari Nagalla
---
include/dt-bindings/mux/ti-serdes.h | 62 +
1 file changed, 62 insertions(+)
diff --git a/include/dt-bindings/mux/ti
Add board support for J784S4 SoC.
Signed-off-by: Hari Nagalla
---
board/ti/j784s4/Kconfig | 61
board/ti/j784s4/MAINTAINERS | 7 ++
board/ti/j784s4/Makefile| 8 ++
board/ti/j784s4/evm.c | 180
4 files changed, 256 insertions
Enable A72 specific configs for J784S4
Signed-off-by: Hari Nagalla
---
configs/j784s4_evm_a72_defconfig | 212 +++
1 file changed, 212 insertions(+)
create mode 100644 configs/j784s4_evm_a72_defconfig
diff --git a/configs/j784s4_evm_a72_defconfig b/configs
There are 4 instances of SERDES modules, with each instance supporting 4
lanes.
Signed-off-by: Hari Nagalla
Signed-off-by: Matthew Ranostay
---
include/dt-bindings/mux/ti-serdes.h | 62 +
1 file changed, 62 insertions(+)
diff --git a/include/dt-bindings/mux/ti
Add support for J784S4 SoC Identification.
Signed-off-by: Hari Nagalla
---
drivers/soc/soc_ti_k3.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c
index b1e7c4ae5f..f4b82103bf 100644
--- a/drivers/soc/soc_ti_k3.c
+++ b/drivers/soc
Enable R5 SPL specific configs for J784S4.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
configs/j784s4_evm_r5_defconfig | 176
1 file changed, 176 insertions(+)
create mode 100644 configs/j784s4_evm_r5_defconfig
diff --git a/configs
Add support for DDR subsystem in J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/ram/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index 86857c0627..00cfc26b67 100644
--- a/drivers/ram
Add support for J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/clk/ti/clk-k3.c | 6 ++
include/k3-clk.h| 1 +
2 files changed, 7 insertions(+)
diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c
index 0dd65934b3..17e5b757f0 100644
--- a
Add support for J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/power/domain/ti-power-domain.c | 6 ++
include/k3-dev.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/drivers/power/domain/ti-power-domain.c
b/drivers/power
Add basic support for J784S4 SoC definition
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Signed-off-by: Bryan Bratloff
Signed-off-by: Nishant Menon
---
arch/arm/mach-k3/Kconfig | 16 +-
arch/arm/mach-k3/Makefile | 2 +
arch/arm/mach-k3
Add support for DMA in J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/dma/ti/Makefile | 1 +
drivers/dma/ti/k3-psil-j784s4.c | 167 ++
drivers/dma/ti/k3-psil-priv.h | 1 +
drivers/dma/ti/k3-psil.c
Introduce the basic j784s4 SoC dtbs from the linux kernel along with
the new j784s4 specific pinmux definitions that we will use to generate
the dtbs for the u-boot-spl and u-boot binaries.
https://lore.kernel.org/all/20221014082314.118361-1-a-nan...@ti.com/
Signed-off-by: Hari Nagalla
Signed
header
* x6 MCAN instances
Schematics: https://www.ti.com/lit/zip/sprr458
bootlog: https://paste.sr.ht/~hnagalla/496faf211ddda17fb6221886c6496744f3891746
Hari Nagalla (12):
arm: dts: introduce j784s4 dtbs from linux kernel
arm: dts: introduce j784s4 u-boot dtbs
arm: K3: Add basic support for
evice node
configurations.
Signed-off-by: Hari Nagalla
---
arch/arm/mach-k3/am642_init.c | 40 +++
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c
index 543dea02bc..3a75dcea35 100644
--- a/arc
Enable ESM driver for AM64x R5 SPL/u-boot builds.
Signed-off-by: Hari Nagalla
---
configs/am64x_evm_r5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am64x_evm_r5_defconfig b/configs/am64x_evm_r5_defconfig
index 61138dd1a9..e29e99c2d1 100644
--- a/configs
CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.
K3 based J7 devices (ex: J721e) also have ESM modules, and the changes
to the driver does not impact those devices.
Signed-off-by: Hari Nagalla
---
drivers/misc/k3_esm.c | 53 ---
1 file c
igger 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 (4):
misc: k3_esm: Add functionality to set and route error events within
K3SoC
Enable access to ESM0 configuration space and add Main ESM0 and MCU ESM
nodes to the AM64 device tree.
Signed-off-by: Hari Nagalla
---
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 +++
3
Enable ESM driver for AM64x R5 SPL/u-boot builds.
Signed-off-by: Hari Nagalla
---
configs/am64x_evm_r5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am64x_evm_r5_defconfig b/configs/am64x_evm_r5_defconfig
index 61138dd1a9..e29e99c2d1 100644
--- a/configs
Enable access to ESM0 configuration space and add Main ESM0 and MCU ESM
nodes to the AM64 device tree.
Signed-off-by: Hari Nagalla
---
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 +++
3
evice node
configurations.
Signed-off-by: Hari Nagalla
---
arch/arm/mach-k3/am642_init.c | 29 +
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c
index 543dea02bc..f171c1e254 100644
--- a/arch/a
CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.
K3 based J7 devices (ex: J721e) also have ESM modules, and the changes
to the driver does not impact those devices.
Signed-off-by: Hari Nagalla
---
drivers/misc/k3_esm.c | 53 ---
1 file c
igger 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 (4):
misc: k3_esm: Add functionality to set and route error events within
K3SoC
CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.
Signed-off-by: Hari Nagalla
---
drivers/misc/k3_esm.c | 53 ---
1 file changed, 50 insertions(+), 3 deletions(-)
diff --git a/drivers/misc/k3_esm.c b/drivers/misc/k3_esm.c
index cc2a23dd66..41faeb3
evice node
configurations.
Signed-off-by: Hari Nagalla
---
arch/arm/mach-k3/am642_init.c | 28
1 file changed, 28 insertions(+)
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c
index 543dea02bc..cb9495e525 100644
--- a/arch/arm/mach-k3/am642_in
Enable ESM driver for AM64x R5 SPL/u-boot builds.
Signed-off-by: Hari Nagalla
---
configs/am64x_evm_r5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/am64x_evm_r5_defconfig b/configs/am64x_evm_r5_defconfig
index 61138dd1a9..e29e99c2d1 100644
--- a/configs
Enable acces to ESM0 configuration space and add Main ESM0 and MCU ESM
nodes to the AM64 device tree.
Signed-off-by: Hari Nagalla
---
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 +++
3
igger 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 (4):
misc: k3_esm: Add functionality to set and route error events within
K3SoC
igger 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
50 matches
Mail list logo