[PATCH 2/2] mmc: am654_sdhci: Disable HS400 for AM62P SR1.0 and SR1.1

2025-08-04 Thread Judith Mendez
AM62P SR1.0 and SR1.1 do not support HS400 due to errata i2458 [0] so add functionality to detect these SoC revisions and disable HS400. [0] https://www.ti.com/lit/er/sprz574a/sprz574a.pdf Signed-off-by: Judith Mendez --- drivers/mmc/am654_sdhci.c | 12 1 file changed, 12

[PATCH 0/2] Add support for AM62P SR1.2

2025-08-04 Thread Judith Mendez
/jmenti/5eb1068f563c9248e907b5eed2a957a0 Judith Mendez (2): soc: soc_ti_k3: Add support for AM62P variants mmc: am654_sdhci: Disable HS400 for AM62P SR1.0 and SR1.1 drivers/mmc/am654_sdhci.c | 12 +++ drivers/soc/soc_ti_k3.c | 66 --- 2 files changed

[PATCH 1/2] soc: soc_ti_k3: Add support for AM62P variants

2025-08-04 Thread Judith Mendez
This adds a support for detecting AM62P SR1.0, SR1.1, SR1.2. On AM62P, silicon revision is discovered with GP_SW1 register instead of JTAGID register, so introduce GP_SW register range to determine SoC revision. Signed-off-by: Judith Mendez --- drivers/soc/soc_ti_k3.c | 66

Re: [PATCH] mach-k3: am62*: am62*_init: Prohibit boot from UDA w/ eMMC boot

2025-07-24 Thread Judith Mendez
Hi Andrew, On 7/17/25 12:12 PM, Andrew Davis wrote: On 7/17/25 11:02 AM, Bryan Brattlof wrote: On July 17, 2025 thus sayeth Bryan Brattlof: On July 10, 2025 thus sayeth Judith Mendez: This removes support from booting from UDA when in eMMC boot. When user selects eMMC boot [0], that is

Re: [PATCH] mach-k3: am62*: am62*_init: Prohibit boot from UDA w/ eMMC boot

2025-07-11 Thread Judith Mendez
Hi, Michael, On 7/11/25 4:58 AM, Michael Nazzareno Trimarchi wrote: Hi Could be html for my mobile. Some comments inline. Il ven 11 lug 2025, 11:44 Anshul Dalal <mailto:ansh...@ti.com>> ha scritto: On Thu Jul 10, 2025 at 10:41 PM IST, Judith Mendez wrote: > This rem

[PATCH] mach-k3: am62*: am62*_init: Prohibit boot from UDA w/ eMMC boot

2025-07-10 Thread Judith Mendez
ch-k3: add eMMC FS boot support for am62[ap]") Fixes: 664593464634 ("arm: mach-k3: am625: Relax emmc boot condition") Signed-off-by: Judith Mendez --- arch/arm/mach-k3/am62ax/am62a7_init.c | 4 arch/arm/mach-k3/am62px/am62p5_init.c | 4 arch/arm/mach-k3/am62x/am625_init.c

Re: [PATCH 0/2] board: ti: am33xx: Add Ethernet support for Beaglebone Green Eco

2025-06-30 Thread Judith Mendez
series: Tested-by: Judith Mendez

[PATCH v2] mmc: am654_sdhci: Clear UHS_MODE_SELECT when <= MMC_HS_52

2025-05-22 Thread Judith Mendez
_sdhci: Add am654_sdhci_set_control_reg") Signed-off-by: Judith Mendez Reviewed-by: Peng Fan --- Changes since v1: - Add Pengs review tag - Fix commit description '<' -> '<=' --- drivers/mmc/am654_sdhci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/am654_sdhci.c

Re: [PATCH] mmc: am654_sdhci: Clear UHS_MODE_SELECT when < MMC_HS_52

2025-05-21 Thread Judith Mendez
modes < MMC_HS_52. Typo: '<' -> '<=' Will fix patch description for v2, thanks. ~ Judith This fixes eMMC writes on j7200 EVM. Fixes: 6067aa66b3bb ("mmc: am654_sdhci: Add am654_sdhci_set_control_reg") Signed-off-by: Judith Mendez Reviewed-by: Peng Fan

[PATCH] mmc: am654_sdhci: Clear UHS_MODE_SELECT when < MMC_HS_52

2025-05-20 Thread Judith Mendez
control_reg") Signed-off-by: Judith Mendez --- drivers/mmc/am654_sdhci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index 0df3568f073..d3c8f94dd0c 100644 --- a/drivers/mmc/am654_sdhci.c +++ b/drivers/mmc/am654_sdhci.c @@

[PATCH] configs: am64x_evm_a53: Enable MMC UHS modes

2025-04-24 Thread Judith Mendez
here, am64x HS400 mode has been descoped as per datasheet [0] even though we still initialize to HS200, clean this up by switching to MMC_HS200_SUPPORT config options. [0] https://www.ti.com/lit/gpn/am6442 Signed-off-by: Judith Mendez --- configs/am64x_evm_a53_defconfig | 11 +-- 1 file

