[PATCH] memory: ti-gpmc: use printf to dump settings/timings

2024-05-15 Thread Roger Quadros
pr_info() depends on CONFIG_LOGLEVEL > 6. If user has enabled CONFIG_TI_GPMC_DEBUG then we should print the GPMC settings/timings regardless of CONFIG_LOGLEVEL. So use printf() instead of pr_info(). Signed-off-by: Roger Quadros --- drivers/memory/ti-gpmc.c | 28 ++--

[PATCH v2 3/3] arm: dts: k3-am625-beagleplay: Fix Ethernet PHY reset GPIO

2024-05-13 Thread Roger Quadros
Move GPIO pinmux to MDIO node. Add GB Ethernet reset GPIO. Add PIN_INPUT to Fix SPE ethernet reset gpio so that reading the GPIO can give correct status. Signed-off-by: Roger Quadros --- Commit 0b1133ee36ecbf3b02f69cc4e8a169f1b6019e40 on linux-next --- arch/arm/dts/k3-am625-beagleplay.dts | 8

[PATCH v2 2/3] arm: dts: k3-am625-beagleplay: get CPSW Ethernet to work

2024-05-13 Thread Roger Quadros
Add missing bits in -u-boot.dtsi to get CPSW Ethernet working. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 63 1 file changed, 63 insertions(+) diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625

[PATCH v2 1/3] arm: dts: k3-am62*: sync with Linux v6.9

2024-05-13 Thread Roger Quadros
Update k3-am62 DT files from Linux v6.9 Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am62-main.dtsi | 126 ++ arch/arm/dts/k3-am62-mcu.dtsi| 4 +- arch/arm/dts/k3-am62-thermal.dtsi| 5 +- arch/arm/dts/k3-am62-wakeup.dtsi | 38 +-- arch/arm

