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,
-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 |
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
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
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
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
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
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
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
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.
>&
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-
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/
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
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 +++--
.
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
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
ure to probe.
>
> Signed-off-by: Maxime Ripard
Acked-by: 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
>
rt just like in the kernel.
>
> Signed-off-by: Ravi Gunasekaran
Reviewed-by: 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
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
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 +++--
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
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
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
>
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
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
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,
>>>
>>
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
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
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
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
-
> 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
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
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
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
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
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
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
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
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
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-
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
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
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
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
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
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
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
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
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 --
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
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
35x-icev2-u-boot.dtsi | 4
> 2 files changed, 8 insertions(+)
For this series:
Reviewed-by: Roger Quadros
--
cheers,
-roger
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
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
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
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
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.
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
gt; Signed-off-by: Aswath Govindraju
Reviewed-by: 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
+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
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
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.
>>
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
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
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
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
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
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
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
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
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:
>
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
> 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:
>>
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
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
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
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
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,
-
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
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
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:
>>>
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
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
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
201 - 300 of 592 matches
Mail list logo