[PATCH v3 3/4] mmc: am654_sdhci: Add am654_sdhci_set_control_reg

2025-04-18 Thread Judith Mendez
High Speed SDR mode at rising clock edge, none of these three should be set, therefore limit UHS_MODE_SELECT to only be set for modes above MMC_HS_52. This fixes MMC write issue on am64x evm at mode High Speed SDR. Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- drivers/mmc

[PATCH v3 1/4] mmc: am654_sdhci: Add MMC_HS_52 to timing data

2025-04-18 Thread Judith Mendez
, populate MMC_HS tap settings for MMC_HS_52. While we are here, fix typo in ti,itap-del-sel-mms-hs. [0] https://www.ti.com/lit/ds/symlink/am625.pdf Table 7-79 Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- drivers/mmc/am654_sdhci.c | 7 +-- 1 file changed, 5 insertions(+), 2

[PATCH v3 4/4] configs: am62*_evm_a53_defconfig: Add TI_COMMON_CMD_OPTIONS

2025-04-17 Thread Judith Mendez
& MMC_SPEED_MODE_SET useful commands to TI_COMMON_CMD_OPTIONS. Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- board/ti/common/Kconfig | 2 ++ configs/am62ax_evm_a53_defconfig | 3 +-- configs/am62px_evm_a53_defconfig | 9 + configs/am62x_evm_a53_defconfig | 3 +-- con

[PATCH v3 0/4] More MMC fixes

2025-04-17 Thread Judith Mendez
support - rebase against master Link to v2: https://lore.kernel.org/u-boot/20250414224357.1555064-1...@ti.com/ Link to v1: https://lore.kernel.org/u-boot/20250408170527.2832563-1...@ti.com/ Judith Mendez (4): mmc: am654_sdhci: Add MMC_HS_52 to timing data mmc: am654_sdhci: Fix HIGH_SPEED_ENA mmc

[PATCH v3 2/4] mmc: am654_sdhci: Fix HIGH_SPEED_ENA

2025-04-17 Thread Judith Mendez
happen at the falling clock edge, so do not set HIGH_SPEED_ENA for MMC_HS_52. Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- drivers/mmc/am654_sdhci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index

Re: [PATCH v2 0/5] More MMC fixes

2025-04-17 Thread Judith Mendez
Hi Tom, On 4/14/25 5:43 PM, Judith Mendez wrote: This patch series fixes MMC_HS_52 mode in am654_sdhci driver, as well as HIGH_SPEED_ENA and UHS_MODE_SELECT for HS modes. Also Disable eMMC HS400 mode for am62px device according to silicon errata i2458 [0] and add TI_COMMON_CMD_OPTIONS to K3

[PATCH v2 1/5] mmc: am654_sdhci: Add MMC_HS_52 to timing data

2025-04-15 Thread Judith Mendez
, populate MMC_HS tap settings for MMC_HS_52. While we are here, fix typo in ti,itap-del-sel-mms-hs. [0] https://www.ti.com/lit/ds/symlink/am625.pdf Table 7-79 Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- drivers/mmc/am654_sdhci.c | 7 +-- 1 file changed, 5 insertions(+), 2

[PATCH v2 5/5] configs: am62*_evm_a53_defconfig: Add TI_COMMON_CMD_OPTIONS

2025-04-14 Thread Judith Mendez
& MMC_SPEED_MODE_SET useful commands to TI_COMMON_CMD_OPTIONS. Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- board/ti/common/Kconfig | 2 ++ configs/am62ax_evm_a53_defconfig | 3 +-- configs/am62px_evm_a53_defconfig | 9 + configs/am62x_evm_a53_defconfig | 3 +-- con

[PATCH v2 3/5] mmc: am654_sdhci: Add am654_sdhci_set_control_reg

2025-04-14 Thread Judith Mendez
High Speed SDR mode at rising clock edge, none of these three should be set, therefore limit UHS_MODE_SELECT to only be set for modes above MMC_HS_52. This fixes MMC write issue on am64x evm at mode High Speed SDR. Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- drivers/mmc

[PATCH v2 4/5] configs: am62px_evm_r5/a53_defconfig: Disable eMMC HS400

2025-04-14 Thread Judith Mendez
ti.com/lit/er/sprz574a/sprz574a.pdf Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- configs/am62px_evm_a53_defconfig | 4 ++-- configs/am62px_evm_r5_defconfig | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configs/am62px_evm_a53_defconfig

[PATCH v2 0/5] More MMC fixes

2025-04-14 Thread Judith Mendez
/lit/er/sprz574a/sprz574a.pdf Changes since v1: - rebase against master and fix merge conflicts for patch 5/5 - pick up bryans reviewed-by tag Judith Mendez (5): mmc: am654_sdhci: Add MMC_HS_52 to timing data mmc: am654_sdhci: Fix HIGH_SPEED_ENA mmc: am654_sdhci: Add

[PATCH v2 2/5] mmc: am654_sdhci: Fix HIGH_SPEED_ENA

2025-04-14 Thread Judith Mendez
happen at the falling clock edge, so do not set HIGH_SPEED_ENA for MMC_HS_52. Signed-off-by: Judith Mendez Reviewed-by: Bryan Brattlof --- drivers/mmc/am654_sdhci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index