[PATCH v2 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-13 Thread Roger Quadros
Sync AM62 device tree files with Linux v6.9 and add in the missing bits in -u-boot.dtsi to get CPSW Ethernet working. CI testing https://github.com/u-boot/u-boot/pull/534 Signed-off-by: Roger Quadros --- --- Changes in v2: - rebase on u-boot/next 13th May 2024 - drop 'not-for-merge' comment

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Roger Quadros
On 10/05/2024 16:08, Tom Rini wrote: > On Fri, May 10, 2024 at 12:55:15PM +0300, Roger Quadros wrote: >> Tom, >> >> On 25/04/2024 15:20, Roger Quadros wrote: >>> Sync AM62 device tree files with Linux v6.9-rc5 and >>> add in the missing bits in -u-boo

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Roger Quadros
Tom, On 25/04/2024 15:20, Roger Quadros wrote: > Sync AM62 device tree files with Linux v6.9-rc5 and > add in the missing bits in -u-boot.dtsi to get CPSW > Ethernet working. > > The last patch is marked [not-for-merge] as it is not yet > applied to Linux device tree. >

Re: [PATCH] net: ti: am65-cpsw-nuss: don't touch DMA after stop

2024-05-10 Thread Roger Quadros
Hi Alexander, On 08/05/2024 21:36, A. Sverdlin wrote: > From: Alexander Sverdlin > > Contrary to doc/develop/driver-model/ethernet.rst contract, eth_ops > .free_pkt can be called after .stop, there are several error paths in TFTP, > for instance: Doesn't this mean we need to fix TFTP instead

Re: [PATCH 2/2] soc: ti: pruss: Add support for AM64x

2024-05-08 Thread Roger Quadros
On 30/04/2024 13:46, MD Danish Anwar wrote: > Add support for AM64x by adding it's compatible in pruss driver. > > Signed-off-by: MD Danish Anwar Reviewed-by: Roger Quadros

Re: [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores

2024-05-08 Thread Roger Quadros
On 30/04/2024 13:46, MD Danish Anwar wrote: > Add support for AM64x PRU cores by adding compatibles for AM64x. > > Signed-off-by: MD Danish Anwar Reviewed-by: Roger Quadros

Re: [PATCH v2 10/10] arch: arm: dts: k3-am62-sk-u-boot: Add missing "bootph-all" property to phy_gmii_sel node

2024-04-25 Thread Roger Quadros
On 25/04/2024 15:08, Chintan Vankar wrote: > Add "bootph-all" property to CPSW MAC's PHY node phy_gmii_sel. > > Signed-off-by: Chintan Vankar > --- > > Changes from v1 to v2: > - This patch is newly added in this series to enable CPSW MAC's PHY > node "phy_gmii_sel". As per discussion at

Re: [PATCH v2 06/10] arm: mach-k3: am625_init: Probe AM65 CPSW NUSS

2024-04-25 Thread Roger Quadros
On 25/04/2024 15:08, Chintan Vankar wrote: > From: Kishon Vijay Abraham I > > In order to support Ethernet boot on AM62x, probe AM65 CPSW NUSS > driver in board_init_f(). > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Siddharth Vadapalli > Signed-off-by: Chintan Vankar > --- >

[PATCH not-for-merge 3/3] arm: dts: k3-am625-beagleplay: Fix Ethernet PHY reset GPIO

2024-04-25 Thread Roger Quadros
Move GPIO pinmux to MDIO node. Add GB Ethernet reset GPIO. Add PIN_INPUT to Fix SPE ethernet reset gpio so that reading the GPIO can give correct status. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-beagleplay.dts | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

[PATCH 2/3] arm: dts: k3-am625-beagleplay: get CPSW Ethernet to work

2024-04-25 Thread Roger Quadros
Add missing bits in -u-boot.dtsi to get CPSW Ethernet working. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 63 1 file changed, 63 insertions(+) diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625

[PATCH 1/3] arm: dts: k3-am62*: sync with Linux v6.9-rc5

2024-04-25 Thread Roger Quadros
Update k3-am62 DT files from Linux v6.9-rc5 Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am62-main.dtsi | 126 ++--- arch/arm/dts/k3-am62-mcu.dtsi | 4 +- arch/arm/dts/k3-am62-phycore-som.dtsi | 5 +- arch/arm/dts/k3-am62-thermal.dtsi

[PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-04-25 Thread Roger Quadros
Sync AM62 device tree files with Linux v6.9-rc5 and add in the missing bits in -u-boot.dtsi to get CPSW Ethernet working. The last patch is marked [not-for-merge] as it is not yet applied to Linux device tree. CI testing https://github.com/u-boot/u-boot/pull/527 Signed-off-by: Roger Quadros

Re: [PATCH v3 02/19] board: am64x: Define capsule update firmware info

2024-04-23 Thread Roger Quadros
On 19/04/2024 23:56, Jonathan Humphreys wrote: > Define the firmware components updatable via EFI capsule update, including > defining capsule GUIDs for the various firmware components for the AM64x SK. > > Signed-off-by: Jonathan Humphreys > --- > board/ti/am64x/evm.c| 33

Re: [PATCH v3 03/19] configs: am64x: Enable EFI capsule update

2024-04-23 Thread Roger Quadros
Checkpatch warns: WARNING: Missing commit description - Add an appropriate one On 19/04/2024 23:56, Jonathan Humphreys wrote: > Signed-off-by: Jonathan Humphreys > --- > configs/am64x_evm_a53_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/am64x_evm_a53_defconfig

Re: [PATCH 0/5] net: mdio-uclass: probe generic Ethernet PHY driver & Fix Beagleplay Ethernet

2024-03-25 Thread Roger Quadros
Hi Tom / Joe, On 05/03/2024 15:24, Roger Quadros wrote: > Currently, the GPIO Reset Device Tree properties of the > PHY node are ignored when the PHY is probed via mdio-uclass driver [1]. > > To resolve this, for each child of the MDIO bus node, bind and probe > the generic Ethe

Re: [PATCH 0/5] net: mdio-uclass: probe generic Ethernet PHY driver & Fix Beagleplay Ethernet

2024-03-08 Thread Roger Quadros
On 08/03/2024 10:22, Roger Quadros wrote: > > > On 05/03/2024 15:24, Roger Quadros wrote: >> Currently, the GPIO Reset Device Tree properties of the >> PHY node are ignored when the PHY is probed via mdio-uclass driver [1]. >> >> To resolve this, for each

Re: [PATCH 0/5] net: mdio-uclass: probe generic Ethernet PHY driver & Fix Beagleplay Ethernet

2024-03-08 Thread Roger Quadros
On 05/03/2024 15:24, Roger Quadros wrote: > Currently, the GPIO Reset Device Tree properties of the > PHY node are ignored when the PHY is probed via mdio-uclass driver [1]. > > To resolve this, for each child of the MDIO bus node, bind and probe > the generic Ethe

[PATCH not-for-merge 5/5] arm: dts: k3-am625-beagleplay: Fix Ethernet PHY reset GPIO

2024-03-05 Thread Roger Quadros
Move GPIO pinmux to MDIO node. Add GB Ethernet reset GPIO. Add PIN_INPUT to Fix SPE ethernet reset gpio so that reading the GPIO can give correct status. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-beagleplay.dts | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

[PATCH not-for-merge 4/5] k3-am625-beagleplay-u-boot: get CPSW Ethernet to work

2024-03-05 Thread Roger Quadros
Add missing bits to get CPSW Ethernet working. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 63 1 file changed, 63 insertions(+) diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u

[PATCH not-for-merge 3/5] arm: dts: k3-am62*: sync with linux-next-20240229

2024-03-05 Thread Roger Quadros
Update k3-am62 DT files from linux-next-20240229. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am62-main.dtsi | 126 ++--- arch/arm/dts/k3-am62-mcu.dtsi | 4 +- arch/arm/dts/k3-am62-phycore-som.dtsi | 5 +- arch/arm/dts/k3-am62-thermal.dtsi

[PATCH 2/5] configs/am62x_beagleplay_a53_defconfig: enable DM_ETH_PHY

2024-03-05 Thread Roger Quadros
Reset GPIO handling is done in ETH PHY Class driver. Enable DM_ETH_PHY. We don't use Fixed PHY so disable PHY_FIXED. Signed-off-by: Roger Quadros --- configs/am62x_beagleplay_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs

[PATCH 1/5] net: mdio-uclass: Bind and probe generic Ethernet PHY driver

2024-03-05 Thread Roger Quadros
If DM_ETH_PHY is enabled then try to bind and probe the generic Ethernet PHY driver for each child of MDIO bus. This is to ensure that GPIO reset handling is done if available before MDIO bus driver scans for the PHYs. Signed-off-by: Roger Quadros --- net/mdio-uclass.c | 41

[PATCH 0/5] net: mdio-uclass: probe generic Ethernet PHY driver & Fix Beagleplay Ethernet

2024-03-05 Thread Roger Quadros
evice tree changes are merged into Linux tree. Signed-off-by: Roger Quadros --- Roger Quadros (5): net: mdio-uclass: Bind and probe generic Ethernet PHY driver configs/am62x_beagleplay_a53_defconfig: enable DM_ETH_PHY [not-for-merge] arm: dts: k3-am62*: sync with linux-nex

Re: [PATCH v6] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-29 Thread Roger Quadros
e can call request_firmware_into_buf() from remoteproc > driver. > > Signed-off-by: MD Danish Anwar > Acked-by: Ravi Gunasekaran Reviewed-by: Roger Quadros

Re: [PATCH v5] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-28 Thread Roger Quadros
On 28/02/2024 12:35, MD Danish Anwar wrote: > > > On 28/02/24 3:30 pm, Roger Quadros wrote: >> >> >> On 17/02/2024 14:26, MD Danish Anwar wrote: >>> Add APIs to set a firmware_name to a rproc and boot the rproc with the >>> same firmware. >

[PATCH v2 2/2] net: am65-cpsw: cpsw_mdio: Switch to proper DM_MDIO framework

2024-02-28 Thread Roger Quadros
Add a new Kconfig symbol MDIO_TI_CPSW for the CPSW MDIO driver and build it with proper DM support if enabled. If MDIO_TI_CPSW is not enabled then we continue to behave like before. Clean up MDIO custom handling in am65-cpsw and use dm_eth_phy_connect() to get the PHY. Signed-off-by: Roger

[PATCH v2 1/2] net: mdio: Handle bus level GPIO Reset

2024-02-28 Thread Roger Quadros
Some platforms have bus level Reset controlled by a GPIO line. If available then handle bus reset via GPIO. Signed-off-by: Roger Quadros --- Changelog: v2: - Fix build if DM_GPIO not set - Fix build on platforms that don't have by using --- include/phy.h | 7 +++ net/mdio-uclass.c

[PATCH v2 0/2] net: ti: am65-cpsw / cpsw-mdio: Switch to DM MDIO

2024-02-28 Thread Roger Quadros
, j721e_beagleboneai64 and AM335x BeagleBone. CI tests: https://github.com/u-boot/u-boot/pull/493 Signed-off-by: Roger Quadros --- Changes in v2: - Fix build if DM_GPIO not set. - Fix build on platforms that don't define - Link to v1: https://lore.kernel.org/r/20240219-for-2024-07-am65-cpsw-mdio-v1

Re: [PATCH v5] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-28 Thread Roger Quadros
On 17/02/2024 14:26, MD Danish Anwar wrote: > Add APIs to set a firmware_name to a rproc and boot the rproc with the > same firmware. > > Clients can call rproc_set_firmware() API to set firmware_name for a rproc > whereas rproc_boot() will load the firmware set by rproc_set_firmware() to > a

Re: [PATCH v5] misc: fs-loader: Use fw_storage_interface instead of storage_interface

2024-02-28 Thread Roger Quadros
On 28/02/2024 11:02, MD Danish Anwar wrote: > > On 27/02/24 7:33 pm, Sean Anderson wrote: >> Hi Danish, >> >> On 2/27/24 05:26, MD Danish Anwar wrote: >>> On 09/02/24 3:38 pm, MD Danish Anwar wrote: The fs-loader driver reads env storage_interface and uses it to load firmware file

Re: [PATCH 1/2] net: mdio: Handle bus level GPIO Reset

2024-02-27 Thread Roger Quadros
On 19/02/2024 17:33, Roger Quadros wrote: > Some platforms have bus level Reset controlled > by a GPIO line. If available then handle bus reset > via GPIO. > > Signed-off-by: Roger Quadros > --- > include/phy.h | 7 +++ >

Re: [PATCH 1/2] net: mdio: Handle bus level GPIO Reset

2024-02-27 Thread Roger Quadros
On 22/02/2024 08:59, Ravi Gunasekaran wrote: > > > On 2/19/24 9:03 PM, Roger Quadros wrote: >> Some platforms have bus level Reset controlled >> by a GPIO line. If available then handle bus reset >> via GPIO. >> >> Signed-off-by: Roger Qua

[PATCH 2/2] net: am65-cpsw: cpsw_mdio: Switch to proper DM_MDIO framework

2024-02-19 Thread Roger Quadros
Add a new Kconfig symbol MDIO_TI_CPSW for the CPSW MDIO driver and build it with proper DM support if enabled. If MDIO_TI_CPSW is not enabled then we continue to behave like before. Clean up MDIO custom handling in am65-cpsw and use dm_eth_phy_connect() to get the PHY. Signed-off-by: Roger

[PATCH 1/2] net: mdio: Handle bus level GPIO Reset

2024-02-19 Thread Roger Quadros
Some platforms have bus level Reset controlled by a GPIO line. If available then handle bus reset via GPIO. Signed-off-by: Roger Quadros --- include/phy.h | 7 +++ net/mdio-uclass.c | 37 - 2 files changed, 43 insertions(+), 1 deletion(-) diff --git

[PATCH 0/2] net: ti: am65-cpsw / cpsw-mdio: Switch to DM MDIO

2024-02-19 Thread Roger Quadros
BeagleBone. AM64-EVM network doesn't work at 1G but only at 100M. This limitation exists prior to this patch. CI tests: https://github.com/u-boot/u-boot/pull/491 Signed-off-by: Roger Quadros --- Roger Quadros (2): net: mdio: Handle bus level GPIO Reset net: am65-cpsw: cpsw_mdio: Switch

Re: [PATCH v4] misc: fs-loader: Use fw_storage_interface instead of storage_interface

2024-02-08 Thread Roger Quadros
Loader documentation accordingly. >> >> So why do you want to do this? I don't see what the point of renaming the >> variable is, since you are not e.g. adding any new functionality, and we >> have to pay for the rename in code size. >> > > I am upstreaming TI's

Re: [PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-07 Thread Roger Quadros
On 07/02/2024 09:15, MD Danish Anwar wrote: > Hi Roger > > On 06/02/24 7:11 pm, Roger Quadros wrote: >> >> >> On 06/02/2024 07:31, MD Danish Anwar wrote: >>> >>> >>> On 05/02/24 6:07 pm, Roger Quadros wrote: >>>> >>>&g

[PATCH] memory: ti-gpmc: Fix lock up at A53 SPL during NAND boot on AM64-EVM

2024-02-06 Thread Roger Quadros
. Fix the issue by disabling all IRQs at probe. Signed-off-by: Roger Quadros --- drivers/memory/ti-gpmc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/memory/ti-gpmc.c b/drivers/memory/ti-gpmc.c index 0b8674339e..8877b8f438 100644 --- a/drivers/memory/ti-gpmc.c +++ b/drivers

Re: [PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-06 Thread Roger Quadros
On 06/02/2024 07:31, MD Danish Anwar wrote: > > > On 05/02/24 6:07 pm, Roger Quadros wrote: >> >> >> On 05/02/2024 12:20, MD Danish Anwar wrote: >>> >>> >>> On 05/02/24 3:36 pm, Roger Quadros wrote: >>>> >>>> >&g

Re: [PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-05 Thread Roger Quadros
On 05/02/2024 12:20, MD Danish Anwar wrote: > > > On 05/02/24 3:36 pm, Roger Quadros wrote: >> >> >> On 02/02/2024 18:40, Anwar, Md Danish wrote: >>> Hi Roger, >>> >>> On 2/2/2024 4:49 PM, Roger Quadros wrote: >>>> >>&

Re: [PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-05 Thread Roger Quadros
On 02/02/2024 18:40, Anwar, Md Danish wrote: > Hi Roger, > > On 2/2/2024 4:49 PM, Roger Quadros wrote: >> >> >> On 30/01/2024 08:33, MD Danish Anwar wrote: >>> Add APIs to set a firmware_name to a rproc and boot the rproc with the >>> same firmware

Re: [PATCH v2 1/1] net: ti: am65-cpsw-nuss: Remove incorrect RGMII_ID bit functionality

2024-02-02 Thread Roger Quadros
df/spruiv7 (Rev. B Figure 14-1717) > https://www.ti.com/lit/gpn/am625 (Rev. B Figure 7-31 Note A) > https://www.ti.com/lit/an/sprad05b/sprad05b.pdf (Rev. B Section 7.4) > > Signed-off-by: Ken Sloat Reviewed-by: Roger Quadros

Re: [PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-02-02 Thread Roger Quadros
On 30/01/2024 08:33, MD Danish Anwar wrote: > Add APIs to set a firmware_name to a rproc and boot the rproc with the > same firmware. > > Clients can call rproc_set_firmware() API to set firmware_name for a rproc > whereas rproc_boot() will load the firmware set by rproc_set_firmware() to > a

[PATCH 2/3] arm: dts: k3-u-boot: Drop usage of "u-boot, mux-autoprobe"

2024-01-31 Thread Roger Quadros
MUX driver should autoprobe if the device tree has "idle-states" property. Drop using the custom "u-boot,mux-autoprobe" property. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-sk-u-boot.dtsi| 4 arch/arm/dts/k3-j721e-beagleboneai64-u-boot.dtsi

[PATCH 3/3] arm: dts: k3-u-boot: Add missing "bootph-all" property to MUX nodes.

2024-01-31 Thread Roger Quadros
As it is present for USB and USB won't work without the MUX initialized correctly, add "bootph-all" property to MUX nodes. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-sk-u-boot.dtsi| 4 arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi | 8

[PATCH 1/3] mux: autoprobe if "idle-states" present in device tree

2024-01-31 Thread Roger Quadros
roperty "u-boot,mux-autoprobe" to autoprobe such MUXes. This patch causes the MUX to autoprobe if it has "idle-states" property in device tree. This should allow us to stop using the custom "u-boot,mux-autoprobe" property. Signed-off-by: Roger Quadros --- drivers/mux

[PATCH 0/3] mux: Drop usage of "u-boot,mux-autoprobe"

2024-01-31 Thread Roger Quadros
Hi, MUX driver should autoprobe if the device tree has "idle-states" property. Drop using the custom "u-boot,mux-autoprobe" property in TI device trees. cheers, -roger Roger Quadros (3): mux: autoprobe if "idle-states" present in device tree arm: dts: k3-u-b

Re: [PATCH v8 13/16] arm: dts: Introduce am69-sk u-boot dts files

2024-01-22 Thread Roger Quadros
On 19/01/2024 19:50, Apurva Nandan wrote: > From: Dasnavis Sabiya > > Introduce the base dts files needed for u-boot or to augment the linux > dtbs for use in the u-boot-spl and u-boot binaries. > > Signed-off-by: Dasnavis Sabiya > Signed-off-by: Apurva Nandan > --- >

Re: [PATCH v8 08/16] drivers: dma: Add support for J784S4 SoC

2024-01-22 Thread Roger Quadros
, > + .subtype = 0, > + .range_start = 84, > + .range_num = 8, > + }, > + { }, > +}; > +#endif /* CONFIG_SOC_K3_J784S4 */ > + > #else > static struct ti_sci_resource_static_data rm_static_data[] = { > { }, > diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig > index 5b07e92030..8e9e53cbb0 100644 > --- a/drivers/ram/Kconfig > +++ b/drivers/ram/Kconfig > @@ -62,7 +62,7 @@ choice > depends on K3_DDRSS > prompt "K3 DDRSS Arch Support" > > - default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2 > + default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_J784S4 Should DDR support patch be independent of DMA support? This change should have gone in patch 2 "arm: mach-k3: Add basic support for J784S4 SoC definition" > default K3_AM64_DDRSS if SOC_K3_AM642 > default K3_AM64_DDRSS if SOC_K3_AM625 > default K3_AM62A_DDRSS if SOC_K3_AM62A7 Reviewed-by: Roger Quadros -- cheers, -roger

Re: [PATCH v8 07/16] arm: mach-k3: j784s4: Add clk and power support

2024-01-22 Thread Roger Quadros
iewed-by: Bryan Brattlof Reviewed-by: Roger Quadros

Re: [PATCH v8 06/16] soc: ti: k3-socinfo: Add entry for J784S4 SoC

2024-01-22 Thread Roger Quadros
On 19/01/2024 19:50, Apurva Nandan wrote: > Add support for J784S4 SoC Identification. > > Signed-off-by: Hari Nagalla > Signed-off-by: Apurva Nandan > Reviewed-by: Nishanth Menon Reviewed-by: Roger Quadros

Re: [PATCH v8 05/16] arm: mach-k3: Sort SoC JTAG_ID entries

2024-01-22 Thread Roger Quadros
On 19/01/2024 19:50, Apurva Nandan wrote: > Sort JTAG_IDs for K3 SoCs in hardware.h in alphabetical order. > > Signed-off-by: Apurva Nandan > Reviewed-by: Nishanth Menon Reviewed-by: Roger Quadros

Re: [PATCH v8 01/16] arm: mach-k3: Kconfig: Sort SOC_K3 config entries

2024-01-22 Thread Roger Quadros
On 19/01/2024 19:50, Apurva Nandan wrote: > Sort SOC_K3 config entries in alphabetical order > for clean up. > > Signed-off-by: Apurva Nandan Reviewed-by: Roger Quadros

Re: [PATCH 4/5] arm: dts: k3-j721e-beagleboneai64: Fix USB operation

2024-01-22 Thread Roger Quadros
On 20/01/2024 18:50, Tom Rini wrote: > On Mon, Jan 15, 2024 at 01:40:00PM +0200, Roger Quadros wrote: >> >> >> On 12/01/2024 15:21, Tom Rini wrote: >>> On Fri, Jan 12, 2024 at 07:14:50AM -0600, Nishanth Menon wrote: >>>> On 15:06-20240112, Roger Quadros

Re: [PATCH v1 1/1] net: ti: am65-cpsw-nuss: Remove incorrect RGMII_ID bit functionality

2024-01-18 Thread Roger Quadros
Hi Ken, On 16/01/2024 22:01, Ken Sloat wrote: > The CPSW implementations on the AM6x platforms do not support the > selectable RGMII TX clk delay functionality via the RGMII_ID_MODE bit as > the earlier platforms did. According to various TI datasheets, reference > manuals, hardware design guides

Re: [PATCH 03/10] soc: ti: k3-navss-ringacc: Initialize base address of ring cfg registers

2024-01-16 Thread Roger Quadros
Hi, On 12/01/2024 08:47, Siddharth Vadapalli wrote: > From: Kishon Vijay Abraham I > > Initialize base address of ring config registers required to natively > setup ring cfg registers in the absence of Device Manager (DM) services > at R5 SPL stage. > > Signed-off-by: Kishon Vijay Abraham I >

Re: [PATCH v4 2/7] usb: dwc3: Switch to device mode on gadget start

2024-01-15 Thread Roger Quadros
On 12/01/2024 16:18, Sjoerd Simons wrote: > On Fri, 2024-01-12 at 14:56 +0200, Roger Quadros wrote: >> >> >> On 12/01/2024 13:06, Sjoerd Simons wrote: >>> On Fri, 2024-01-12 at 12:39 +0200, Roger Quadros wrote: >>>> >>>> >>>> On

Re: [PATCH 4/5] arm: dts: k3-j721e-beagleboneai64: Fix USB operation

2024-01-15 Thread Roger Quadros
On 12/01/2024 15:21, Tom Rini wrote: > On Fri, Jan 12, 2024 at 07:14:50AM -0600, Nishanth Menon wrote: >> On 15:06-20240112, Roger Quadros wrote: >>> >>> >>> On 12/01/2024 15:02, Nishanth Menon wrote: >>>> On 14:49-20240112, Roger Quadros wrote: &

Re: [PATCH 4/5] arm: dts: k3-j721e-beagleboneai64: Fix USB operation

2024-01-12 Thread Roger Quadros
On 12/01/2024 15:02, Nishanth Menon wrote: > On 14:49-20240112, Roger Quadros wrote: >> Without correct SERDES MUX and Lane control settings >> USB0 will be broken. Set the MUX and Lane control devices >> to be auto probed so they are configured correctly. >> >

Re: [PATCH v4 2/7] usb: dwc3: Switch to device mode on gadget start

2024-01-12 Thread Roger Quadros
On 12/01/2024 13:06, Sjoerd Simons wrote: > On Fri, 2024-01-12 at 12:39 +0200, Roger Quadros wrote: >> >> >> On 12/01/2024 10:52, Sjoerd Simons wrote: >>> When dr_mode is "otg" the dwc3 is initially configured in _OTG >>> mode; >>>

[PATCH 5/5] configs/j721e_beagleboneai64_a72_defconfig: Enable Sierra PHY

2024-01-12 Thread Roger Quadros
This is required for USB Super-Speed operation. Signed-off-by: Roger Quadros --- configs/j721e_beagleboneai64_a72_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/j721e_beagleboneai64_a72_defconfig b/configs/j721e_beagleboneai64_a72_defconfig index 959f86844d..f66206f6e3

[PATCH 4/5] arm: dts: k3-j721e-beagleboneai64: Fix USB operation

2024-01-12 Thread Roger Quadros
Without correct SERDES MUX and Lane control settings USB0 will be broken. Set the MUX and Lane control devices to be auto probed so they are configured correctly. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-j721e-beagleboneai64-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 3/5] arm: dts: k3-j721e: Fix USB0 operation

2024-01-12 Thread Roger Quadros
Without correct SERDES MUX and Lane control settings USB0 will be broken. Set the MUX and Lane control devices to be auto probed so they are configured correctly. Fixes: 69b19ca67bcb ("arm: dts: k3-j721e: Sync with v6.6-rc1") Signed-off-by: Roger Quadros --- arch/arm/dts/k3-j721e-c

[PATCH 2/5] usb: cdns3: avoid error messages if phys don't exist

2024-01-12 Thread Roger Quadros
The phys property is optional so don't complain if it doesn't exist in device tree. Signed-off-by: Roger Quadros --- drivers/usb/cdns3/core.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c

[PATCH 1/5] board: ti: j721e: Drop SERDES PHY init from board file

2024-01-12 Thread Roger Quadros
UCLASS APIs. Signed-off-by: Roger Quadros --- board/ti/j721e/evm.c | 77 1 file changed, 77 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index c541880107..b77cffc5ef 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm

[PATCH 0/5] k3-j721e: beagleboneai: Fix USB

2024-01-12 Thread Roger Quadros
Hi, This series fixes USB operation on k3-j721e based boards. CI testing: https://github.com/u-boot/u-boot/pull/468 cheers, -roger Roger Quadros (5): board: ti: j721e: Drop SERDES PHY init from board file usb: cdns3: avoid error messages if phys don't exist arm: dts: k3-j721e: Fix USB0

Re: [PATCH v4 5/7] configs: am62x_evm_*: Enable USB and DFU support

2024-01-12 Thread Roger Quadros
On 12/01/2024 12:44, Sjoerd Simons wrote: > On Fri, 2024-01-12 at 11:58 +0200, Roger Quadros wrote: >> Hi Sjoerd, >> >> On 12/01/2024 10:52, Sjoerd Simons wrote: >>> Enable USB host as well as USB gadget and DFU support for a53; For >>> the >>

Re: [PATCH v4 6/7] beagleplay: Add DFU support

2024-01-12 Thread Roger Quadros
On 12/01/2024 10:52, Sjoerd Simons wrote: > DFU mode on a beagleplay can be used via the Type-C connector by holding > the USR switch while powering on. > > Configuration is only added for the A53 u-boot parts, for R5 the > am62x_r5_usbdfu.config fragment should be used. > > Signed-off-by:

Re: [PATCH v4 2/7] usb: dwc3: Switch to device mode on gadget start

2024-01-12 Thread Roger Quadros
On 12/01/2024 10:52, Sjoerd Simons wrote: > When dr_mode is "otg" the dwc3 is initially configured in _OTG mode; > However in this mode the gadget functionality doesn't work without > further configuration. To resolve that on gadget start switch to _DEVICE > mode globally and go back to _OTG on

Re: [PATCH v4 5/7] configs: am62x_evm_*: Enable USB and DFU support

2024-01-12 Thread Roger Quadros
Hi Sjoerd, On 12/01/2024 10:52, 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 config fragment for DFU > supports which disables support for persistent storage to free up space > for USB support > >

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

2024-01-11 Thread Roger Quadros
Hi Köry, On 06/10/2023 19:47, Simon Glass wrote: > Hi Köry, > > On Fri, 6 Oct 2023 at 07: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 se

[PATCH v2 4/4] arm: mach-k3: am642: Define NAND boot device

2024-01-11 Thread Roger Quadros
AM642 SoC supports booting from GPMC NAND device. Define boot device for it. Signed-off-by: Roger Quadros --- Notes: v2: No change arch/arm/mach-k3/am642_init.c| 3 +++ arch/arm/mach-k3/include/mach/am64_spl.h | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/arm/mach

[PATCH v2 0/4] mtd: omap_gpmc: Fix GPMC & NAND drivers

2024-01-11 Thread Roger Quadros
lts: https://github.com/u-boot/u-boot/pull/467 v1: https://lore.kernel.org/all/20240109122605.51951-1-rog...@kernel.org/ Roger Quadros (4): memory: ti-gpmc: Fix build mtd: rawnand: omap_gpmc: Use DT provided IO address mtd: rawnand: omap_gpmc: fix OF based partition parsing for NAND ar

[PATCH v2 3/4] mtd: rawnand: omap_gpmc: fix OF based partition parsing for NAND

2024-01-11 Thread Roger Quadros
Set NAND chip ofnode and device so OF based partition parsing can work. Signed-off-by: Roger Quadros --- Notes: v2: initial commit drivers/mtd/nand/raw/omap_gpmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/raw/omap_gpmc.c b/drivers/mtd/nand/raw/omap_gpmc.c

[PATCH v2 2/4] mtd: rawnand: omap_gpmc: Use DT provided IO address

2024-01-11 Thread Roger Quadros
For DM case we can get the NAND chip's IO address from DT so we don't need to rely on CFG_SYS_NAND_BASE. Signed-off-by: Roger Quadros --- Notes: v2: no change drivers/mtd/nand/raw/omap_gpmc.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v2 1/4] memory: ti-gpmc: Fix build

2024-01-11 Thread Roger Quadros
sys_proto.h no longer exists for K3 platform so drop it. Include sizes.h to so SZ_16M is visible. Signed-off-by: Roger Quadros --- Notes: v2: no change drivers/memory/ti-gpmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/ti-gpmc.c b/drivers/memory/ti

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

2024-01-11 Thread Roger Quadros
Hi, On 11/12/2023 13:45, Roger Quadros wrote: > Hi, > > These patches fix NAND and ELM for AM335x and related legacy platforms > that use HW BCH and ELM modules. > > All CI tests pass: https://github.com/u-boot/u-boot/pull/453 > > Changelog: > >

Re: [PATCH v7 15/17] configs: Add am69_sk_* defconfig fragments

2024-01-11 Thread Roger Quadros
On 19/12/2023 21:15, Apurva Nandan wrote: > From: Dasnavis Sabiya > > Add config fragments for am69_sk A72 and R5 configuration. > > This applies on to: > j784s4_evm_a72_defconfig -> am69_sk_a72.config > j784s4_evm_r5_defconfig -> am69_sk_r5.config > > The usage model (with the fragment)

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

2024-01-11 Thread Roger Quadros
On 09/01/2024 21:17, Nishanth Menon wrote: > On 14:26-20240109, Roger Quadros wrote: >> Hi, >> >> AM64-EVM [1] supports NAND via expansion card. >> >> This series fixes the GPMC memory and NAND drivers >> and provides NAND configuration for AM642 pla

Re: [PATCH V2 00/10] board/ti: k3 boards: Stop using findfdt

2024-01-11 Thread Roger Quadros
t; board: beagle: beagleplay: Set fdtfile from C code instead of findfdt > script > include: env: ti: Drop default_findfdt For this series: Reviewed-by: Roger Quadros -- cheers, -roger

Re: [PATCH V2 10/10] include: env: ti: Drop default_findfdt

2024-01-10 Thread Roger Quadros
On 09/01/2024 21:15, Nishanth Menon wrote: > We shouldn't need finfdt anymore. Drop the env script. > > Signed-off-by: Nishanth Menon > --- > Changes from V1: None. > > V1: https://lore.kernel.org/r/20240108173301.2692332-11...@ti.com > include/env/ti/default_findfdt.env | 12 >

Re: [PATCH 4/4] configs: am64x_evm_a53_defconfig: Enable NAND

2024-01-10 Thread Roger Quadros
+Lukasz & Mattijs On 10/01/2024 11:34, Roger Quadros wrote: > > > On 09/01/2024 22:00, Francesco Dolcini wrote: >> On Tue, Jan 09, 2024 at 02:54:00PM -0500, Tom Rini wrote: >>> On Tue, Jan 09, 2024 at 01:18:59PM -0600, Nishanth Menon wrote: >>>>

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

2024-01-10 Thread Roger Quadros
On 10/01/2024 11:02, MD Danish Anwar wrote: > > > On 10/01/24 2:24 pm, Roger Quadros wrote: >> On 10/01/2024 08:50, MD Danish Anwar wrote: >>> Hi Roger, >>> >>> On 27/12/23 3:49 pm, MD Danish Anwar wrote: >>>> On 20/12/23 4:10 pm, Roger Qu

Re: [PATCH 4/4] configs: am64x_evm_a53_defconfig: Enable NAND

2024-01-10 Thread Roger Quadros
On 09/01/2024 22:00, Francesco Dolcini wrote: > On Tue, Jan 09, 2024 at 02:54:00PM -0500, Tom Rini wrote: >> On Tue, Jan 09, 2024 at 01:18:59PM -0600, Nishanth Menon wrote: >>> On 14:26-20240109, Roger Quadros wrote: >>>> CONFIG_CMD_PMIC=y >>>> CONFIG

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

2024-01-10 Thread Roger Quadros
On 10/01/2024 08:50, MD Danish Anwar wrote: > Hi Roger, > > On 27/12/23 3:49 pm, MD Danish Anwar wrote: >> On 20/12/23 4:10 pm, Roger Quadros wrote: >>> >>> >>> On 19/12/2023 12:34, MD Danish Anwar wrote: >>>> Add ICSSG2 overlay and configur

Re: [PATCH 06/10] board: ti: j721e: Set fdtfile from C code instead of findfdt script

2024-01-09 Thread Roger Quadros
On 08/01/2024 19:32, Nishanth Menon wrote: > We now can provide a map and have the standard fdtfile variable set from > code itself. This allows for bootstd to "just work". > > While at this, replace findfdt in environment with a warning as it is no > longer needed. > > Signed-off-by:

Re: [PATCH 01/10] board: ti: common: Introduce a common fdt ops library

2024-01-09 Thread Roger Quadros
On 08/01/2024 19:32, Nishanth Menon wrote: > Introduce a common fdt operations library for basic device tree > operations that are common between various boards. > > The first library to introduce here is the capability to set up > fdtfile as a standard variable as part of board identification

Re: [PATCH 04/10] board: ti: am64x: Set fdtfile from C code instead of findfdt script

2024-01-09 Thread Roger Quadros
On 08/01/2024 19:32, Nishanth Menon wrote: > We now can provide a map and have the standard fdtfile variable set from > code itself. This allows for bootstd to "just work". > > While at this, replace findfdt in environment with a warning as it is no > longer needed. > > Signed-off-by:

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

2024-01-09 Thread Roger Quadros
On 09/01/2024 11:49, MD Danish Anwar wrote: > > > On 09/01/24 2:56 pm, Roger Quadros wrote: >> >> >> On 08/01/2024 12:25, MD Danish Anwar wrote: >>> On 08/01/24 3:00 pm, Roger Quadros wrote: >>>> >>>> >>>> On 05/01/2

[PATCH 4/4] configs: am64x_evm_a53_defconfig: Enable NAND

2024-01-09 Thread Roger Quadros
Enables configuration required for NAND in SPL and u-boot. Enable MTD Driver model and MTD + UBI command line utilities. Add mtdids/mtdparts for NAND as it is required for u-boot's MTD subsystem commands to recognize NAND partitions. Add u-boot partition location. Signed-off-by: Roger Quadros

[PATCH 3/4] arm: mach-k3: am642: Define NAND boot device

2024-01-09 Thread Roger Quadros
AM642 SoC supports booting from GPMC NAND device. Define boot device for it. Signed-off-by: Roger Quadros --- arch/arm/mach-k3/am642_init.c| 3 +++ arch/arm/mach-k3/include/mach/am64_spl.h | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm

[PATCH 2/4] mtd: rawnand: omap_gpmc: Use DT provided IO address

2024-01-09 Thread Roger Quadros
For DM case we can get the NAND chip's IO address from DT so we don't need to rely on CFG_SYS_NAND_BASE. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/omap_gpmc.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/nand/raw/omap_gpmc.c b

[PATCH 1/4] memory: ti-gpmc: Fix build

2024-01-09 Thread Roger Quadros
sys_proto.h no longer exists for K3 platform so drop it. Include sizes.h to so SZ_16M is visible. Signed-off-by: Roger Quadros --- drivers/memory/ti-gpmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/ti-gpmc.c b/drivers/memory/ti-gpmc.c index 775e78c9a5

[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

  1   2   3   4   5   6   >