[PATCH 0/4] arm: mach-k3: am64: Add NAND configuration

2024-01-09 Thread Roger Quadros
overlay [2] manually applied to base AM64-EVM DT. CI test results are available at https://github.com/u-boot/u-boot/pull/460 [1] https://www.ti.com/tool/TMDS64EVM [2] https://lore.kernel.org/all/20230923080046.5373-2-rog...@kernel.org/ Roger Quadros (4): memory: ti-gpmc: Fix build mtd

Re: [RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2024-01-09 Thread Roger Quadros
On 08/01/2024 12:25, MD Danish Anwar wrote: > On 08/01/24 3:00 pm, Roger Quadros wrote: >> >> >> On 05/01/2024 12:15, Anwar, Md Danish wrote: >>> >>> >>> On 1/5/2024 1:49 PM, Roger Quadros wrote: >>>> >>>> >>>&g

[PATCH] board: ti: am64: Support TMDS64EVM

2024-01-08 Thread Roger Quadros
The TMDS64EVM [1] ships with AM64X SR2.0 HS-FS chip and a slightly different board name in the board information EEPROM header. Support this board. [1] https://www.ti.com/tool/TMDS64EVM Gets rid of below message at boot "Unidentified board claims AM64-EVM in eeprom header" Signed-off

Re: [RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2024-01-08 Thread Roger Quadros
On 05/01/2024 12:15, Anwar, Md Danish wrote: > > > On 1/5/2024 1:49 PM, Roger Quadros wrote: >> >> >> On 03/01/2024 12:27, MD Danish Anwar wrote: >>> >>> >>> On 02/01/24 7:26 pm, Andrew Davis wrote: >>>> On 12/27/23 12:56 AM, M

Re: [RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2024-01-05 Thread Roger Quadros
On 03/01/2024 12:27, MD Danish Anwar wrote: > > > On 02/01/24 7:26 pm, Andrew Davis wrote: >> On 12/27/23 12:56 AM, MD Danish Anwar wrote: >>> >>> >>> On 22/12/23 6:13 pm, Roger Quadros wrote: >>>> >>>> On 22/12/2023 12:26, M

Re: [RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2023-12-22 Thread Roger Quadros
On 22/12/2023 12:26, MD Danish Anwar wrote: > Hi Roger, > > On 20/12/23 3:29 pm, Roger Quadros wrote: >> Hi, >> >> On 19/12/2023 12:11, MD Danish Anwar wrote: >>> Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI >>> AM654

Re: [RFC PATCH 12/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration

2023-12-20 Thread Roger Quadros
On 19/12/2023 12:34, MD Danish Anwar wrote: > Add ICSSG2 overlay and configuration to tispl and u-boot images. > > Signed-off-by: MD Danish Anwar > --- > arch/arm/dts/k3-am65x-binman.dtsi | 85 +++ > 1 file changed, 85 insertions(+) > > diff --git

Re: [RFC PATCH 11/16] arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support

2023-12-20 Thread Roger Quadros
On 19/12/2023 12:34, MD Danish Anwar wrote: > ICSSG2 provides dual Gigabit Ethernet support. > Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso > > Signed-off-by: MD Danish Anwar > --- > arch/arm/dts/Makefile | 3 +- > arch/arm/dts/k3-am654-icssg2.dtso | 145

Re: [RFC PATCH 14/16] configs: am65x_evm_a53_defconfig: add SPL_LOAD_FIT_APPLY_OVERLAY

2023-12-20 Thread Roger Quadros
On 19/12/2023 12:34, MD Danish Anwar wrote: > We want SPL to apply DTB overlays (e.g. NAND card overlay) so > enable SPL_LOAD_FIT_APPLY_OVERLAY. > Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and > SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs. > > Signed-off-by: MD Danish Anwar > --- >

Re: [RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2023-12-20 Thread Roger Quadros
Hi, On 19/12/2023 12:11, MD Danish Anwar wrote: > Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI > AM654 SR2.0. > > The ICSSG PRU Sub-system runs on EMAC firmware. This series Introduces > support for ICSSG driver in uboot. This series also adds the driver's >

Re: [PATCH v3 1/4] usb: dwc3: Add dwc3 glue driver for am62

2023-12-14 Thread Roger Quadros
Hi Sjoerd, On 12/12/2023 23:02, Sjoerd Simons wrote: > Add glue code for TI AM62 to the dwc3 driver; Most code adopted from > TI vendor u-boot code. > > Signed-off-by: Sjoerd Simons > Reviewed-by: Mattijs Korpershoek > > --- > > (no changes since v2) > > Changes in v2: > - Switch dwc3 glue

Re: [PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-14 Thread Roger Quadros
On 12/12/2023 23:02, Sjoerd Simons wrote: > Enable USB host as well as USB gadget and DFU support for a53; For the > r5 due to the smaller available size create a new config just for > DFU support > > Signed-off-by: Sjoerd Simons > > --- > > Changes in v3: > - Run savedefconfig to adjust to

Re: [PATCH v3 3/4] arm: dts: k3-am625-sk: Enable usb ports in u-boot

2023-12-14 Thread Roger Quadros
On 12/12/2023 23:02, Sjoerd Simons wrote: > Enable both usb0 as a peripheral for use with DFU and > > Signed-off-by: Sjoerd Simons > > --- > > Changes in v3: > - Enable usb nodes in all boot phases > > Changes in v2: > - Only enable usb port 0 DFU in SPL > >

[PATCH v2 2/2] mtd: rawnand: omap_elm: Fix elm_init definition

2023-12-11 Thread Roger Quadros
The macro ELM_BASE is defined in mach/hardware.h and is not visible at the omap_elm.h header file. Avoid using it in omap_elm.h. Reported-by: Hong Guan Fixes: 7363cf0581a3 ("mtd: rawnand: omap_elm: u-boot driver model support") Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/

[PATCH v2 1/2] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-11 Thread Roger Quadros
the omap_elm driver does not support multi sector ECC and will need more work and tests to get multi sector working correctly on all platforms. Switch back to 1 sector at a time read/ECC. Fixes: 04fcd2587321 ("mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction") Signed-off-by: Roger Q

[PATCH v2 0/2] mtd: nand: omap_gpmc: Fix NAND for AM335x

2023-12-11 Thread Roger Quadros
omap_elm single sector support in commit log cheers, -roger Roger Quadros (2): mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x mtd: rawnand: omap_elm: Fix elm_init definition drivers/mtd/nand/raw/omap_elm.c | 4 +- drivers/mtd/nand/raw/omap_elm.h | 6 -- drivers/mtd/nand/raw/omap_gpmc.c

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-08 Thread Roger Quadros
On 08/12/2023 10:41, Michael Nazzareno Trimarchi wrote: > Hi > > On Fri, Dec 8, 2023 at 9:32 AM Roger Quadros wrote: >> >> On 25/11/2023 13:16, Roger Quadros wrote: >>> AM335x uses a special driver "am335x_spl_bch.c" as SPL >>> NAND l

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-08 Thread Roger Quadros
On 25/11/2023 13:16, Roger Quadros wrote: > AM335x uses a special driver "am335x_spl_bch.c" as SPL > NAND loader. This driver expects 1 sector at a time ECC > and doesn't work well with multi-sector ECC that was implemented in > commit 04fcd2587321 ("mtd: rawnand: omap

[PATCH] mtd: rawnand: omap_elm: Fix elm_init definition

2023-12-07 Thread Roger Quadros
The macro ELM_BASE is defined in mach/hardware.h and is not visible at the omap_elm.h header file. Avoid using it in omap_elm.h. Reported-by: Hong Guan Fixes: 7363cf0581a3 ("mtd: rawnand: omap_elm: u-boot driver model support") Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-07 Thread Roger Quadros
Hi Tom, On 26/11/2023 19:35, Tom Rini wrote: > On Sat, Nov 25, 2023 at 01:16:05PM +0200, Roger Quadros wrote: > >> AM335x uses a special driver "am335x_spl_bch.c" as SPL >> NAND loader. This driver expects 1 sector at a time ECC >> and doesn't work well with mul

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-11-28 Thread Roger Quadros
: Enrico Leto >> >> Thanks >> >> >>> -Original Message- >>> From: Michael Nazzareno Trimarchi >>> Sent: Saturday, November 25, 2023 2:07 PM >>> To: Roger Quadros >>> Cc: dario.binac...@amarulasolutions.com; Schoc

[PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-11-25 Thread Roger Quadros
o 1 sector at a time read/ECC. Fixes: 04fcd2587321 ("mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction") Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/omap_gpmc.c | 95 ++-- 1 file changed, 29 insertions(+), 66 deletions(-) diff --git a/driv

Re: [PATCH] mtd: rawnand: omap_gpmc: fix BCH8 HW based correction

2023-11-21 Thread Roger Quadros
Hi, On 15/11/2023 13:36, Heiko Schocher wrote: > Hello Roger, > > On 15.11.23 12:09, Roger Quadros wrote: >> >> >> On 15/11/2023 07:40, Heiko Schocher wrote: >>> commit 04fcd2587321 ("mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based >>> correctio

Re: [PATCH V2 0/4] arm: dts: k3-am625*: Upgrade kernel dts to v6.7-rc1

2023-11-15 Thread Roger Quadros
t: drop duplicate bootph-nodes > arm: dts: k3-am625-sk-r5/u-boot: Drop duplicate bootph-nodes for this series: Reviewed-by: Roger Quadros

Re: [PATCH 4/8] configs: am62ax_evm_a53_defconfig: Enable networking

2023-11-15 Thread Roger Quadros
On 13/11/2023 16:51, Nishanth Menon wrote: > Enable networking > > Signed-off-by: Nishanth Menon > --- > configs/am62ax_evm_a53_defconfig | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/configs/am62ax_evm_a53_defconfig > b/configs/am62ax_evm_a53_defconfig >

Re: [PATCH] mtd: rawnand: omap_gpmc: fix BCH8 HW based correction

2023-11-15 Thread Roger Quadros
On 15/11/2023 07:40, Heiko Schocher wrote: > commit 04fcd2587321 ("mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based > correction") > > broke AM335x based boards booting from NAND with ECC BCH8 code. > > Use omap_enable_hwecc() instead of omap_enable_hwecc_bch() > in SPL restores correct SPL

[PATCH] arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA with BCDMA

2023-11-14 Thread Roger Quadros
BCDMA can be used at SPL for OSPI boot and mem-to-mem DMA so add "bootph-all" to BCDMA node. Suggested-by: Nishanth Menon Fixes: 9a3f2b6798b0 ("arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet") Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-verdin-

[PATCH v2 3/3] arm: dts: k3-am642: Update main_bcdma and main_pktdma nodes

2023-10-28 Thread Roger Quadros
From: Siddharth Vadapalli Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. Drop duplicate main_pktdma node in k3-am642-sk-u-boot.dtsi. Reported-by: Nishanth Menon Signed-off-by: Siddharth Vadapalli Signed-off-by: Roger Quadros Reviewed

[PATCH v2 2/3] arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet

2023-10-28 Thread Roger Quadros
Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. u-boot k3-udma driver expects these additional register fields else probe will fail. Reported-by: Nishanth Menon Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon Tested-by: Marcel Ziswiler

[PATCH v2 1/3] arm: dts: k3-am625-sk-u-boot.dtsi: Update main_bcdma and main_pktdma nodes

2023-10-28 Thread Roger Quadros
From: Siddharth Vadapalli Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. Reported-by: Nishanth Menon Signed-off-by: Siddharth Vadapalli Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 23

[PATCH v2 0/3] arm: dts: k3-am6: Fix Ethernet/DMA

2023-10-28 Thread Roger Quadros
-boot.dtsi - Add Tested-by and Reviewed-by tags Roger Quadros (1): arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet Siddharth Vadapalli (2): arm: dts: k3-am625-sk-u-boot.dtsi: Update main_bcdma and main_pktdma nodes arm: dts: k3-am642: Update main_bcdma and main_pktdma no

Re: [PATCH 1/3] arm: dts: k3-am625-sk-u-boot.dtsi: Update main_bcdma and main_pktdma nodes

2023-10-28 Thread Roger Quadros
On 28/10/2023 11:10, Marcel Ziswiler wrote: > On Fri, 2023-10-27 at 16:46 +0300, Roger Quadros wrote: >> From: Siddharth Vadapalli >> >> Update main_bcdma and main_pktdma nodes for native configuration in the >> absence of DM services. >> >> Rep

[PATCH 3/3] arm: dts: k3-am642: Update main_bcdma and main_pktdma nodes

2023-10-27 Thread Roger Quadros
From: Siddharth Vadapalli Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. Reported-by: Nishanth Menon Signed-off-by: Siddharth Vadapalli Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 27

[PATCH 2/3] arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet

2023-10-27 Thread Roger Quadros
Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. u-boot k3-udma driver expects these additional register fields else probe will fail. Reported-by: Nishanth Menon Signed-off-by: Roger Quadros --- .../dts/k3-am625-verdin-wifi-dev-u-boot.dtsi | 27

[PATCH 1/3] arm: dts: k3-am625-sk-u-boot.dtsi: Update main_bcdma and main_pktdma nodes

2023-10-27 Thread Roger Quadros
From: Siddharth Vadapalli Update main_bcdma and main_pktdma nodes for native configuration in the absence of DM services. Reported-by: Nishanth Menon Signed-off-by: Siddharth Vadapalli Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 27 +++ 1

[PATCH 0/3] arm: dts: k3-am6: Fix Ethernet/DMA

2023-10-27 Thread Roger Quadros
the issue by adding the necessary register spaces for the u-boot K3-UDMA driver for AM62 and AM64 platforms. [1] - 5fecea171de3dd ("treewide: use dev_read_addr_*_ptr() where appropriate") cheers, -roger Roger Quadros (1): arm: dts: k3-am625-verdin-wifi-dev-u-boot.dtsi: Fix DMA/Ethernet

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-10-06 Thread Roger Quadros
On 06/10/2023 16:26, Köry Maincent wrote: > On Wed, 4 Oct 2023 15:39:23 +0300 > Roger Quadros wrote: > > Hello, > Thanks for adding me in cc. Also it seems I forgot to add myself to > MAINTAINERS > for the extension_board.c file. > >>>>> Before thi

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-06 Thread Roger Quadros
Andrew Davis wrote: >>>>> On 10/4/23 8:54 AM, Nishanth Menon wrote: >>>>>> On 08:48-20231004, Andrew Davis wrote: >>>>>>> On 10/4/23 8:23 AM, Roger Quadros wrote: >>>>>>>> ti_mmc is not a valid boot_target for stan

Re: [PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-06 Thread Roger Quadros
Hi Simon, On 05/10/2023 20:22, Simon Glass wrote: > Hi Tom, > > On Thu, 5 Oct 2023 at 10:31, Tom Rini wrote: >> >> On Thu, Oct 05, 2023 at 09:01:42AM -0600, Simon Glass wrote: >>> Hi Roger, >>> >>> On Thu, 5 Oct 2023 at 07:07, Roger Quadros

Re: [PATCH] arm: dts: k3-j721e-sk/common-proc-board: Fix boot

2023-10-06 Thread Roger Quadros
oper before relocation. > > To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'. > > Fixes: 69b19ca67bcb ("arm: dts: k3-j721e: Sync with v6.6-rc1") > Cc: Neha Francis > Signed-off-by: Nishanth Menon Reviewed-by: Roger Quadros

[PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-05 Thread Roger Quadros
CFG_SYS_SDRAM_BASE1. Signed-off-by: Roger Quadros --- board/ti/am64x/am64x.env| 1 + configs/am64x_evm_a53_defconfig | 5 +++-- include/configs/am64x_evm.h | 9 - 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index

[PATCH v2 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Roger Quadros
ti_mmc is not a valid boot_target for standard boot flow so remove it. Prefer mmc1 (sd-card) over mmc0 (emmc). Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- board/ti/am62x/am62x.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x/am62x.env b

[PATCH v2 0/2] board: ti: am6x: Switch to standard boot

2023-10-05 Thread Roger Quadros
, -roger Changelog: v2: - Added Nishanth's Reviewed-by for patch 1 - Dropped unnecessary headers and macro from patch 2 Roger Quadros (2): board: ti: am62x: am62x.env: Fix boot_targets board: ti: am64x: Switch to standard boot flow board/ti/am62x/am62x.env| 2 +- board/ti/am64x/am64x.env

Re: [PATCH] arm: dts: k3-am65-iot2050: Fix boot

2023-10-05 Thread Roger Quadros
'bootph-all'. > > [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc > after relocation") > > Signed-off-by: Jan Kiszka Reviewed-by: Roger Quadros

[PATCH 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-04 Thread Roger Quadros
Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Roger Quadros --- board/ti/am64x/am64x.env| 1 + configs/am64x_evm_a53_defconfig | 5 +++-- include/configs

[PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-04 Thread Roger Quadros
ti_mmc is not a valid boot_target for standard boot flow so remove it. Prefer mmc1 (sd-card) over mmc0 (emmc). Signed-off-by: Roger Quadros --- board/ti/am62x/am62x.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env index

[PATCH 0/2] board: ti: am6x: Switch to standard boot

2023-10-04 Thread Roger Quadros
, -roger Roger Quadros (2): board: ti: am62x: am62x.env: Fix boot_targets board: ti: am64x: Switch to standard boot flow board/ti/am62x/am62x.env| 2 +- board/ti/am64x/am64x.env| 1 + configs/am64x_evm_a53_defconfig | 5 +++-- include/configs/am64x_evm.h | 2 -- 4 files changed

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-10-04 Thread Roger Quadros
Hi, On 13/07/2023 21:44, Nishanth Menon wrote: > On 15:29-20230711, Roger Quadros wrote: >> Hi Simon, >> >> On 10/07/2023 22:45, Simon Glass wrote: >>> Hi Roger, >>> >>> On Mon, 10 Jul 2023 at 08:51, Roger Quadros wrote: >>>&

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix boot

2023-10-04 Thread Roger Quadros
Hi Jan, On 03/10/2023 23:26, Jan Kiszka wrote: > From: Jan Kiszka > > Since commit [1] A53 u-boot proper is broken. This is because nodes > marked as 'bootph-pre-ram' are not available at u-boot proper before > relocation. > > To fix this we mark all nodes as 'bootph-all'. > > [1]

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix Boot

2023-10-03 Thread Roger Quadros
> 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after > relocation") > > Reported-by: Roger Quadros > Signed-off-by: Nishanth Menon Reviewed-by: Roger Quadros > --- > > Based on Roger's series: > https://lore.kernel.org

Re: [PATCH 1/6] arm: dts: k3-am64-evm: Fix boot

2023-10-02 Thread Roger Quadros
Nishanth, On 02/10/2023 18:19, Nishanth Menon wrote: > On 16:46-20230929, Roger Quadros wrote: >> Since commit [1] A53 u-boot proper is broken. >> This is because nodes marked as 'bootph-pre-ram' are >> not available at u-boot proper before relocation. >> >> To f

[PATCH 6/6] arm: dts: k3-am625-sk: Mark dependent nodes for pre-relocation phase

2023-09-29 Thread Roger Quadros
(unique_unit_address): Failed prerequisite 'avoid_default_addr_size' Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 39 1 file changed, 39 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u

[PATCH 5/6] arm: dts: k3-am625-sk: Fix boot

2023-09-29 Thread Roger Quadros
after relocation") Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 54 ++-- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index c1685bc9ca..c658506

[PATCH 4/6] arm: dts: k3-am642-sk: Mark dependent nodes for pre-relocation phase

2023-09-29 Thread Roger Quadros
@800/ethernet-ports/port@2:phys: Could not get phandle node for (cell 0) Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u

[PATCH 3/6] arm: dts: k3-am642-sk: Fix boot

2023-09-29 Thread Roger Quadros
] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation") Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-r5-sk.dts | 4 ++ arch/arm/dts/k3-am642-sk-u-boot.dtsi | 76 +--- 2 files changed, 40 insertions(+), 40 deletions(-)

[PATCH 2/6] arm: dts: k3-am64-evm: Mark dependent nodes for pre-relocation phase

2023-09-29 Thread Roger Quadros
) Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 48 +++ arch/arm/dts/k3-am642-r5-evm.dts | 8 + 2 files changed, 56 insertions(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index d06955dfbc

[PATCH 1/6] arm: dts: k3-am64-evm: Fix boot

2023-09-29 Thread Roger Quadros
SPL. [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation") Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 56 --- arch/arm/dts/k3-am642-r5-evm.dts | 8 2 files changed, 32 inserti

[RESEND PATCH 0/6] arm: dts: k3-am64 / k3-am62: Fix boot

2023-09-29 Thread Roger Quadros
rs, -roger Roger Quadros (6): arm: dts: k3-am64-evm: Fix boot arm: dts: k3-am64-evm: Mark dependent nodes for pre-relocation phase arm: dts: k3-am642-sk: Fix boot arm: dts: k3-am642-sk: Mark dependent nodes for pre-relocation phase arm: dts: k3-am625-sk: Fix boot arm: dts: k3-am62

Re: [PATCH v2] dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation : regression

2023-09-29 Thread Roger Quadros
On 28/09/2023 22:18, Jonas Karlman wrote: > Hi Roger, > > On 2023-09-28 14:59, Roger Quadros wrote: >> Hi, >> >> On 21/08/2023 01:03, Jonas Karlman wrote: >>> Nodes with bootph-pre-sram/ram props are bound in multiple phases: >>> 1. At TPL (bootph-

Re: [PATCH v2] dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation : regression

2023-09-28 Thread Roger Quadros
Hi, On 21/08/2023 01:03, Jonas Karlman wrote: > Nodes with bootph-pre-sram/ram props are bound in multiple phases: > 1. At TPL (bootph-pre-sram) or SPL (bootph-pre-ram) phase > 2. At U-Boot proper pre-relocation phase > 3. At U-Boot proper normal phase > > However the binding and U-Boot Driver

[PATCH 2/2] arm: dts: k3-am64: Bump dts from Linux v6.6-rc1

2023-09-27 Thread Roger Quadros
in r5-*.dts, no need for either the definitions from main.dtsi OR duplication from u-boot.dtsi - deal with both am642-evm and am642-sk Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am64-main.dtsi| 209 ++ arch/arm/dts/k3-am64-mcu.dtsi | 53 ++- arch

[PATCH 1/2] Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node"

2023-09-27 Thread Roger Quadros
] - https://www.ti.com/tool/SK-AM64B Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 61 1 file changed, 61 deletions(-) diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi index 3d6be025bd..4431750dc6

[PATCH 0/2] arm: dts: k3-am64: Sync dts from Linux v6.6-rc1

2023-09-27 Thread Roger Quadros
Hi, This series aligns the dts files for AM64 platform from Linux v6.6-rc1. cheers, -roger Roger Quadros (2): Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node" arm: dts: k3-am64: Bump dts from Linux v6.6-rc1 arch/arm/dts/k3-am64-main.dtsi| 209 ++

Re: [PATCH v3 16/16] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation

2023-09-09 Thread Roger Quadros
On 08/09/2023 14:05, Apurva Nandan wrote: > TI K3 J784S4 and AM69 SK are new additions to the K3 SoC family. J784S4 is a SoC variant, AM69-SK is a board using AM69 SoC variant. How can a board be part of SoC family? Looking at the TRM [1] there seem to be 6 different SoC variants i.e. J784S4,

Re: [PATCH v3 08/16] board: ti: j784s4: Add board support for J784S4 EVM

2023-09-09 Thread Roger Quadros
On 08/09/2023 14:05, Apurva Nandan wrote: > Add board files for J784S4 EVM. > > Signed-off-by: Hari Nagalla > [ add env and board specific yaml files for binman ] > Signed-off-by: Neha Malcom Francis > [ cleaned up the env files ] > Signed-off-by: Manorit Chawdhry > Signed-off-by: Apurva

Re: [PATCH v3 08/16] board: ti: j784s4: Add board support for J784S4 EVM

2023-09-09 Thread Roger Quadros
On 08/09/2023 14:05, Apurva Nandan wrote: > Add board files for J784S4 EVM. > > Signed-off-by: Hari Nagalla > [ add env and board specific yaml files for binman ] > Signed-off-by: Neha Malcom Francis > [ cleaned up the env files ] > Signed-off-by: Manorit Chawdhry > Signed-off-by: Apurva

Re: [PATCH v3 07/16] remoteproc: k3-dsp: Extend support for C71x DSPs on J784S4 SoCs

2023-09-09 Thread Roger Quadros
On 08/09/2023 14:05, Apurva Nandan wrote: > From: Hari Nagalla > > The K3 J784S4 SoCs have four C71x DSP subsystems in MAIN voltage domain missing period. SoCs have/SoC has > The C71x DSPs are 64 bit machine with fixed and floating point DSP> > operations. The C71x DSP subsystem is a

Re: [PATCH v3 06/16] remoteproc: k3-r5: Extend support for R5F clusters on J784S4 SoCs

2023-09-09 Thread Roger Quadros
On 08/09/2023 14:05, Apurva Nandan wrote: > From: Hari Nagalla > > The K3 J784S4 SoCs have four dual-core R5F subsystems, one in MCU > voltage domain and the other three in MAIN voltage domain. These R5F > clusters are similar to the R5F clusters in J7200 and J721S2 SoCs. > > Extend support

Re: [PATCH v3 01/16] arm: dts: Introduce j784s4 dts from linux kernel

2023-09-09 Thread Roger Quadros
On 08/09/2023 14:05, Apurva Nandan wrote: > Introduce the basic j784s4 SoC dts from the next-20230905 tag of the > linux kernel. > > Signed-off-by: Hari Nagalla > Signed-off-by: Apurva Nandan > --- > arch/arm/dts/k3-j784s4-evm.dts | 864 + >

Re: [PATCH v3 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-09-09 Thread Roger Quadros
Hi, On 08/09/2023 14:05, Apurva Nandan wrote: > Add j784s4 initialization files for initial SPL boot. Please be consistent in naming. J784S4 ? > > Signed-off-by: Hari Nagalla > [ add firewall configurations and change the R5 MCU scratchpad ] > Signed-off-by: Manorit Chawdhry > Signed-off-by:

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-25 Thread Roger Quadros
Siddharth, On 25/08/2023 08:42, Siddharth Vadapalli wrote: > Roger, > > On 25/08/23 00:39, Roger Quadros wrote: >> >> >> On 24/08/2023 21:24, Tom Rini wrote: >>> On Thu, Aug 24, 2023 at 11:34:29PM +0530, Siddharth Vadapalli wrote: >>>> Hello Rog

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-24 Thread Roger Quadros
On 24/08/2023 21:24, Tom Rini wrote: > On Thu, Aug 24, 2023 at 11:34:29PM +0530, Siddharth Vadapalli wrote: >> Hello Roger, >> >> On 22-08-2023 17:43, Roger Quadros wrote: >>> Beagleplay has a buggy Ethernet PHY implementation for the Gigabit >>> PHY in t

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-23 Thread Roger Quadros
On 23/08/2023 11:14, Roger Quadros wrote: > > > On 23/08/2023 11:02, Siddharth Vadapalli wrote: >> >> >> On 23/08/23 13:22, Roger Quadros wrote: >>> Hi Siddharth, >>> >>> On 23/08/2023 07:35, Siddharth Vadapalli wrote: >&g

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-23 Thread Roger Quadros
On 23/08/2023 11:02, Siddharth Vadapalli wrote: > > > On 23/08/23 13:22, Roger Quadros wrote: >> Hi Siddharth, >> >> On 23/08/2023 07:35, Siddharth Vadapalli wrote: >>> Roger, >>> >>> On 22/08/23 17:43, Roger Quadros wrote: &

Re: [PATCH 2/2] net: phy: Change "PHY not found" message to debug()

2023-08-23 Thread Roger Quadros
On 23/08/2023 07:54, Siddharth Vadapalli wrote: > > > On 22/08/23 17:43, Roger Quadros wrote: >> Some boards (e.g. Beagleplay) need multiple attempts to detect the PHY >> and the multiple "PHY not found" prints are not nice. > > I tried grepping for call

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-23 Thread Roger Quadros
Hi Siddharth, On 23/08/2023 07:35, Siddharth Vadapalli wrote: > Roger, > > On 22/08/23 17:43, Roger Quadros wrote: >> Beagleplay has a buggy Ethernet PHY implementation for the Gigabit >> PHY in the sense that it is non responsive over MDIO immediately >> after po

[PATCH 2/2] net: phy: Change "PHY not found" message to debug()

2023-08-22 Thread Roger Quadros
Some boards (e.g. Beagleplay) need multiple attempts to detect the PHY and the multiple "PHY not found" prints are not nice. Change them to debug(). Signed-off-by: Roger Quadros --- drivers/net/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

[PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-22 Thread Roger Quadros
h PHY address=0 is a broadcast from the MAC; each PHY device should respond." This issue is not seen with the other PHY (different make) on the board which is configured for address 0x1. As a woraround we try to probe the PHY multiple times instead of giving up on the first attempt. Signed-off

[PATCH 0/2] net: Fix Ethernet PHY detection on Beagleplay

2023-08-22 Thread Roger Quadros
rs, -roger Roger Quadros (2): net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board net: phy: Change "PHY not found" message to debug() drivers/net/phy/phy.c | 2 +- drivers/net/ti/am65-cpsw-nuss.c | 19 ++- 2 files changed, 15 insertions(+), 6 deleti

Re: [PATCH v4 1/2] musb-new: ti-musb: Handle usb dual-role feature as peripheral

2023-08-21 Thread Roger Quadros
Hi Julien, On 21/08/2023 11:28, Julien Panis wrote: > On 8/14/23 19:18, Tom Rini wrote: >> On Thu, Jul 06, 2023 at 12:40:22PM +0200, Julien Panis wrote: >> >>> This prevents from getting some 'No USB device found' error, >>> in usb_ether_init() function for instance. >>> >>> Signed-off-by: Julien

Re: [PATCH v3 09/12] usb: cdns3: Handle otg mode as peripheral

2023-08-19 Thread Roger Quadros
On 19/08/2023 15:20, Marek Vasut wrote: > On 8/19/23 09:00, Roger Quadros wrote: >> +Peter & Pawel. >> >> On 19/08/2023 02:47, Marek Vasut wrote: >>> On 8/18/23 21:26, Roger Quadros wrote: >>>> >>>> >>>> On 18/08/2023 21:48,

Re: [PATCH v3 09/12] usb: cdns3: Handle otg mode as peripheral

2023-08-19 Thread Roger Quadros
+Peter & Pawel. On 19/08/2023 02:47, Marek Vasut wrote: > On 8/18/23 21:26, Roger Quadros wrote: >> >> >> On 18/08/2023 21:48, Tom Rini wrote: >>> On Thu, Aug 17, 2023 at 11:15:17AM +0300, Roger Quadros wrote: >>>> Hi Tom, >>>> >>&g

Re: [PATCH v3 09/12] usb: cdns3: Handle otg mode as peripheral

2023-08-18 Thread Roger Quadros
On 18/08/2023 21:48, Tom Rini wrote: > On Thu, Aug 17, 2023 at 11:15:17AM +0300, Roger Quadros wrote: >> Hi Tom, >> >> On 14/08/2023 20:17, Tom Rini wrote: >>> On Thu, Jul 13, 2023 at 03:45:42PM +0200, Julien Panis wrote: >>> >>>> Ov

Re: [PATCH v3 09/12] usb: cdns3: Handle otg mode as peripheral

2023-08-17 Thread Roger Quadros
Hi Tom, On 14/08/2023 20:17, Tom Rini wrote: > On Thu, Jul 13, 2023 at 03:45:42PM +0200, Julien Panis wrote: > >> Override 'otg' to 'peripheral' mode, since 'otg' mode >> is not yet supported by u-boot. >> >> Signed-off-by: Julien Panis >> Suggested-by: R

[PATCH v5 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-05 Thread Roger Quadros
void duplication of nodes. Include -u-boot.dtsi on top. - drop duplicate nodes in -r5 dts and -u-boot.dtsi Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am64-main.dtsi| 171 ++- arch/arm/dts/k3-am64-mcu.dtsi | 53 +- arch/arm/dts/k3-am64-thermal.dtsi |

[PATCH v5 3/4] doc: board: ti: am64: Add boot flow diagram

2023-08-05 Thread Roger Quadros
Add documenatation and boot flow diagram for AM64 EVM/SoC. Suggested-by: Nishanth Menon Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon Tested-by: Nishanth Menon #SK-AM64B --- doc/board/ti/am64x_evm.rst | 197 +++ doc/board/ti/img/boot_diagram_am64.svg | 1702

[PATCH v5 2/4] Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node"

2023-08-05 Thread Roger Quadros
This reverts commit 28a4c3113445d4400639f357fae0def007a41093. This node should be in the board DT file and should come from upstream. Moreover, this PMIC is no present on all variants of am642-sk and will need a separate board DT file. Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon

[PATCH v5 1/4] board: ti: am64x: Recognize AM64-HSEVM

2023-08-05 Thread Roger Quadros
AM64-HSEVM is AM64-GPEVM with High Security Device. Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header". Signed-off-by: Roger Quadros Acked-by: Andrew Davis Reviewed-by: Nishanth Menon Tested-by: Nishanth Menon #SK-AM64B --- board/ti/am64x/evm.c | 3 ++- 1 file

[PATCH v5 0/4] arm: dts: k3-am64: Sync DT with Linux

2023-08-05 Thread Roger Quadros
file in -r5 DT file. - move including -u-boot.dtsi file at the top of -r5 DT file. - drop duplicate nodes - document why we need to delete clock/power properties from main_timer0 v2: - Sync with v6.5-rc1 - Rebase on latest uboot/master - CPSW node cleanup - Timer node cleanup Roger Quadro

[PATCH v4 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-03 Thread Roger Quadros
void duplication of nodes. Include -u-boot.dtsi on top. - drop duplicate nodes in -r5 dts and -u-boot.dtsi Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am64-main.dtsi| 171 ++- arch/arm/dts/k3-am64-mcu.dtsi | 53 +- arch/arm/dts/k3-am64-thermal.dtsi |

[PATCH v4 3/4] doc: board: ti: am64: Add boot flow diagram

2023-08-03 Thread Roger Quadros
Add boot flow diagram for AM64 SoC. Suggested-by: Nishanth Menon Signed-off-by: Roger Quadros --- doc/board/ti/am64x_evm.rst | 197 +++ doc/board/ti/img/boot_diagram_am64.svg | 1702 doc/board/ti/k3.rst|1 + 3 files changed, 1900

[PATCH v4 2/4] Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node"

2023-08-03 Thread Roger Quadros
This reverts commit 28a4c3113445d4400639f357fae0def007a41093. This node should be in the board DT file and should come from upstream. Moreover, this PMIC is no present on all variants of am642-sk and will need a separate board DT file. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-sk

[PATCH v4 1/4] board: ti: am64x: Recognize AM64-HSEVM

2023-08-03 Thread Roger Quadros
AM64-HSEVM is AM64-GPEVM with High Security Device. Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header". Signed-off-by: Roger Quadros Acked-by: Andrew Davis --- board/ti/am64x/evm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/am6

[PATCH v4 0/4] arm: dts: k3-am64: Sync DT with Linux

2023-08-03 Thread Roger Quadros
odes - document why we need to delete clock/power properties from main_timer0 v2: - Sync with v6.5-rc1 - Rebase on latest uboot/master - CPSW node cleanup - Timer node cleanup Roger Quadros (4): board: ti: am64x: Recognize AM64-HSEVM Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node"

Re: [PATCH v3 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-03 Thread Roger Quadros
On 03/08/2023 00:37, Nishanth Menon wrote: > On 20:18-20230802, Roger Quadros wrote: >> Sync all am642-evm/am642-sk related DT files >> with Linux v6.5-rc1. >> >> - drop timer1 in favor of main_timer0 in am64-main.dtsi. >> Need to delete clock & power domai

Re: [PATCH v3 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-03 Thread Roger Quadros
Hi Nishanth, On 03/08/2023 00:37, Nishanth Menon wrote: > On 20:18-20230802, Roger Quadros wrote: >> Sync all am642-evm/am642-sk related DT files >> with Linux v6.5-rc1. >> >> - drop timer1 in favor of main_timer0 in am64-main.dtsi. >> Need to delet

Re: [PATCH v3 2/4] doc: board: ti: am64: Add boot flow diagram

2023-08-02 Thread Roger Quadros
On 02/08/2023 20:55, Nishanth Menon wrote: > On 20:18-20230802, Roger Quadros wrote: >> Add boot flow diagram for AM64 SoC. >> >> Suggested-by: Nishanth Menon >> Signed-off-by: Roger Quadros >> --- >> doc/board/ti/img/boot_diagram_am64.svg | 496 +

Re: [PATCH v3 1/4] board: ti: am64x: Recognize AM64-HSEVM

2023-08-02 Thread Roger Quadros
On 02/08/2023 20:56, Nishanth Menon wrote: > On 20:18-20230802, Roger Quadros wrote: >> AM64-HSEVM is AM64-GPEVM with High Security Device. >> >> Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header". >> >> Signed-off-by: Roger Quadros

[PATCH v3 4/4] arm: dts: k3-am64: Sync DT with Linux v6.5-rc1

2023-08-02 Thread Roger Quadros
dtsi on top. - drop duplicate nodes in -r5 dts and -u-boot.dtsi Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am64-main.dtsi| 171 - arch/arm/dts/k3-am64-mcu.dtsi | 53 ++- arch/arm/dts/k3-am64-thermal.dtsi | 33 arch/arm/dts/k3-am64.

[PATCH v3 3/4] Revert "ARM: dts: k3-am642-sk-u-boot: add PMIC node"

2023-08-02 Thread Roger Quadros
This reverts commit 28a4c3113445d4400639f357fae0def007a41093. This node should be in the board DT file and should come from upstream. Moreover, this PMIC is no present on all variants of am642-sk and will need a separate board DT file. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-sk

<    1   2   3   4   5   6   >