Re: [PATCH 0/5] More MMC fixes

2025-04-14 Thread Judith Mendez
Hi Bryan, On 4/12/25 12:04 PM, Bryan Brattlof wrote: On April 8, 2025 thus sayeth Judith Mendez: This patch series fixes MMC_HS_52 mode in am654_sdhci driver, as well as HIGH_SPEED_ENA and UHS_MODE_SELECT for HS modes. Also Disable eMMC HS400 mode for am62px device according to silicon

[PATCH 4/5] configs: am62px_evm_r5/a53_defconfig: Disable eMMC HS400

2025-04-08 Thread Judith Mendez
ti.com/lit/er/sprz574a/sprz574a.pdf Signed-off-by: Judith Mendez --- configs/am62px_evm_a53_defconfig | 4 ++-- configs/am62px_evm_r5_defconfig | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig index 3

[PATCH 1/5] mmc: am654_sdhci: Add MMC_HS_52 to timing data

2025-04-08 Thread Judith Mendez
, populate MMC_HS tap settings for MMC_HS_52. While we are here, fix typo in ti,itap-del-sel-mms-hs. [0] https://www.ti.com/lit/ds/symlink/am625.pdf Table 7-79 Signed-off-by: Judith Mendez --- drivers/mmc/am654_sdhci.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 5/5] configs: am62*_evm_a53_defconfig: Add TI_COMMON_CMD_OPTIONS

2025-04-08 Thread Judith Mendez
& MMC_SPEED_MODE_SET useful commands to TI_COMMON_CMD_OPTIONS. Signed-off-by: Judith Mendez --- board/ti/common/Kconfig | 2 ++ configs/am62ax_evm_a53_defconfig | 3 +-- configs/am62px_evm_a53_defconfig | 9 + configs/am62x_evm_a53_defconfig | 3 +-- configs/am64x_evm_a53_defconfig

[PATCH 3/5] mmc: am654_sdhci: Add am654_sdhci_set_control_reg

2025-04-08 Thread Judith Mendez
High Speed SDR mode at rising clock edge, none of these three should be set, therefore limit UHS_MODE_SELECT to only be set for modes > MMC_HS_52. This fixes MMC write issue on am64x evm at mode High Speed SDR. Signed-off-by: Judith Mendez --- drivers/mmc/am654_sdhci.c |

[PATCH 0/5] More MMC fixes

2025-04-08 Thread Judith Mendez
/lit/er/sprz574a/sprz574a.pdf Judith Mendez (5): mmc: am654_sdhci: Add MMC_HS_52 to timing data mmc: am654_sdhci: Fix HIGH_SPEED_ENA mmc: am654_sdhci: Add am654_sdhci_set_control_reg configs: am62px_evm_r5/a53_defconfig: Disable eMMC HS400 configs: am62*_evm_a53_defconfig: Add

[PATCH 2/5] mmc: am654_sdhci: Fix HIGH_SPEED_ENA

2025-04-08 Thread Judith Mendez
happen at the falling clock edge, so do not set HIGH_SPEED_ENA for MMC_HS_52. Signed-off-by: Judith Mendez --- drivers/mmc/am654_sdhci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index e4fa8a88565..28d82afd012 100644

Re: [PATCH v5 00/10] Introduce K3 remoteproc driver for M4 subsystem

2025-02-11 Thread Judith Mendez
Hi Tom, On 2/10/25 5:36 PM, Tom Rini wrote: On Mon, Feb 10, 2025 at 04:43:31PM -0600, Judith Mendez wrote: Hi Tom, On 2/10/25 2:29 PM, Judith Mendez wrote: Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver

Re: [PATCH v5 00/10] Introduce K3 remoteproc driver for M4 subsystem

2025-02-10 Thread Judith Mendez
Hi Tom, On 2/10/25 2:29 PM, Judith Mendez wrote: Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core. This series also adds support for R5F

[PATCH v5 04/10] board: ti: am62x: Add remoteproc specific env support

2025-02-10 Thread Judith Mendez
-off-by: Judith Mendez --- Changes since v4: - No change --- board/ti/am62x/am62x.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env index 078cc4b5ac9..60b5fd5e6ca 100644 --- a/board/ti/am62x/am62x.env +++ b/board/ti/am62x/am62x.env

[PATCH v5 08/10] cmd: Enable CMD remoteproc by default for K3 ARCH

2025-02-10 Thread Judith Mendez
Enable CMD_REMOTEPROC by default if building for K3 ARCH so that it does not have to be defined in each board defconfig file. Signed-off-by: Judith Mendez --- Changes since v4: - Add patch --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index

[PATCH v5 10/10] configs: am6*/j7*: Remove remoteproc configs

2025-02-10 Thread Judith Mendez
Now that remoteproc configs are enabled by default in Kconfig files, remove these configs which are no longer needed to be defined here in configs/. Signed-off-by: Judith Mendez --- Changes since v4: - Add patch --- configs/am62ax_evm_a53_defconfig | 4 configs

