Re: [PATCH v2 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-07-31 Thread Roger Quadros
On 31/07/2023 15:27, Roger Quadros wrote: > Hi, > > This series syncs AM64 DT files from Linux v6.5-rc1. > > NOTE: I have only boot tested this on AM64-GP-EVM. > I would appreciate a tested-by for AM64-sk EVM. Thanks. Also tested on AM64-SK SR2.0 HS-FS > > cheers,

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

2023-07-31 Thread Roger Quadros
-sel as driver picks these from standard property/node. 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.dtsi |

[PATCH v2 1/2] board: ti: am64x: Recognize AM64-HSEVM

2023-07-31 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 --- board/ti/am64x/evm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/e

[PATCH v2 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-07-31 Thread Roger Quadros
Roger Quadros (2): board: ti: am64x: Recognize AM64-HSEVM arm: dts: k3-am64: Sync DT with Linux v6.5-rc1 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

Re: [PATCH V2 0/3] arm: dts: Sync k3-am62 with upstream

2023-07-27 Thread Roger Quadros
s/k3-pinctrl.h > > [1] https://lore.kernel.org/all/20230406185542.1179073-1-sjo...@collabora.com/ > [2] > https://github.com/nmenon/fix-k3-dt-u-boot/commits/fdt-fixup-s1-am625-rev3.2 For this series: Reviewed-by: Roger Quadros

Re: [PATCH 0/4] net: ti: am65-cpsw-nuss: Fix DT binding handling of pinctrl

2023-07-27 Thread Roger Quadros
Ravi, On 27/07/2023 08:36, Ravi Gunasekaran wrote: > > > On 7/26/23 6:22 PM, Nishanth Menon wrote: >> On 14:44-20230726, Ravi Gunasekaran wrote: >> [...] >>> If it is the former, then would a duplicate mdio node help keep the changes >>> to minimum? >> >> That is worse hack. How does it make

Re: [PATCH 3/3] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-26 Thread Roger Quadros
Nishanth, On 25/07/2023 15:58, Nishanth Menon wrote: > Update the am62 and am625 device-trees from linux v6.3-rc5 This needed the > followin > tweaks to the u-boot specific dtsi as well: > - Switch tick-timer to the main_timer as it's now defined in the main dtsi > - Secure proxies are defined

Re: [PATCH v4 1/2] net: ti: am65-cpsw-nuss: Enforce pinctrl state on the MDIO child node

2023-07-25 Thread Roger Quadros
the driver a bit to create a dummy MDIO driver that we will > then get during our initialization to force the core to select the right > muxing. > > Signed-off-by: Maxime Ripard Acked-by: Roger Quadros

Re: [PATCH v2 3/3] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-24 Thread Roger Quadros
Hi Maxime, On 24/07/2023 10:44, Maxime Ripard wrote: > Hi, > > Thanks for your review > > On Sat, Jul 22, 2023 at 11:32:37AM +0300, Roger Quadros wrote: >> On 21/07/2023 16:07, Maxime Ripard wrote: >>> Dropping ranges entirely doesn't work since the register offs

Re: [PATCH v2 1/3] net: ti: am65-cpsw-nuss: Enforce pinctrl state on the MDIO child node

2023-07-24 Thread Roger Quadros
On 24/07/2023 11:39, Maxime Ripard wrote: > On Sat, Jul 22, 2023 at 11:25:50AM +0300, Roger Quadros wrote: >> On 21/07/2023 16:07, Maxime Ripard wrote: >>> The binding represents the MDIO controller as a child device tree >>> node of the MAC device tree node. >&

[RFC PATCH v2 4/4] arm: dts: k3-am625-sk-u-boot.dtsi: drop cpsw-phy-sel property

2023-07-22 Thread Roger Quadros
This was a custom property and we don't need it anymore. We are now using the standard property "phys" to get the PHY port control register. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/arm/dts/k3-

[RFC PATCH v2 3/4] arm: dts: k3-am625-sk-u-boot.dtsi: drop mac_efuse

2023-07-22 Thread Roger Quadros
This was a custom property and we don't need it anymore. We are now using the standard property "ti,syscon-efuse". Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/

[PATCH v2 2/4] net: ti: am65-cpsw-nuss: Get port mode register from standard "phys" property

2023-07-22 Thread Roger Quadros
Approved DT binding has the port mode register in the "phys" property. Get it from there instead of the custom "cpsw-phy-sel" property. This will allow us to keep DT in sync with Linux. Signed-off-by: Roger Quadros --- drivers/net/ti/am65-cpsw-nuss.c | 63

[PATCH v2 1/4] net: ti: am65-cpsw-nuss: Use approved property to get efuse address

2023-07-22 Thread Roger Quadros
The approved DT property for MAC efuse (ROM) address is "ti,syscon-efuse". Use that and drop custom property "mac_efuse". Signed-off-by: Roger Quadros --- drivers/net/ti/Kconfig | 1 + drivers/net/ti/am65-cpsw-nuss.c | 52 +++--

[PATCH v2 0/4] net: ti: am65-cpsw-nuss: Drop custom properties

2023-07-22 Thread Roger Quadros
. cheers, -roger Changelog: v2: - drop enabling CONFIG_SYSCON from defconfig. Use imply in Kconfig instead. - add patch to drop cpsw-phy-sel custom DT property. Roger Quadros (4): net: ti: am65-cpsw-nuss: Use approved property to get efuse address net: ti: am65-cpsw-nuss: Get port mode register

Re: [PATCH v2 3/3] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-22 Thread Roger Quadros
On 21/07/2023 16:07, Maxime Ripard wrote: > Dropping ranges entirely doesn't work since the register offset on the > MDIO device node will now be completely off, so we need to adjust it to > the right value without the translation. > > We also need to have an empty ranges property for the reg

Re: [PATCH v2 2/3] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-22 Thread Roger Quadros
ure to probe. > > Signed-off-by: Maxime Ripard Acked-by: Roger Quadros

Re: [PATCH v2 1/3] net: ti: am65-cpsw-nuss: Enforce pinctrl state on the MDIO child node

2023-07-22 Thread Roger Quadros
On 21/07/2023 16:07, Maxime Ripard wrote: > The binding represents the MDIO controller as a child device tree > node of the MAC device tree node. > > The U-Boot driver mostly ignores that child device tree node and just > hardcodes the resources it uses to support both the MAC and MDIO in a >

Re: [PATCH] usb: cdns3: gadget: Configure speed in udc_start

2023-07-22 Thread Roger Quadros
rt just like in the kernel. > > Signed-off-by: Ravi Gunasekaran Reviewed-by: Roger Quadros

Re: [PATCH 4/4] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-21 Thread Roger Quadros
On 21/07/2023 10:46, Maxime Ripard wrote: > On Thu, Jul 20, 2023 at 06:27:56PM +0300, Roger Quadros wrote: >> >> >> On 20/07/2023 12:55, Maxime Ripard wrote: >>> Dropping ranges entirely doesn't work since the register offset on the >>> MDIO device node

[RFC PATCH 2/2] arm: dts: k3-am625-sk-u-boot.dtsi: drop mac_efuse

2023-07-20 Thread Roger Quadros
This was a custom property and we don't need it anymore. We are now using the standard property "ti,syscon-efuse". Signed-off-by: Roger Quadros --- RFC because Nishanth can squash this into his DT sync series. The /delete-property/ ranges also needs to be deleted along with the dupl

[PATCH 1/2] net: ti: am65-cpsw-nuss: Use approved property to get efuse address

2023-07-20 Thread Roger Quadros
The approved DT property for MAC efuse (ROM) address is "ti,syscon-efuse". Use that and drop custom property "mac_efuse". Signed-off-by: Roger Quadros --- configs/am62x_evm_a53_defconfig | 1 + drivers/net/ti/am65-cpsw-nuss.c | 52 +++--

[PATCH 0/2] net: ti: am65-cpsw-nuss: Drop custom property "mac_efuse"

2023-07-20 Thread Roger Quadros
Hi, We need to track the Device tree in Linux. The approved property for MAC address EFUSE is "ti,syscon-efuse". Use that and drop custom property "mac_efuse". cheers, -roger Roger Quadros (2): net: ti: am65-cpsw-nuss: Use approved property to get efuse address arm

Re: [PATCH 1/4] pinctrl: Create a select_state variant with the ofnode

2023-07-20 Thread Roger Quadros
On 20/07/2023 12:55, Maxime Ripard wrote: > Some drivers might not follow entirely the driver/device association, > and thus might support what should be multiple devices in a single > driver. > > Such a driver is am65-cpsw-nuss, where the MAC and MDIO controllers are > different device tree

Re: [PATCH 2/4] net: ti: am65-cpsw-nuss: Enforce pinctrl state on the MDIO child node

2023-07-20 Thread Roger Quadros
On 20/07/2023 12:55, Maxime Ripard wrote: > The binding represents the MDIO controller as a child device tree > node of the MAC device tree node. > > The U-Boot driver mostly ignores that child device tree node and just > hardcodes the resources it uses to support both the MAC and MDIO in a >

Re: [PATCH 4/4] fixup! arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-20 Thread Roger Quadros
On 20/07/2023 12:55, Maxime Ripard wrote: > Dropping ranges entirely doesn't work since the register offset on the > MDIO device node will now be completely off, so we need to adjust it to > the right value without the translation. > > We also need to have an empty ranges property for the reg

Re: [RFC PATCH 4/4] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-20 Thread Roger Quadros
On 13/07/2023 10:20, Nishanth Menon wrote: > Update the am62 and am625 device-trees from linux v6.3-rc5 This needed the > followin > tweaks to the u-boot specific dtsi as well: > - Switch tick-timer to the main_timer as it's now defined in the main dtsi > - Secure proxies are defined in Soc

Re: [PATCH 0/4] net: ti: am65-cpsw-nuss: Fix DT binding handling of pinctrl

2023-07-20 Thread Roger Quadros
On 20/07/2023 17:12, Maxime Ripard wrote: > Hi > > Sorry, I didn't receive Roger mail so I'll reply here > > On Thu, Jul 20, 2023 at 09:00:19AM -0500, Nishanth Menon wrote: >> On 16:56-20230720, Roger Quadros wrote: >>> Hi, >>> >>

Re: [PATCH 0/4] net: ti: am65-cpsw-nuss: Fix DT binding handling of pinctrl

2023-07-20 Thread Roger Quadros
Hi, On 20/07/2023 16:33, Ravi Gunasekaran wrote: > > > On 7/20/2023 3:25 PM, Maxime Ripard wrote: >> Hi, >> >> This series is based on: >> https://lore.kernel.org/all/20230713072019.3153871-1...@ti.com/ >> >> It fixes the issue of Linux booting from the DT embedded by U-boot. The >> main issue

Re: [PATCH 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-07-18 Thread Roger Quadros
On 18/07/2023 00:01, Nishanth Menon wrote: > On 17:56-20230710, Roger Quadros wrote: >> Hi, >> >> This series syncs AM64/AM62 DT files with Linux. >> >> cheeers, >> -roger >> >> Roger Quadros (2): >> arm: dts: k3-am64: Sync DT with Lin

Re: [PATCH v3 00/12] Remove unnecessary USBx dr_mode configuration.

2023-07-13 Thread Roger Quadros
nged, 6 insertions(+), 16 deletions(-) > --- > base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f > change-id: 20230706-handle-otg-as-periph-4546e874cd15 > for this series: Acked-by: Roger Quadros -- cheers, -roger

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

2023-07-11 Thread Roger Quadros
Hi Simon, On 10/07/2023 22:45, Simon Glass wrote: > Hi Roger, > > On Mon, 10 Jul 2023 at 08:51, Roger Quadros wrote: >> >> Support the Expansion cards via Extension framework. >> This should make 'expansion' command work to scan >> for expansion cards and apply

Re: [PATCH v2 00/11] Remove unnecessary USBx dr_mode configuration.

2023-07-10 Thread Roger Quadros
- > drivers/usb/dwc3/dwc3-generic.c | 4 ++-- > 11 files changed, 2 insertions(+), 16 deletions(-) > --- > base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f > change-id: 20230706-handle-otg-as-periph-4546e874cd15 > > Best regards, For this series: Acked-by: Roger Quadros

[PATCH 1/2] arm: dts: k3-am64: Sync DT with Linux

2023-07-10 Thread Roger Quadros
Sync all am642-evm/am642-sk related DT files with Linux. 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.dtsi

[PATCH 2/2] board: ti: am64x: Recognize AM64-HSEVM

2023-07-10 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 --- board/ti/am64x/evm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/e

[PATCH 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-07-10 Thread Roger Quadros
Hi, This series syncs AM64/AM62 DT files with Linux. cheeers, -roger Roger Quadros (2): arm: dts: k3-am64: Sync DT with Linux board: ti: am64x: Recognize AM64-HSEVM arch/arm/dts/k3-am64-main.dtsi| 171 +++-- arch/arm/dts/k3-am64-mcu.dtsi | 53

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

2023-07-10 Thread Roger Quadros
Support the Expansion cards via Extension framework. This should make 'expansion' command work to scan for expansion cards and apply DT overlays. Card detection code is moved to a library so other boards can benefit from it. Signed-off-by: Roger Quadros --- board/ti/am65x/evm.c

[RFC PATCH 1/2] board: ti: common: Add CONFIG_TI_CAPE_DETECT for cape detection

2023-07-10 Thread Roger Quadros
CONFIG_CMD_EXTENSION may be used on other TI boards that may not require Cape detection logic. Add CONFIG_TI_CAPE_DETECT for Cape detection logic so it can be enabled independently. Enable it by default only for platforms that require it. i.e. AM335X Signed-off-by: Roger Quadros --- board/ti

[RFC PATCH 0/2] board: ti: Use Extension framework

2023-07-10 Thread Roger Quadros
environment 'extension_overlay_cmd' and 'extension_overlay_addr'. i.e. include/config_distro_bootcmd.h cheers, -roger Roger Quadros (2): board: ti: common: Add CONFIG_TI_CAPE_DETECT for cape detection board: ti: am65x: Move to using Extension framework board/ti/am335x/board.c| 8

Re: [PATCH 10/10] arm: dts: keystone-k2e-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Roger Quadros
On 10/07/2023 11:57, Julien Panis wrote: > Hi Roger, > > On 7/10/23 09:53, Roger Quadros wrote: >> Hi Julien, >> >> On 06/07/2023 19:07, Julien Panis wrote: >>> USB1 dual-role feature is already handled as peripheral only >>> in dwc3-generi

Re: [PATCH 10/10] arm: dts: keystone-k2e-evm-u-boot: Remove usb1 mode configuration

2023-07-10 Thread Roger Quadros
Hi Julien, On 06/07/2023 19:07, Julien Panis wrote: > USB1 dual-role feature is already handled as peripheral only > in dwc3-generic driver. > > Signed-off-by: Julien Panis > --- > arch/arm/dts/keystone-k2e-evm-u-boot.dtsi | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-06 Thread Roger Quadros
Hi Nishanth, On 06/07/2023 15:38, Nishanth Menon wrote: > On 21:10-20230704, Roger Quadros wrote: >> main_i2c0 and pinmux should be in k3-am642-evm.dts. >> Also add the I2C EEPROM. >> >> Signed-off-by: Roger Quadros >> --- >> arch/arm/dts/k3-am642-evm-u-

Re: [PATCH v4 0/2] Fix 'no USB device found' error.

2023-07-06 Thread Roger Quadros
9...@baylibre.com > > --- > Julien Panis (2): > musb-new: ti-musb: Handle usb dual-role feature as peripheral > arm: dts: am335x-evm-u-boot: Remove usb0 mode configuration for this series: Reviewed-by: Roger Quadros I also see other boards doing the wrong thing. i.e. re

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-07-06 Thread Roger Quadros
On 06/07/2023 06:53, Tony Lindgren wrote: > * Tom Rini [230703 16:22]: >> On Mon, Jul 03, 2023 at 07:12:47PM +0300, Roger Quadros wrote: >>> Linux DT files are correct. USB0 is a dual-role port so it sets it to 'otg'. >>> u-boot doesn't support 'otg' so we need to

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

2023-07-05 Thread Roger Quadros
On 04/07/2023 21:10, Roger Quadros wrote: > use "am64x_evm" board name in environment for both AM64-GPEVM and > AM64-HSEVM. > > Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header" > > Signed-off-by: Roger Quadros > --- > boa

[PATCH 6/6] configs: am64x_evm_a53_defconfig: Enable I2C GPIO drivers

2023-07-04 Thread Roger Quadros
We need the I2C GPIO drivers to detect expansion cards. Signed-off-by: Roger Quadros --- configs/am64x_evm_a53_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index 4589624e96..3a8d2ed3b6 100644 --- a/configs

[PATCH 4/6] arm: dts: k3-am642-r5-evm: Add I2C0 and Card detect GPIOs

2023-07-04 Thread Roger Quadros
Card detect GPIOs are on I2C GPIO Expander on I2C0. Enable I2C0 and GPIO Expander for r5-evm. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-r5-evm.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/dts/k3-am642-r5-evm.dts b/arch/arm/dts/k3-am642-r5

[PATCH 5/6] arm: dts: k3-am642: Add I2C GPIO Expander

2023-07-04 Thread Roger Quadros
The I2C GPIO expander at address 0x38 is used for card detect GPIOs. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 arch/arm/dts/k3-am642-evm.dts | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch

[PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel

2023-07-04 Thread Roger Quadros
main_i2c0 and pinmux should be in k3-am642-evm.dts. Also add the I2C EEPROM. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 11 --- arch/arm/dts/k3-am642-evm.dts | 20 2 files changed, 20 insertions(+), 11 deletions(-) diff --git

[PATCH 2/6] board: ti: am64x: Add HSE NAND card detection support

2023-07-04 Thread Roger Quadros
Add expansion card detection support. Add NAND card detection support. am64-sk EVM doesn't support daughtercards so let's restrict daughtercard probing to am64-evm. Signed-off-by: Roger Quadros --- board/ti/am64x/evm.c | 177 +++ 1 file changed, 177

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

2023-07-04 Thread Roger Quadros
use "am64x_evm" board name in environment for both AM64-GPEVM and AM64-HSEVM. Gets rid of "Unidentified board claims AM64-HSEVM in eeprom header" Signed-off-by: Roger Quadros --- board/ti/am64x/evm.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --

[PATCH 0/6] ti: k3-am642: Add daughtercard support

2023-07-04 Thread Roger Quadros
Hi, This series adds daughtercard detection support for am642-evm. NAND card support is added. cheers, -roger Roger Quadros (6): board: ti: am64x: Recognize AM64-HSEVM board: ti: am64x: Add HSE NAND card detection support arm: dts: k3-am642: Sync main_i2c0 with kernel arm: dts: k3

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-07-03 Thread Roger Quadros
On 26/06/2023 10:32, Nishanth Menon wrote: > On 13:59-20230623, Tom Rini wrote: >> On Fri, Jun 23, 2023 at 09:42:01AM +0200, Julien Panis wrote: >>> >>> >>> On 6/22/23 17:49, Tom Rini wrote: On Thu, Jun 22, 2023 at 04:34:34PM +0200, Julien Panis wrote: > This series fixes usb0 dr_mode

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-07-03 Thread Roger Quadros
35x-icev2-u-boot.dtsi | 4 > 2 files changed, 8 insertions(+) For this series: Reviewed-by: Roger Quadros -- cheers, -roger

Re: U-Boot OMAP GPMC ECC change

2023-05-19 Thread Roger Quadros
Hi Colin, On 19/05/2023 02:19, Colin Foster wrote: > Hi Roger, > > I really appreciate the help! > > On Thu, May 18, 2023 at 01:55:38PM +0300, Roger Quadros wrote: >> Hi Colin, >> >> On 17/05/2023 22:39, Colin Foster wrote: >>> >>> I s

Re: U-Boot OMAP GPMC ECC change

2023-05-18 Thread Roger Quadros
Hi Colin, On 17/05/2023 22:39, Colin Foster wrote: > Hi Roger, > > Thanks for the tests. I attached the files and commented in line... but > at the bottom of this email I have some findings... > > On Wed, May 17, 2023 at 04:30:55PM +0300, Roger Quadros wrote: >> Hi Co

Re: U-Boot OMAP GPMC ECC change

2023-05-17 Thread Roger Quadros
Hi Colin, On 12/05/2023 19:05, Colin Foster wrote: > Hi Roger, > > On Fri, May 12, 2023 at 02:53:07PM +0300, Roger Quadros wrote: >> >> >> On 10/05/2023 18:38, Colin Foster wrote: >>> >>> This is still out-of-U-Boot. I h

Re: [PATCH] phy: ti: phy-j721e-wiz: Add j721s2-wiz-10g module support

2023-05-15 Thread Roger Quadros
On 15/05/2023 13:50, Ravi Gunasekaran wrote: > Add support for j721s2-wiz-10g device to use clock-names interface > instead of explicitly defining clock nodes within device tree node. > > Signed-off-by: Ravi Gunasekaran Reviewed-by: Roger Quadros

Re: U-Boot OMAP GPMC ECC change

2023-05-13 Thread Roger Quadros
On 12/05/2023 19:05, Colin Foster wrote: > Hi Roger, > > On Fri, May 12, 2023 at 02:53:07PM +0300, Roger Quadros wrote: >> >> >> On 10/05/2023 18:38, Colin Foster wrote: >>> >>> This is still out-of-U-Boot. I have an include/configs/our_product.

Re: U-Boot OMAP GPMC ECC change

2023-05-12 Thread Roger Quadros
On 10/05/2023 18:38, Colin Foster wrote: > Hi Roger, > > On Wed, May 10, 2023 at 12:42:43PM +0300, Roger Quadros wrote: >> Hi Colin, >> >> On 09/05/2023 18:31, Colin Foster wrote: >>> Hi Roger, >>> >>> I was looking to test my system ag

Re: [PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-11 Thread Roger Quadros
gt; Signed-off-by: Aswath Govindraju Reviewed-by: Roger Quadros

Re: U-Boot OMAP GPMC ECC change

2023-05-10 Thread Roger Quadros
Hi Colin, On 09/05/2023 18:31, Colin Foster wrote: > Hi Roger, > > I was looking to test my system against U-Boot 2023.04. I'm running an > OMAP 4460 SOM (I've been waiting to get kernel acceptance before U-Boot, > but that has slipped) and it boots from NAND. > > When I jumped from 2023.01 to

Re: [EXTERNAL] Re: [PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-10 Thread Roger Quadros
+Pawel & Peter On 09/05/2023 08:58, Ravi Gunasekaran wrote: > Hi Roger, > > On 05/05/23 6:02 pm, Roger Quadros wrote: >> Hi Ravi, >> >> On 05/05/2023 15:13, Ravi Gunasekaran wrote: >>> From: Aswath Govindraju >>> >>> When th

Re: [PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-05 Thread Roger Quadros
Hi Ravi, On 05/05/2023 15:13, Ravi Gunasekaran wrote: > From: Aswath Govindraju > > When the device port is in a low power state [U3/L2/Not Connected], > accesses to usb device registers may take a long time. This could lead to > potential core hang when the controller registers are accessed

Re: [PATCH 04/23] arm: dts: k3-am642-sk: Fix mmc1 pinmux pull polarity

2023-04-17 Thread Roger Quadros
On 17/04/2023 14:12, Nishanth Menon wrote: > On 13:42-20230417, Roger Quadros wrote: >> >> >> On 14/04/2023 10:57, Nishanth Menon wrote: >>> Fix the pinmux pull polarity. >>> >>> This is a pending upstream kernel updates as of v6.3-rc6. >>

Re: [PATCH 04/23] arm: dts: k3-am642-sk: Fix mmc1 pinmux pull polarity

2023-04-17 Thread Roger Quadros
On 14/04/2023 10:57, Nishanth Menon wrote: > Fix the pinmux pull polarity. > > This is a pending upstream kernel updates as of v6.3-rc6. > > Signed-off-by: Nishanth Menon > --- > Sent to kernel.org > https://lore.kernel.org/linux-devicetree/20230414073328.381336-1...@ti.com/ Link to actual

[u-boot PATCH v2 3/3] arm: dts: k3-am64: Fix CPSW3G ethernet

2023-01-24 Thread Roger Quadros
Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 3 ++ arch/arm/dts/k3-am642-r5-evm.dts | 41 +++ 2 files changed, 44 insertions(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index fa7750d634f

[u-boot PATCH v2 2/3] arm: dts: k3-am6: Fix "EEPROM not available" error

2023-01-24 Thread Roger Quadros
We need to enable i2c0 so u-boot can read from EEPROM. Signed-off-by: Roger Quadros Reviewed-by: Tom Rini --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index

[u-boot PATCH v2 1/3] arm: dts: k3-am64: sync with Linux DT files

2023-01-24 Thread Roger Quadros
Sync AM64 DT files with Linux v6.2-rc4 Signed-off-by: Roger Quadros Reviewed-by: Tom Rini --- arch/arm/dts/k3-am64-main.dtsi | 551 +++-- arch/arm/dts/k3-am64-mcu.dtsi | 16 +- arch/arm/dts/k3-am64.dtsi | 4 + arch/arm/dts/k3-am642-evm.dts | 117

[u-boot PATCH v2 0/3] arm: dts: k3-am64: Sync DT files with Linux

2023-01-24 Thread Roger Quadros
Hi, This series syncs AM64 DT files with Linux v6.2-rc4. CPSW and Board EEPROM breakage are resolved in follow up patches. Only MMC and NFS boot have been tested. cheers, -roger Changelog: v2: - move CPSW3G fixes to -u-boot.dtsi file. Roger Quadros (3): arm: dts: k3-am64: sync with Linux

Re: [u-boot PATCH] arm: dts: k3-am64-main: Add GPMC and ELM nodes

2023-01-10 Thread Roger Quadros
On 09/01/2023 19:29, Tom Rini wrote: > On Wed, Jan 04, 2023 at 11:53:06AM +0200, Roger Quadros wrote: > >> The GPMC is a unified memory controller dedicated for interfacing >> with external memory devices like >> - Asynchronous SRAM-like memories and ASICs >&g

Re: Pull request for u-boot-nand-20230104

2023-01-08 Thread Roger Quadros
gt;> >>>> On Sat, Jan 07, 2023 at 04:48:02PM +0200, Roger Quadros wrote: >>>> >>>>> >>>>> On 07/01/2023 16:19, Roger Quadros wrote: >>>>>> Hi, >>>>>> >>>>>> On 06/01/2023 20:5

Re: Pull request for u-boot-nand-20230104

2023-01-07 Thread Roger Quadros
On 07/01/2023 16:19, Roger Quadros wrote: > Hi, > > On 06/01/2023 20:59, Tom Rini wrote: >> On Thu, Jan 05, 2023 at 09:10:55AM +0100, Dario Binacchi wrote: >> >>> Hi Tom, >>> >>> The following changes since commit a95410696d21d38b629c61a09c10

Re: Pull request for u-boot-nand-20230104

2023-01-07 Thread Roger Quadros
a00d3ddff54: >> >> mtd: rawnand: omap_elm: u-boot driver model support (2023-01-04 >> 17:24:30 +0100) >> >> Gitlab CI showed no issues: >> https://source.denx.de/u-boot/custodians/u-boot-nand-flash/-/pipelines/14597 >> > > NAK. This commit: >

[u-boot PATCH] arm: dts: k3-am64-main: Add GPMC and ELM nodes

2023-01-04 Thread Roger Quadros
and correcting errors during reads due to NAND bitflips errors. 4-, 8-, and 16-bit error-correction levels are supported using the BCH (Bose-ChaudhurI-Hocquenghem) algorithm. Signed-off-by: Roger Quadros --- arch/arm/dts/k3-am64-main.dtsi | 26 ++ 1 file changed, 26

Re: [u-boot][PATCH v2 8/8] mtd: rawnand: omap_elm: u-boot driver model support

2022-12-23 Thread Roger Quadros
Hi Michael, On 22/12/2022 23:35, Michael Nazzareno Trimarchi wrote: > Hi Roger > > On Wed, Dec 21, 2022 at 9:08 PM Michael Nazzareno Trimarchi > wrote: >> >> Hi >> >> On Wed, Dec 21, 2022 at 8:57 PM Roger Quadros wrote: >>> >>> Hi M

Re: [u-boot][PATCH v2 8/8] mtd: rawnand: omap_elm: u-boot driver model support

2022-12-21 Thread Roger Quadros
Hi Michael, On 21/12/2022 19:56, Michael Nazzareno Trimarchi wrote: > Hi Roger > > On Tue, Dec 20, 2022 at 11:22 AM Roger Quadros wrote: >> >> Support u-boot driver model. We still retain >> support legacy way of doing things if ELM_BASE >> is defined in

[u-boot][PATCH v2 8/8] mtd: rawnand: omap_elm: u-boot driver model support

2022-12-20 Thread Roger Quadros
Support u-boot driver model. We still retain support legacy way of doing things if ELM_BASE is defined in We could completely get rid of that if all platforms defining ELM_BASE get rid of that definition and enable CONFIG_SYS_NAND_SELF_INIT and are verified to work. Signed-off-by: Roger Quadros

[u-boot][PATCH v2 7/8] dt-bindings: mtd: Add ti, elm DT binding documentation

2022-12-20 Thread Roger Quadros
Adds DT binding documentation for the TI Error Location Module. This is picked up from the Linux Kernel. Signed-off-by: Roger Quadros --- doc/device-tree-bindings/mtd/ti,elm.yaml | 72 1 file changed, 72 insertions(+) create mode 100644 doc/device-tree-bindings/mtd/ti

[u-boot][PATCH v2 6/8] mtd: rawnand: omap_gpmc: Enable SYS_NAND_PAGE_COUNT for OMAP_GPMC

2022-12-20 Thread Roger Quadros
The symbol is required for NAND support in SPL when using OMAP_GPMC driver. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index e53c9284a0d

[u-boot][PATCH v2 5/8] mtd: rawnand: omap_gpmc: Add SPL NAND support

2022-12-20 Thread Roger Quadros
Enables SPL NAND support for ARCH_K3 by enabling SPL_NAND_INIT and SPL_SYS_NAND_SELF_INIT. Legacy OMAP2plus platforms still rely on SPL_NAND_AM33XX_BCH instead. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/Kconfig | 5 drivers/mtd/nand/raw/Makefile| 2 +- drivers/mtd

[u-boot][PATCH v2 4/8] mtd: rawnand: omap_gpmc: support u-boot driver model

2022-12-20 Thread Roger Quadros
provides nand_init() so we need to get rid of nand_init() in omap_gpmc driver if CONFIG_SPL_NAND_INIT is set. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/Kconfig | 1 + drivers/mtd/nand/raw/omap_gpmc.c | 64 +++- 2 files changed, 64 insertions(+), 1 deletion

[u-boot][PATCH v2 3/8] dt-bindings: mtd: Add ti, gpmc-nand DT binding documentation

2022-12-20 Thread Roger Quadros
Add DT binding documentation for the TI GPMC NAND controller. This is picked up from the Linux Kernel. Signed-off-by: Roger Quadros --- .../mtd/ti,gpmc-nand.yaml | 129 ++ 1 file changed, 129 insertions(+) create mode 100644 doc/device-tree-bindings/mtd/ti

[u-boot][PATCH v2 1/8] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-12-20 Thread Roger Quadros
The BCH detection hardware can generate ECC bytes for multiple sectors in one go. Use that feature. correct() only corrects one sector at a time so we need to call it repeatedly for each sector. Signed-off-by: Roger Quadros Reviewed-by: Michael Trimarchi --- drivers/mtd/nand/raw/omap_gpmc.c

[u-boot][PATCH v2 2/8] mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbt

2022-12-20 Thread Roger Quadros
nand_bbt.c is not being built with the nand_base driver during SPL build. This results in build failures if we try to access any nand_bbt related functions. Don't use any nand_bbt functions for SPL build. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/nand_base.c | 18

[u-boot][PATCH v2 0/8] rawnand: omap_gpmc: driver model support

2022-12-20 Thread Roger Quadros
fere with existing platforms that don't use Driver Model for ELM driver. Roger Quadros (8): mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbt dt-bindings: mtd: Add ti,gpmc-nand DT binding documenta

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Roger Quadros
-roger > > On Sat, Dec 17, 2022 at 2:46 PM Michael Nazzareno Trimarchi > wrote: >> >> Hi >> >> take my config >> >> Michael >> >> On Sat, Dec 17, 2022 at 2:43 PM Roger Quadros wrote: >>> >>> On 17/12/2022 15:38, Michael Nazz

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Roger Quadros
On 17/12/2022 15:38, Michael Nazzareno Trimarchi wrote: > Hi > > On Sat, Dec 17, 2022 at 2:00 PM Roger Quadros wrote: >> >> Hi Michael & Dario, >> >> On 12/12/2022 11:39, Michael Nazzareno Trimarchi wrote: >>> Hi Roger >>> >>> Mo

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-17 Thread Roger Quadros
> Michael > > On Mon, Dec 12, 2022 at 10:27 AM Dario Binacchi > wrote: >> >> Hi Roger, >> >> On Mon, Dec 12, 2022 at 10:12 AM Roger Quadros wrote: >>> >>> Hi Dario, >>> >>> On 11/12/2022 15:56, Dario Binacchi wrote: >>

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-12-12 Thread Roger Quadros
Hi Dario, On 11/12/2022 15:56, Dario Binacchi wrote: > Hi Roger, > > On Fri, Nov 25, 2022 at 1:38 PM Roger Quadros wrote: >> >> Hi Michael, >> >> On 08/11/2022 11:26, Michael Nazzareno Trimarchi wrote: >>> Hi Roger >>> >>> On Fr

Re: [u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-12-01 Thread Roger Quadros
On 30/11/2022 10:11, Dario Binacchi wrote: > Hi Tom, > > On Tue, Nov 29, 2022 at 5:18 PM Tom Rini wrote: >> >> On Tue, Nov 29, 2022 at 04:25:13PM +0100, Dario Binacchi wrote: >>> Hi Roger, >>> >>> On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros

Re: [u-boot][PATCH 06/14] mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbt

2022-11-29 Thread Roger Quadros
Hi Michael, On 28/11/2022 16:27, Michael Nazzareno Trimarchi wrote: > Hi > > On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: >> >> nand_bbt.c is not being built with the nand_base driver during SPL >> build. This results in build failures if we try to acc

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-11-25 Thread Roger Quadros
Hi Michael, On 08/11/2022 11:26, Michael Nazzareno Trimarchi wrote: > Hi Roger > > On Fri, Nov 4, 2022 at 2:27 PM Roger Quadros wrote: >> >> Hi, >> >> On 11/10/2022 14:49, Roger Quadros wrote: >>> Hi, >>> >>> This series adds driver m

Re: [u-boot][PATCH 00/14] rawnand: omap_gpmc: driver model support

2022-11-04 Thread Roger Quadros
Hi, On 11/10/2022 14:49, Roger Quadros wrote: > Hi, > > This series adds driver model support for rawnand: omap_gpmc > and omap_elm drivers. > > This will enable the driver to be used on K2/K3 platforms as well. Any comments on patches 5 and later? Thanks cheers, -

Re: Binman entry 'u-boot-any' not found in list

2022-10-31 Thread Roger Quadros
Hi Neha, On 31/10/2022 05:40, Neha Malcom Francis wrote: > Hi Simon, > > On 30/10/22 07:13, Simon Glass wrote: >> Hi Neha, >> >> On Fri, 28 Oct 2022 at 04:58, Fabio Estevam wrote: >>> >>> [Adding Alper - binmam maintainer and Oliver, who faced the same issue on >>> imx8] >>> >>> On Fri, Oct

[PATCH v2] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-26 Thread Roger Quadros
to the header. This fixes NAND boot on OMAP3 BeagleBoard. Signed-off-by: Roger Quadros Reviewed-By: Michael Trimarchi --- Changelog: v2: - Explained that extra allocation is avoided in commit message common/spl/spl_legacy.c | 19 --- common/spl/spl_nand.c | 2 +- common/spl

Re: [u-boot][PATCH v2 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL

2022-10-26 Thread Roger Quadros
Tom, On 26/10/2022 02:35, Simon Glass wrote: > Hi Tom, > > On Thu, 20 Oct 2022 at 06:29, Tom Rini wrote: >> >> On Thu, Oct 20, 2022 at 03:23:42PM +0300, Roger Quadros wrote: >>> Hi Tom, >>> >>> On 19/10/2022 15:54, Tom Rini wrote: >>>

[u-boot][PATCH v3 4/4] memory: Add TI GPMC driver

2022-10-20 Thread Roger Quadros
on the settings specified in the Device tree and then probe its children. Signed-off-by: Roger Quadros --- drivers/memory/Kconfig| 19 + drivers/memory/Makefile |1 + drivers/memory/ti-gpmc.c | 1240 + drivers/memory/ti-gpmc.h | 298

[u-boot][PATCH v3 3/4] dt/bindings: memory: Add bindings for TI GPMC driver

2022-10-20 Thread Roger Quadros
multiple devices on the bus, each device is represented as a child and the respective GPMC settings are situated there. (see ti,gpmc-child.yaml) These binding docs are picked up from the Linux kernel. Signed-off-by: Roger Quadros --- .../memory/ti,gpmc-child.yaml | 252

[u-boot][PATCH v3 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL

2022-10-20 Thread Roger Quadros
Introduce CONFIG_SPL_MEMORY to allow Memory drivers to be built for SPL. Signed-off-by: Roger Quadros --- common/spl/Kconfig | 7 +++ scripts/Makefile.spl | 1 + 2 files changed, 8 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 70d97815f0..186131a699 100644

<    1   2   3   4   5   6   >