[PATCH v5 09/10] arm: mach-k3: Enable remoteproc drivers by default for K3 ARCH

2025-02-10 Thread Judith Mendez
Add remoteproc config options to enable remoteproc drivers by default as per what remotproc subsystem is supported on each SoC. Signed-off-by: Judith Mendez --- Changes since v4: - Add patch --- arch/arm/mach-k3/Kconfig | 24 1 file changed, 24 insertions(+) diff --git

[PATCH v5 07/10] spl: Enable SPL remoteproc by default for K3 ARCH

2025-02-10 Thread Judith Mendez
If building for v7R and K3 architecture, enable SPL remoteproc so that it does not have to be defined in each board defconfig file. Signed-off-by: Judith Mendez --- Changes since v4: - Add patch --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b

[PATCH v5 03/10] board: ti: am64x: Add remoteproc specific env support

2025-02-10 Thread Judith Mendez
-off-by: Judith Mendez --- Changes since v4: - No change --- board/ti/am64x/am64x.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index 8ad805a613c..c8ab57b807c 100644 --- a/board/ti/am64x/am64x.env +++ b/board/ti/am64x/am64x.env

[PATCH v5 02/10] remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs

2025-02-10 Thread Judith Mendez
From: Hari Nagalla AM64x SoCs have two R5F clusters in the main power domain. Extend support for R5F remote proc driver on AM64x with compatible strings. Signed-off-by: Hari Nagalla Signed-off-by: Judith Mendez Reviewed-by: Daniel Schultz --- Changes since v4: - No change --- drivers

[PATCH v5 06/10] remoteproc: Enable ARM64 remoteproc driver by default for K3 ARCH

2025-02-10 Thread Judith Mendez
If SYS_K3_SPL_ATF is enabled, for K3 ARCH enable the remoteproc ARM64 driver by default so that it does not have to be defined in each board defconfig file. Signed-off-by: Judith Mendez --- Changes since v4: - Add patch --- drivers/remoteproc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v5 05/10] board: ti: am62px: Add remoteproc specific env support

2025-02-10 Thread Judith Mendez
-off-by: Judith Mendez --- Changes since v4: - No change --- board/ti/am62px/am62px.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am62px/am62px.env b/board/ti/am62px/am62px.env index 7ef54079aa8..2b2c938b2e1 100644 --- a/board/ti/am62px/am62px.env +++ b/board/ti/am62px

[PATCH v5 01/10] remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem

2025-02-10 Thread Judith Mendez
[Judith: Cleanup driver, fix warnings, remove lreset logic] Signed-off-by: Judith Mendez Tested-by: Daniel Schultz --- Changes since v4: - No change --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ti_k3_m4_rproc.c | 371

[PATCH v5 00/10] Introduce K3 remoteproc driver for M4 subsystem

2025-02-10 Thread Judith Mendez
oc specific env support Judith Mendez (5): remoteproc: Enable ARM64 remoteproc driver by default for K3 ARCH spl: Enable SPL remoteproc by default for K3 ARCH cmd: Enable CMD remoteproc by default for K3 ARCH arm: mach-k3: Enable remoteproc drivers by default for K3 ARCH configs: am6*/

Re: [PATCH v4 6/6] configs: am6*_evm_a53_defconfig: Enable remoteproc support

2025-02-07 Thread Judith Mendez
Hi Andrew, On 2/6/25 5:07 PM, Andrew Davis wrote: On 2/5/25 7:54 PM, Judith Mendez wrote: From: Hari Nagalla Enable configs needed to enable remoteproc drivers for AM62 and AM64 devices. While we are here, cleanup some remoteproc configs, there is no DSP subsystem for am62px device. Signed

[PATCH v4 5/6] board: ti: am62px: Add remoteproc specific env support

2025-02-05 Thread Judith Mendez
-off-by: Judith Mendez --- Changes since v3: - add patch --- board/ti/am62px/am62px.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am62px/am62px.env b/board/ti/am62px/am62px.env index 7ef54079aa8..2b2c938b2e1 100644 --- a/board/ti/am62px/am62px.env +++ b/board/ti/am62px

[PATCH v4 4/6] board: ti: am62x: Add remoteproc specific env support

2025-02-05 Thread Judith Mendez
-off-by: Judith Mendez --- Changes since v3: - add patch --- board/ti/am62x/am62x.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env index 078cc4b5ac9..60b5fd5e6ca 100644 --- a/board/ti/am62x/am62x.env +++ b/board/ti/am62x/am62x.env

[PATCH v4 6/6] configs: am6*_evm_a53_defconfig: Enable remoteproc support

2025-02-05 Thread Judith Mendez
From: Hari Nagalla Enable configs needed to enable remoteproc drivers for AM62 and AM64 devices. While we are here, cleanup some remoteproc configs, there is no DSP subsystem for am62px device. Signed-off-by: Hari Nagalla Signed-off-by: Judith Mendez --- Changes since v3: - Add remoteproc

[PATCH v4 1/6] remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem

2025-02-05 Thread Judith Mendez
[Judith: Cleanup driver, fix warnings, remove lreset logic] Signed-off-by: Judith Mendez Tested-by: Daniel Schultz --- Changes since v3: - Fix implicitly include warning --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ti_k3_m4_rproc.c

[PATCH v4 3/6] board: ti: am64x: Add remoteproc specific env support

2025-02-05 Thread Judith Mendez
-off-by: Judith Mendez --- Changes since v3: - no functional change --- board/ti/am64x/am64x.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index 8ad805a613c..c8ab57b807c 100644 --- a/board/ti/am64x/am64x.env +++ b/board/ti/am64x

[PATCH v4 0/6] Introduce K3 remoteproc driver for M4 subsystem

2025-02-05 Thread Judith Mendez
Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core. This series also adds support for R5F cores on am64x SoCs in patch 2, sets up environment to

[PATCH v4 2/6] remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs

2025-02-05 Thread Judith Mendez
From: Hari Nagalla AM64x SoCs have two R5F clusters in the main power domain. Extend support for R5F remote proc driver on AM64x with compatible strings. Signed-off-by: Hari Nagalla Signed-off-by: Judith Mendez Reviewed-by: Daniel Schultz --- Changes since v3: - no change --- drivers

Re: [PATCH v3 0/4] Introduce K3 remoteproc driver for M4 subsystem

2025-02-04 Thread Judith Mendez
Hi all, On 1/30/25 4:32 PM, Judith Mendez wrote: Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core. This series also adds support for R5F

[PATCH v3 4/4] configs: am64x_evm_a53_defconfig: Enable R5F and M4 remote proc support

2025-01-30 Thread Judith Mendez
From: Hari Nagalla Add support for R5F and M4 remoteproc drivers. Signed-off-by: Hari Nagalla --- Changes since v2: - No change --- configs/am64x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index a501

[PATCH v3 1/4] remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem

2025-01-30 Thread Judith Mendez
is always enabled for M4 remoteproc, fixed warnings] Signed-off-by: Judith Mendez Tested-by: Daniel Schultz --- Changes since v2: - Cleanup unused labels - Remove optional init and reset functions which do not do anything - In stop, call unprepare() instead of ti_sci_proc_power_domain_off

[PATCH v3 0/4] Introduce K3 remoteproc driver for M4 subsystem

2025-01-30 Thread Judith Mendez
Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core. This series also adds support for R5F cores on am64x SoCs in patch 2/4, sets up environment t

[PATCH v3 3/4] env: ti: am64x: set rproc_fw_binaries

2025-01-30 Thread Judith Mendez
From: Hari Nagalla Set remote proc FW binaries for u-boot loading of remote cores. Signed-off-by: Hari Nagalla --- Changes since v2: - No change --- board/ti/am64x/am64x.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index 8ad8

[PATCH v3 2/4] remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs

2025-01-30 Thread Judith Mendez
From: Hari Nagalla AM64x SoCs have two R5F clusters in the main power domain. Extend support for R5F remote proc driver on AM64x with compatible strings. Signed-off-by: Hari Nagalla Reviewed-by: Daniel Schultz --- Changes since v2: - No change --- drivers/remoteproc/ti_k3_r5f_rproc.c | 2 ++

Re: [PATCH v2 1/4] remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem

2025-01-30 Thread Judith Mendez
Hi Andrew, Thanks for reviewing! On 1/29/25 6:04 PM, Andrew Davis wrote: On 1/29/25 4:52 PM, Judith Mendez wrote: From: Hari Nagalla 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

[PATCH 1/2] arm: mach-k3: am62*_init: Probe ESM nodes

2025-01-29 Thread Judith Mendez
if CONFIG_ESM_K3 is enabled. Signed-off-by: Santhosh Kumar K Signed-off-by: Judith Mendez --- arch/arm/mach-k3/am62ax/am62a7_init.c | 26 ++ arch/arm/mach-k3/am62px/am62p5_init.c | 26 ++ 2 files changed, 52 insertions(+) diff --git a/arch/arm

[PATCH 2/2] configs: am62*_evm_r5: Enable ESM and MISC configs

2025-01-29 Thread Judith Mendez
From: Santhosh Kumar K Enable CONFIG_SPL_DRIVERS_MISC, CONFIG_SPL_MISC, CONFIG_ESM_K3 to probe the Main ESM and MCU ESM nodes. Signed-off-by: Santhosh Kumar K Signed-off-by: Judith Mendez --- configs/am62ax_evm_r5_defconfig | 3 +++ configs/am62px_evm_r5_defconfig | 3 +++ 2 files changed, 6

[PATCH 0/2] Enable MCU ESM reset

2025-01-29 Thread Judith Mendez
This patch series enables ESM reset configuration in board_init_f for am62x and am62px devices. This is necessary in order for error events to reset the system. This patches are tested using watchdog to reset the system via ESM. Santhosh Kumar K (2): arm: mach-k3: am62*_init: Probe ESM nodes

[PATCH v2 1/4] remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem

2025-01-29 Thread Judith Mendez
which is always enabled for M4 remoteproc] Signed-off-by: Judith Mendez Tested-by: Daniel Schultz --- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/ti_k3_m4_rproc.c | 392 3 files changed, 403 insertions

[PATCH v2 2/4] remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs

2025-01-29 Thread Judith Mendez
From: Hari Nagalla AM64x SoCs have two R5F clusters in the main power domain. Extend support for R5F remote proc driver on AM64x with compatible strings. Signed-off-by: Hari Nagalla Reviewed-by: Daniel Schultz --- drivers/remoteproc/ti_k3_r5f_rproc.c | 2 ++ 1 file changed, 2 insertions(+) d

[PATCH v2 4/4] configs: am64x_evm_a53_defconfig: Enable R5F and M4 remote proc support

2025-01-29 Thread Judith Mendez
From: Hari Nagalla Add support for R5F and M4 remoteproc drivers. Signed-off-by: Hari Nagalla --- configs/am64x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index e6e3e018da6..4630c424775 100644 --- a/

[PATCH v2 0/4] Introduce K3 remoteproc driver for M4 subsystem

2025-01-29 Thread Judith Mendez
Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core. This series also adds support for R5F cores on am64x SoCs in patch 2/4, sets up environment t

[PATCH v2 3/4] env: ti: am64x: set rproc_fw_binaries

2025-01-29 Thread Judith Mendez
From: Hari Nagalla Set remote proc FW binaries for u-boot loading of remote cores. Signed-off-by: Hari Nagalla --- board/ti/am64x/am64x.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index 8ad805a613c..43e557b8ec7 100644 --- a/

Re: [PATCH 1/4] remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem

2025-01-29 Thread Judith Mendez
Hello Daniel, On 1/29/25 7:24 AM, Daniel Schultz wrote: Hey, thanks for sending this driver! Tested it on our AM64x board. See two comments below. On 23.01.25 02:07, Judith Mendez wrote: From: Hari Nagalla Some K3 devices like AM64, AM62 devices have a M4 processor in MCU voltage domain

[PATCH 3/4] env: ti: am64x: set rproc_fw_binaries

2025-01-22 Thread Judith Mendez
From: Hari Nagalla Set remote proc FW binaries for u-boot loading of remote cores. Signed-off-by: Hari Nagalla --- board/ti/am64x/am64x.env | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index 8ad805a613c..43e557b8ec7 100644 --- a/

[PATCH 0/4] Introduce K3 remoteproc driver for M4 subsystem

2025-01-22 Thread Judith Mendez
Some K3 devices like am62x and am64x have a M4 processor in the MCU voltage domain. This patch series introduces remoteproc M4 driver which will be used to load firmware into and start the M4 remote core. This series also adds support for R5F cores on am64x SoCs in patch 2/4, sets up environment t

[PATCH 1/4] remoteproc: k3-m4: Introduce K3 remote proc driver for M4 subsystem

2025-01-22 Thread Judith Mendez
From: Hari Nagalla 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 [Judith: Fixed comments explaining local resets] Signed-off-by: Judith

[PATCH 2/4] remoteproc: k3-r5: Add support for R5F cores on AM64x SoCs

2025-01-22 Thread Judith Mendez
From: Hari Nagalla AM64x SoCs have two R5F clusters in the main power domain. Extend support for R5F remote proc driver on AM64x with compatible strings. Signed-off-by: Hari Nagalla --- drivers/remoteproc/ti_k3_r5f_rproc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/remotepro

[PATCH 4/4] configs: am64x_evm_a53_defconfig: Enable R5F and M4 remote proc support

2025-01-22 Thread Judith Mendez
From: Hari Nagalla Add support for R5F and M4 remoteproc drivers. Signed-off-by: Hari Nagalla --- configs/am64x_evm_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index e6e3e018da6..4630c424775 100644 --- a/

Re: [RFC PATCH] am335x* defconfig: Increase u-boot partition in mtdparts

2025-01-08 Thread Judith Mendez
Hi Tom, On 1/8/25 10:57 AM, Tom Rini wrote: On Tue, Jan 07, 2025 at 04:50:55PM -0600, Judith Mendez wrote: From: Hong Guan Fix u-boot NAND partition in MTDPARTS_DEFAULT since the size of u-boot image has grown beyond 1MB and no longer fits in 1MB NAND partition, thus we are failing to flash

[RFC PATCH] am335x* defconfig: Increase u-boot partition in mtdparts

2025-01-07 Thread Judith Mendez
. Signed-off-by: Hong Guan [Judith: extend fix to HS defconfigs and add commit msg] Signed-off-by: Judith Mendez --- This patch is marked RFC to understand if solution is acceptable since changing partition sizes will not be backwards compatible solution. One other solution was too try to reduce

Re: [PATCH RESEND 0/7] Enable MMC UHS modes

2024-12-20 Thread Judith Mendez
Hi Tom, On 12/20/24 2:38 PM, Tom Rini wrote: On Fri, Dec 20, 2024 at 02:36:57PM -0600, Judith Mendez wrote: This patch series adds config options for Sitara K3 boards to support MMC UHS modes. While testing with SD card boot and eMMC boot, found missing eMMC boot support for am62ax in

[PATCH RESEND 5/7] configs: am62ax_evm_r5_defconfig: Enable SDHCI ADMA for r5 SPL

2024-12-20 Thread Judith Mendez
Enable SPL_MMC_SDHCI_ADMA config option for r5 SPL to improve boot time during r5 SPL stage. Signed-off-by: Judith Mendez --- configs/am62ax_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62ax_evm_r5_defconfig b/configs/am62ax_evm_r5_defconfig index 99b8f47860d

[PATCH RESEND 7/7] configs: am62ax_evm_a53_defconfig: Enable SUPPORT_EMMC_BOOT

2024-12-20 Thread Judith Mendez
Enable SUPPORT_EMMC_BOOT to help support eMMC boot on am62ax device. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig index 5e80c68605c..ad448feafeb 100644

[PATCH RESEND 4/7] configs: am62ax_evm_a53_defconfig: Enable MMC UHS modes

2024-12-20 Thread Judith Mendez
Enable configs required to enable MMC UHS modes in A53 SPL and U-Boot proper. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/configs/am62ax_evm_a53_defconfig b/configs

[PATCH RESEND 2/7] configs: am6*_evm_r5/a53_defconfig: Cleanup env configs

2024-12-20 Thread Judith Mendez
Since we do not load env from MMC device anymore, remove any MMC env config options. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 1 + configs/am62ax_evm_r5_defconfig | 3 --- configs/am62px_evm_r5_defconfig | 3 --- configs/am62x_evm_a53_defconfig | 1 + configs

[PATCH RESEND 6/7] configs: am62ax_evm_a53_defconfig: Enable MMC_SPEED_MODE_SET

2024-12-20 Thread Judith Mendez
Enable MMC_SPEED_MODE_SET config option in defconfig to enable changing MMC bus modes with mmc rescan for am62ax device. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62ax_evm_a53_defconfig b/configs

[PATCH RESEND 1/7] mach-k3: am62a7_init: Add FS and raw mode for eMMC

2024-12-20 Thread Judith Mendez
From: Vignesh Raghavendra This adds FS and raw boot mode support for eMMC similar to other K3 platforms. Signed-off-by: Vignesh Raghavendra --- arch/arm/mach-k3/am62ax/am62a7_init.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/mach-k3/am62ax/am62a7_init.c

[PATCH RESEND 0/7] Enable MMC UHS modes

2024-12-20 Thread Judith Mendez
option to change MMC bus modes and enable r5 SDHCI ADMA for faster boot time. Also for all k3 Sitara boards, cleanup MMC ENV configs that are no longer needed since we no longer load env from MMC device. Changes since v1: - rebase against next Judith Mendez (6): configs: am6*_evm_r5

[PATCH RESEND 3/7] configs: am62x_evm_a53_defconfig: Enable MMC UHS modes

2024-12-20 Thread Judith Mendez
Enable configs required to enable MMC UHS modes in A53 SPL and U-Boot proper. Signed-off-by: Judith Mendez --- configs/am62x_evm_a53_defconfig | 21 + 1 file changed, 21 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index

Re: [PATCH 1/7] mach-k3: am62a7_init: Add FS and raw mode for eMMC

2024-12-20 Thread Judith Mendez
Hi Bryan, On 12/20/24 1:45 PM, Bryan Brattlof wrote: Hi Judith! On December 20, 2024 thus sayeth Judith Mendez: From: Vignesh Raghavendra This adds FS and raw boot mode support for eMMC similar to other K3 platforms Signed-off-by: Vignesh Raghavendra --- arch/arm/mach-k3/am62ax

[PATCH 2/7] configs: am6*_evm_r5/a53_defconfig: Cleanup env configs

2024-12-20 Thread Judith Mendez
Since we do not load env from MMC device anymore, remove any MMC env config options. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 1 + configs/am62ax_evm_r5_defconfig | 3 --- configs/am62px_evm_r5_defconfig | 3 --- configs/am62x_evm_a53_defconfig | 1 + configs

[PATCH 1/7] mach-k3: am62a7_init: Add FS and raw mode for eMMC

2024-12-20 Thread Judith Mendez
From: Vignesh Raghavendra This adds FS and raw boot mode support for eMMC similar to other K3 platforms Signed-off-by: Vignesh Raghavendra --- arch/arm/mach-k3/am62ax/am62a7_init.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/mach-k3/am62ax/am62a7_init.c b

[PATCH 4/7] configs: am62ax_evm_a53_defconfig: Enable MMC UHS modes

2024-12-20 Thread Judith Mendez
Enable configs required to enable MMC UHS modes in A53 SPL and U-Boot proper. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/configs/am62ax_evm_a53_defconfig b/configs

[PATCH 7/7] configs: am62ax_evm_a53_defconfig: Enable SUPPORT_EMMC_BOOT

2024-12-20 Thread Judith Mendez
Enable SUPPORT_EMMC_BOOT to help support eMMC boot on am62ax device. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig index 5e80c68605c..ad448feafeb 100644

[PATCH 6/7] configs: am62ax_evm_a53_defconfig: Enable MMC_SPEED_MODE_SET

2024-12-20 Thread Judith Mendez
Enable MMC_SPEED_MODE_SET config option in defconfig to enable changing MMC bus modes with mmc rescan for am62ax device. Signed-off-by: Judith Mendez --- configs/am62ax_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62ax_evm_a53_defconfig b/configs

[PATCH 3/7] configs: am62x_evm_a53_defconfig: Enable MMC UHS modes

2024-12-20 Thread Judith Mendez
Enable configs required to enable MMC UHS modes in A53 SPL and U-Boot proper. Signed-off-by: Judith Mendez --- configs/am62x_evm_a53_defconfig | 21 + 1 file changed, 21 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index

[PATCH 5/7] configs: am62ax_evm_r5_defconfig: Enable SDHCI ADMA for r5 SPL

2024-12-20 Thread Judith Mendez
Enable SPL_MMC_SDHCI_ADMA config option for r5 SPL to improve boot time during r5 SPL stage. Signed-off-by: Judith Mendez --- configs/am62ax_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62ax_evm_r5_defconfig b/configs/am62ax_evm_r5_defconfig index 99b8f47860d

[PATCH 0/7] Enable MMC UHS modes

2024-12-20 Thread Judith Mendez
option to change MMC bus modes and enable r5 SDHCI ADMA for faster boot time. Also for all k3 sitara boards, cleanup MMC ENV configs that are no longer needed since we no longer load env from MMC device. Judith Mendez (6): configs: am6*_evm_r5/a53_defconfig: Cleanup env configs configs

[PATCH] TI: include: env: ti_common: move fdtoverlay_addr_r to fix ramdisk size

2024-10-10 Thread Judith Mendez
pershoek Signed-off-by: Judith Mendez --- include/env/ti/ti_common.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/env/ti/ti_common.env b/include/env/ti/ti_common.env index 7029d12bf20..a15af79d9c3 100644 --- a/include/env/ti/ti_common.env +++ b/include/env/ti/ti_

Re: [PATCH] mmc: sdhci: Correct ADMA_DESC_LEN to 12

2024-05-02 Thread Judith Mendez
f56e4be66 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -300,7 +300,7 @@ struct sdhci_ops { #define ADMA_MAX_LEN 65532 #ifdef CONFIG_DMA_ADDR_T_64BIT -#define ADMA_DESC_LEN 16 +#define ADMA_DESC_LEN 12 #else #define ADMA_DESC_LEN 8 #endif on TI AM62 platform: Tested-by: Judith Mendez

Re: [GIT PULL] Please pull u-boot-mmc master

2024-05-02 Thread Judith Mendez
Hi Greg, On 5/1/24 9:40 PM, Greg Malysa wrote: On Tue, Apr 30, 2024 at 3:42 AM Francesco Dolcini wrote: On Mon, Apr 29, 2024 at 03:39:53PM -0500, Judith Mendez wrote: A patch in this series caused a regression for AM62x SK with the following error: +1, this affects also Verdin AM62. Hi

[PATCH] configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation

2024-04-29 Thread Judith Mendez
On AM62x SK we can see a boot failure with signature "alloc space exhausted", so fix by increasing size of SPL_STACK_R_MALLOC_SIMPLE_LEN. Fixes: 128f81290b ("arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images") Signed-off-by: Judith Mendez --- configs/am

Re: [GIT PULL] Please pull u-boot-mmc master

2024-04-29 Thread Judith Mendez
Hi all, On 4/26/24 10:51 AM, Tom Rini wrote: On Fri, Apr 26, 2024 at 07:38:30PM +0900, Jaehoon Chung wrote: Dear Tom, Please pull u-boot-mmc master into u-boot master branch. If there is any problem, let me know, plz Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u

[PATCH v2 4/5] mmc: am654_sdhci: Set ENDLL=1 for DDR52 mode

2024-04-18 Thread Judith Mendez
According to the device datasheet [0], ENDLL=1 for DDR52 mode, so call am654_sdhci_setup_dll() and write itapdly after since we do not carry out tuning. [0] https://www.ti.com/lit/ds/symlink/am62p.pdf Fixes: c964447ea3d6 ("mmc: am654_sdhci: Add support for input tap delay") Signed-off-

[PATCH v2 5/5] mmc: am654_sdhci: Fix ITAPDLY for HS400 timing

2024-04-18 Thread Judith Mendez
. Fixes: c964447ea3d6 ("mmc: am654_sdhci: Add support for input tap delay") Signed-off-by: Judith Mendez --- Changes since v1: - Use ENABLE macro instead of 0x1 --- drivers/mmc/am654_sdhci.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/am654_sdhci.c b/d

[PATCH v2 1/5] mmc: am654_sdhci: Add tuning algorithm for delay chain

2024-04-18 Thread Judith Mendez
t;mmc: am654_sdhci: Add support for software tuning") Signed-off-by: Judith Mendez --- Changes since v1: - Remove extra param from mmc_send_tunning() call --- drivers/mmc/am654_sdhci.c | 107 +++--- 1 file changed, 89 insertions(+), 18 deletions(-) diff --git a/d

  1   2   >