[PULL] u-boot-at91-2025.10-b

2025-07-29 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2025.10-b , the second set of at91 features and fixes for the next 2025.10 cycle. This feature set includes the addition of new sama7d65 SoC and a new board named sama7d65-curiosity. Thanks, Eugen The following changes since commit 3532f1f5edfc97c9dcea723

Re: [PATCH 0/6] Add support for sama7d65 SoC and sama7d65 curiosity board

2025-07-28 Thread Eugen Hristev
On 7/7/25 14:29, Varshini Rajendran wrote: > This patch series adds support for the new SoC sama7d65. > - sama7d65 SoC is added > - Clock driver for sama7d65 is added > - Target board SAMA7D65 Curiosity is added with its differences in DT > and MMC config support > > Ryan Wanner (6): > cl

Re: [PATCH] arm: atmel_qspi: fix race condition in transfer completion check

2025-07-21 Thread Eugen Hristev
gt; > Am Mo., 14. Juli 2025 um 22:33 Uhr schrieb Eugen Hristev < > eugen.hris...@linaro.org>: > >> Hello Ramin, >> >> Thank you for your patch. >> >> Can you please change the subject to have "spi: atmel_qspi: ..." >> >> On 7/13/25

Re: [PATCH] arm: atmel_qspi: fix race condition in transfer completion check

2025-07-14 Thread Eugen Hristev
Hello Ramin, Thank you for your patch. Can you please change the subject to have "spi: atmel_qspi: ..." On 7/13/25 19:08, Ramin Moussavi wrote: > In atmel_qspi_transfer(), the status register is polled with: > > imr = QSPI_SR_INSTRE | QSPI_SR_CSR; > return readl_poll_timeout(aq->regs + QSPI

[PULL next] u-boot-at91-2025.10-a

2025-06-20 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2025.10-a , the first set of at91 features and fixes for the next 2025.10 cycle. This feature set includes the addition of new sam9x7 SoC and a new board named sam9x7-curiosity. There is also new support for sam9x60 compatible at91 watchdog. Thanks, Eugen

Re: [PATCH v6 0/9] Add support for sam9x7 SoC and SAM9X75 Curiosity board

2025-06-18 Thread Eugen Hristev
On 6/3/25 08:05, Manikandan Muralidharan wrote: > This patch series adds support for the new SoC family - sam9x7. > - sam9x7 SoC is added > - Clock driver for sam9x7 is added > - Target board SAM9X75 Curiosity is added with its differences in DT > and MMC config support > > > changes

Re: [PATCH v6 7/9] ARM: dts: at91: sam9x75_curiosity: add tweaks for sam9x75 curiosity board

2025-06-18 Thread Eugen Hristev
On 6/3/25 08:05, Manikandan Muralidharan wrote: > Since the SoC and board DT are already available in dts/upstream, > add the difference from upstream DTS to at91-sam9x75_curiosity-u-boot.dtsi > > Signed-off-by: Manikandan Muralidharan > --- Reviewed-by: Eugen Hristev

Re: [PATCH v6 9/9] configs: sam9x75_curiosity: Add initial mmc default config

2025-06-18 Thread Eugen Hristev
On 6/3/25 08:05, Manikandan Muralidharan wrote: > Add default configuration for sd-card to boot the linux kernel. > > Signed-off-by: Manikandan Muralidharan > --- Reviewed-by: Eugen Hristev

Re: [PATCH v6 8/9] board: sam9x75_curiosity: Add support for sam9x75 curiosity

2025-06-18 Thread Eugen Hristev
On 6/3/25 08:05, Manikandan Muralidharan wrote: > Add board specific functions for sam9x75 curiosity > > Signed-off-by: Manikandan Muralidharan > --- Reviewed-by: Eugen Hristev

Re: [PATCH v6 4/9] clk: at91: clk-main: drop parent_name check when registering main_rc oscillator

2025-06-05 Thread Eugen Hristev
On 6/6/25 07:42, manikanda...@microchip.com wrote: > Hi Eugen, > > On 05/06/25 12:05 pm, Eugen Hristev wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On 6/3/25 08:05, Manikandan Muralidharan wro

Re: [PATCH v6 4/9] clk: at91: clk-main: drop parent_name check when registering main_rc oscillator

2025-06-04 Thread Eugen Hristev
On 6/3/25 08:05, Manikandan Muralidharan wrote: > The clk_register function logs an error if parent_name is missing from the > Device Tree.On the SAM9X7, the main_rc node is omitted to stay aligned with > the Linux Device Tree.Remove the parent_name check in at91_clk_main_rc() > to allow it to p

Re: [PATCH] usb: gadget: atmel: reliably generate disconnect by disabling controller instead of toggling PULLD_DIS

2025-06-04 Thread Eugen Hristev
On 6/4/25 11:20, Mattijs Korpershoek wrote: > Hi Zixun, > > Thank you for the patch. > > On Mon, Jun 02, 2025 at 17:45, Zixun LI wrote: > > I'm surprised that checkpatch.pl does not catch this, but the subject > (title) is too long (it should be less than 70 chars): > https://docs.u-boot.org

Re: [PATCH] atmel: Remove local

2025-06-03 Thread Eugen Hristev
ot;dt-bindings: clock: add >>>>> clock definitions for Ralink SoCs") from the kernel applied. However, >>>>> this change is rather important and should not have been omitted here >>>>> most likely. Remove our local copy to get in sync with upstre

Re: [PATCH] atmel: Remove local

2025-06-02 Thread Eugen Hristev
On 6/2/25 17:57, Tom Rini wrote: > On Mon, Jun 02, 2025 at 03:04:54PM +0300, Eugen Hristev wrote: >> >> >> On 5/28/25 03:01, Tom Rini wrote: >>> We have this binding file in both include/dt-bindings/ and >>> dts/upstream/include/dt-bindings. These files a

Re: [PATCH] atmel: Remove local

2025-06-02 Thread Eugen Hristev
k SoCs") from the kernel applied. However, > this change is rather important and should not have been omitted here > most likely. Remove our local copy to get in sync with upstream now. > > Signed-off-by: Tom Rini > --- > Cc: Eugen Hristev > Cc: Mihai Sain &g

Re: [PATCH] board: sama5d27_wlsom1_ek: Get RAM size and base from devicetree

2025-06-02 Thread Eugen Hristev
On 5/8/25 03:07, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of using defines for the RAM size and base address, retrieve these > information from the devicetree. > > This aligns with the sama5d27_som1_ek board in commit 73c1589f025d9 > ("board: sama5d27_som1_ek: Get dram size and

Re: [PATCH v4 0/6] watchdog: at91sam9_wdt driver enhancement

2025-05-07 Thread Eugen Hristev
On 5/6/25 16:02, Zixun LI wrote: > Hi Eugen, > > On Tue, May 6, 2025 at 1:20 PM Eugen Hristev wrote: >> >> Since you sent the patches apparently there were some changes in the >> tree, and now smartweb_defconfig fails. >> Could you please check and maybe resen

Re: [PATCH v4 0/6] watchdog: at91sam9_wdt driver enhancement

2025-05-06 Thread Eugen Hristev
Hello Zixun, On 4/28/25 12:16, Zixun LI wrote: > This patch series includes some code refactor and adds new device support > for at91sam9_wdt driver. > > Instead of add a new driver like Linux kernel, at91sam9_wdt driver is > extended as new watchdog variant is similar to existing one, especially

Re: [PATCH v4 6/6] ARM: dts: at91: sam9x60-curiosity: Enable watchdog node

2025-05-02 Thread Eugen Hristev
On 4/28/25 12:16, Zixun LI wrote: > Enable watchdog node on SAM9X60-Curiosity board. > > A default timeout of 16s is added which is the maximum supported value, > also matching Linux driver's behavior. > > Signed-off-by: Zixun LI Reviewed-by: Eugen Hristev

Re: [PATCH v4 5/6] ARM: dts: sam9x60: Add watchdog DT node

2025-05-02 Thread Eugen Hristev
On 4/28/25 12:16, Zixun LI wrote: > Add the watchdog timer node for the sam9x60 SoC's. > > Signed-off-by: Zixun LI Reviewed-by: Eugen Hristev

Re: [PATCH v3 5/6] ARM: dts: sam9x60: Add watchdog DT node

2025-04-28 Thread Eugen Hristev
On 4/28/25 11:37, Zixun LI wrote: > Add the watchdog timer node for the sam9x60 SoC's. > > A default timeout of 16s is added which is the maximum supported value, > also matching Linux driver's behavior. > > Signed-off-by: Zixun LI > --- > arch/arm/dts/sam9x60.dtsi | 9 + > 1 file ch

Re: [PATCH v2 8/8] ARM: dts: at91: sam9x60-curiosity: Enable watchdog node

2025-04-28 Thread Eugen Hristev
On 4/25/25 16:50, Zixun LI wrote: > On Fri, Apr 25, 2025 at 12:51 PM Eugen Hristev > wrote: >> >> This 'timeout-sec' property is not in Linux DT. Any reason for adding it >> ? is the default different in U-boot ? >> > > The timeout initializa

Re: [PATCH v2 6/8] watchdog: at91sam9_wdt: Add SAM9X60 support

2025-04-25 Thread Eugen Hristev
On 4/17/25 12:09, Zixun LI wrote: > SAM9X60 has a slightly different watchdog implementation: > - Timer value moved into a new register WLR > - Some MR register fields have their position changed I would add the support for sam9x60 as a single patch, this one and previous (patch 5) which adds t

Re: [PATCH v2 8/8] ARM: dts: at91: sam9x60-curiosity: Enable watchdog node

2025-04-25 Thread Eugen Hristev
On 4/17/25 12:09, Zixun LI wrote: > Enable watchdog node on SAM9X60-Curiosity board. > > Signed-off-by: Zixun LI > --- > arch/arm/dts/at91-sam9x60_curiosity.dts | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/dts/at91-sam9x60_curiosity.dts > b/arch/arm/dts/at91-sam9x6

Re: [PATCH v2 2/8] arm: at91: wdt: Remove unused at91_wdt struct

2025-04-25 Thread Eugen Hristev
On 4/17/25 12:09, Zixun LI wrote: > at91_wdt struct is not used by anyone, let's remove it. > > Signed-off-by: Zixun LI > --- > arch/arm/mach-at91/include/mach/at91_wdt.h | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/arch/arm/mach-at91/include/mach/at91_wdt.h > b/arch/arm/ma

Re: [PATCH v2 7/8] ARM: dts: sam9x60: Add watchdog DT node.

2025-04-25 Thread Eugen Hristev
On 4/17/25 12:09, Zixun LI wrote: > Add the watchdog timer node for the sam9x60 SoC's. > > Signed-off-by: Zixun LI Nitpick: no dot at the end of the subject > --- > arch/arm/dts/sam9x60.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm

[PULL] u-boot-at91-2025.07-b

2025-04-21 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2025.07-b , the second set of at91 features and fixes for the next 2025.07 cycle. This feature set includes the addition of sam9x60 usb gadget, and a fix for sama5d2 SPL. Thanks, Eugen The following changes since commit 8a2cf6307a2ccc09c39dde486b6d9375b78

Re: (subset) [PATCH v2 1/3] usb: gadget: atmel: Add SAM9X60 support

2025-04-18 Thread Eugen Hristev
On 4/10/25 11:49, Mattijs Korpershoek wrote: > Hi, > > On Mon, 31 Mar 2025 18:26:07 +0200, Zixun LI wrote: >> Compared to SAM9X5 the only difference is the DPRAM memory from the >> USB High Speed Device Port (UDPHS) hardware block was increased, >> so we can reuse the same endpoint data. >> >>

Re: [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer

2025-04-18 Thread Eugen Hristev
On 4/17/25 17:01, Eugen Hristev wrote: > > > On 4/17/25 16:54, Fabio Estevam wrote: >> Hi Eugen, >> >> On Thu, Apr 3, 2025 at 12:10 PM Fabio Estevam wrote: >>> >>> From: Fabio Estevam >>> >>> The PIT timer needs to be availa

Re: [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer

2025-04-17 Thread Eugen Hristev
On 4/17/25 16:54, Fabio Estevam wrote: > Hi Eugen, > > On Thu, Apr 3, 2025 at 12:10 PM Fabio Estevam wrote: >> >> From: Fabio Estevam >> >> The PIT timer needs to be available early in the SPL phase, >> otherwise SPL fails to boot and only prints: >> >> Could not initialize timer (err -96) >>

Re: [PATCH 1/7] arm: at91: wdt: Remove unused at91_wdt struct

2025-04-10 Thread Eugen Hristev
On 3/31/25 22:15, Zixun LI wrote: > at91_wdt struct is not used by anyone, let's remove it. > > Signed-off-by: Zixun LI > --- > arch/arm/mach-at91/include/mach/at91_wdt.h | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/arch/arm/mach-at91/include/mach/at91_wdt.h > b/arch/arm/ma

Re: [PATCH] configs: sama5d27_wlsom1_ek: Select CONFIG_NET_RANDOM_ETHADDR

2025-04-08 Thread Eugen Hristev
On 4/8/25 15:12, Fabio Estevam wrote: > On Tue, Apr 8, 2025 at 8:29 AM Fabio Estevam wrote: > >> Yes, it seems this is the case, as the following SPI NOR error is seen: >> >> jedec_spi_nor spi_flash@0: unrecognized JEDEC id bytes: ff, ff, ff > > After opening jumper J8: > > SF: Detected sst2

Re: [PATCH] configs: sama5d27_wlsom1_ek: Select CONFIG_NET_RANDOM_ETHADDR

2025-04-08 Thread Eugen Hristev
On 4/8/25 03:16, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, Ethernet fails to probe due to the lack of a valid MAC address: > > ``` > Net: > Error: ethernet@f8008000 No valid MAC address found. > No ethernet found. > ``` > Select CONFIG_NET_RANDOM_ETHADDR so that a random MA

Re: [PATCH v2 1/2] board: atmel: sama5d2_wlsom1_ek: Fix spurious serial output

2025-04-08 Thread Eugen Hristev
On 4/8/25 02:52, Fabio Estevam wrote: > On Mon, Apr 7, 2025 at 3:39 AM Eugen Hristev wrote: > >> I am not convinced. >> The purpose of this early UART would be to get output *before* the DM >> code would enable clocks, pins, etc, for exactly that purpose, early &

Gitlab runner timeout on evb-ast2600 ?

2025-04-07 Thread Eugen Hristev
Hi everyone, I keep getting an error on running the CI loop on -next on my tree : https://source.denx.de/u-boot/custodians/u-boot-at91/-/jobs/1090517 ! _pytest.outcomes.Exit: Lab timeout: Marking connection bad - no other tests will run ! Any clue ? It's been like this for few days. It doesn't

Re: [PATCH v2 1/2] board: atmel: sama5d2_wlsom1_ek: Fix spurious serial output

2025-04-06 Thread Eugen Hristev
On 4/4/25 14:39, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, there are always some spurious characters showing up > right before SPL banner is shown: > > RomBOOT > ���=�� > U-Boot SPL 2025.04-rc5-00023-g9ed4e2c45f25 (Apr 03 2025 - 23:23:17 -0300) > Trying to boot from MMC1 >

Re: [PATCH] sama5d27: Fix the 'reset' command

2025-04-04 Thread Eugen Hristev
On 3/31/25 21:04, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 61040097a9d1 ("reset: at91: Add reset driver for basic > assert/deassert operations") the "atmel,sama5d3-rstc" compatible for > the sama5d2 reset controller in sama5d2.dtsi is not handled by > CONFIG_SYSRESET_AT91 an

Re: [PATCH] board: atmel: sama5d2_wlsom1_ek: Fix spurious serial output

2025-04-04 Thread Eugen Hristev
On 4/4/25 05:36, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, there are always some spurious characters showing up > right before SPL banner is shown: > > RomBOOT > ���=�� > U-Boot SPL 2025.04-rc5-00023-g9ed4e2c45f25 (Apr 03 2025 - 23:23:17 -0300) > Trying to boot from MMC1 >

Re: sama5d27: Replacing at91bootstrap with U-Boot SPL

2025-04-03 Thread Eugen Hristev
On 4/3/25 17:17, Fabio Estevam wrote: > Hi, > > Booting top of tree U-Boot from the SD card on a sama5d27_wlsom1_ek > board works when AT91 Bootstrap is used. > > Now, I want to replace AT91 Bootstrap with U-Boot SPL. > > I copied spl/boot.bin to the VFAT partition of the SD card, and I only

[PULL] u-boot-at91-fixes-2025.04-a

2025-04-03 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-fixes-2025.04-a , a late pull with a single fix for the reset command on sama5d27 boards. Thanks, Eugen The following changes since commit c17f03a7e93dfbbe5d32f5738274187065d9493f: Merge tag 'net-20250314' of https://source.denx.de/u-boot/custodians/u-bo

Re: [PATCH v2 2/3] ARM: dts: sam9x60: Add USB gadget DT node.

2025-04-01 Thread Eugen Hristev
On 4/1/25 13:10, Mattijs Korpershoek wrote: > Hi Zixun, > > Thank you for the patch. > > On lun., mars 31, 2025 at 18:26, Zixun LI wrote: > >> Add the USB gadget DT node for the sam9x60 SoC's. >> >> Signed-off-by: Zixun LI > > Nitpick: title (subject) should not finish with a period (.) >

Re: [PATCH v2 3/3] ARM: dts: at91: sam9x60-curiosity: Enable USB gadget node

2025-03-31 Thread Eugen Hristev
On 3/31/25 19:26, Zixun LI wrote: > Enable USB gadget usb0 node support. > > Signed-off-by: Zixun LI Reviewed-by: Eugen Hristev > --- > arch/arm/dts/at91-sam9x60_curiosity.dts | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/dts/at91-sam9x60

Re: [PATCH v2 2/3] ARM: dts: sam9x60: Add USB gadget DT node.

2025-03-31 Thread Eugen Hristev
On 3/31/25 19:26, Zixun LI wrote: > Add the USB gadget DT node for the sam9x60 SoC's. > > Signed-off-by: Zixun LI Reviewed-by: Eugen Hristev > --- > arch/arm/dts/sam9x60.dtsi | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm/dt

Re: [PATCH] usb: gadget: atmel: Add SAM9X60 support

2025-03-31 Thread Eugen Hristev
On 3/31/25 12:05, Mattijs Korpershoek wrote: > Hi Eugen, Zixun, > > On lun., mars 24, 2025 at 11:23, Eugen Hristev > wrote: > >> On 3/22/25 22:56, Zixun LI wrote: >>> Add compatible "microchip,sam9x60-udc" and device tree binding. >>> Co

Re: [PATCH v5 6/8] ARM: dts: at91: sam9x75_curiosity: add tweaks for sam9x75 curiosity board

2025-03-27 Thread Eugen Hristev
On 3/27/25 09:06, Manikandan Muralidharan wrote: > Since the SoC and board DT are already available in dts/upstream, > add the difference from upstream DTS to at91-sam9x75_curiosity-u-boot.dtsi > > Signed-off-by: Manikandan Muralidharan > --- > .../dts/at91-sam9x75_curiosity-u-boot.dtsi|

Re: [PATCH] usb: gadget: atmel: Add SAM9X60 support

2025-03-24 Thread Eugen Hristev
On 3/22/25 22:56, Zixun LI wrote: > Add compatible "microchip,sam9x60-udc" and device tree binding. > Compared to SAM9X5 the only difference is the DPRAM memory from the > USB High Speed Device Port (UDPHS) hardware block was increased, > so we can reuse the same endpoint data. > > Tested on SA

Re: [PATCH v4 4/8] clk: at91: sam9x7: add pmc driver for sam9x7 SoC family

2025-03-18 Thread Eugen Hristev
On 3/17/25 08:56, Manikandan Muralidharan wrote: > From: Varshini Rajendran > > Add PMC driver support for sam9x7 SoC family > > Signed-off-by: Varshini Rajendran > [balamanikandan.gunasun...@microchip.com: Add peripheral clock id for pmecc] > Signed-off-by: Balamanikandan Gunasundar > > -

Re: [PATCH v3 1/8] dt-bindings: clock: rename at91.h to at91-pmc-status.h

2025-03-07 Thread Eugen Hristev
On 3/6/25 12:39, manikanda...@microchip.com wrote: > Hi Sumit, > > On 06/03/25 12:30 pm, Sumit Garg wrote: >> [Some people who received this message don't often get email from >> sumit.g...@kernel.org. Learn why this is important at >> https://aka.ms/LearnAboutSenderIdentification ] >> >> EXT

Re: [PATCH v2 1/8] dt-bindings: clk: define additional PMC clocks

2025-02-28 Thread Eugen Hristev
On 2/28/25 12:58, Sumit Garg wrote: > On Fri, 28 Feb 2025 at 15:20, wrote: >> >> Hi Eugen, >> >> On 27/02/25 7:48 pm, Eugen Hristev wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >>> content is safe >>

Re: [PATCH v2 1/8] dt-bindings: clk: define additional PMC clocks

2025-02-27 Thread Eugen Hristev
On 2/27/25 12:37, manikanda...@microchip.com wrote: > Hi Sumit, > > On 27/02/25 3:14 pm, Sumit Garg wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On Thu, 27 Feb 2025 at 15:06, Manikandan Muralidharan >> wrote: >>> >>> Add PMC clo

Re: [PATCH 5/8] ARM: dts: at91: sam9x7: Add initial DT for sam9x7 SoC

2025-02-24 Thread Eugen Hristev
On 2/24/25 08:20, manikanda...@microchip.com wrote: > Hi Sumit Grag, > > On 21/02/25 3:42 pm, Sumit Garg wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> Hi Manikandan, >> >> On Fri, 21 Feb 2025 at 15:34, Manikandan Muralidharan >>

[PULL next] u-boot-at91-2025.07-a

2025-02-18 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2025.07-a , the first set of at91 features and fixes for the next 2025.07 cycle. This feature set includes improvements on the atmel-quadspi driver, a fix for the nand driver, and improvements on the pinctrl driver to be able to use the Linux DT (also sync o

Re: [PATCH v3 0/7] Align pio3 pinctrl node with Linux

2025-02-12 Thread Eugen Hristev
On 2/10/25 08:51, Manikandan Muralidharan wrote: > The series adds support in the pinctrl driver and additional > changes in the at91 DT to align the pio3 based pinctrl nodes > in the u-boot DT with that of Linux > > Changes in v3: > - 5/7 - Add comment block to describe at91_pinctrl_bind() >

Re: [PATCH 1/2] spi: ca_sflash: Remove redundant dependency

2025-02-12 Thread Eugen Hristev
On 1/23/25 16:32, Tom Rini wrote: > On Thu, Jan 23, 2025 at 08:37:12AM +0100, Alexander Dahl wrote: > >> This is inside of an 'if DM_SPI' block, and thus always true. >> >> Signed-off-by: Alexander Dahl > > Reviewed-by: Tom Rini > Applied to u-boot-at91/next ! Thanks

Re: [PATCH 2/2] spi: atmel-quadspi: Depend on SPI_MEM

2025-02-12 Thread Eugen Hristev
On 1/23/25 16:32, Tom Rini wrote: > On Thu, Jan 23, 2025 at 08:37:13AM +0100, Alexander Dahl wrote: > >> Most other spi-mem drivers also depend on SPI_MEM. Fixes this build >> error: >> >> arm-v5te-linux-gnueabi-ld.bfd: drivers/spi/atmel-quadspi.o: in function >> `atmel_qspi_supports_op':

Re: [PATCH 0/7] [U-Boot] spi: atmel-quadspi: Refresh and add classic mode support

2025-02-12 Thread Eugen Hristev
On 1/23/25 14:12, Alexander Dahl wrote: > Hello everyone, > > this patch series is for U-Boot, although Linux might be affected. > > The quadspi controller on microchip (former atmel) sama5d2, sam9x60 and > other soc variants of the at91 family is usually used in hardware > accelerated spi-mem

Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2025-02-12 Thread Eugen Hristev
On 2/12/25 10:45, Michael Nazzareno Trimarchi wrote: > Hi Eugen > > Please apply > > Michael > Ok, Applied to u-boot-at91/next Eugen

Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2025-02-12 Thread Eugen Hristev
On 2/12/25 09:09, Alexander Dahl wrote: > Hello, > > Am Wed, Oct 09, 2024 at 04:45:02AM + schrieb > balamanikandan.gunasun...@microchip.com: >> On 30/09/24 1:37 pm, Alexander Dahl wrote: >>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >>> content is safe >>>

Re: [PATCH v2 5/7] pinctrl: at91: Bind GPIO driver to the pinctrl DT node

2025-01-31 Thread Eugen Hristev
On 1/30/25 05:51, Manikandan Muralidharan wrote: > In Linux DT,the pinctrl node acts as parent nodes with all other > gpio banks as child nodes and a single driver in Linux handles both > pinctrl settings and gpio requests.Current U-Boot DT maintains both > pinctrl and gpio nodes as separate nod

Re: [PATCH v2 2/7] ARM: dts: at91: sam9x60: Define pinctrl node with its label

2025-01-30 Thread Eugen Hristev
On 1/30/25 05:51, Manikandan Muralidharan wrote: > From: Balamanikandan Gunasundar > > Define the pinctrl nodes with its label to align with the Linux DT. > Without this change the pinmux nodes are grouped under an additional > 'pinctrl' child node which is not identified by the pinctrl driver

Re: [PATCH 0/7] [U-Boot] spi: atmel-quadspi: Refresh and add classic mode support

2025-01-30 Thread Eugen Hristev
On 1/30/25 16:49, Tom Rini wrote: > On Thu, Jan 30, 2025 at 04:07:27PM +0200, Eugen Hristev wrote: >> >> >> On 1/23/25 14:12, Alexander Dahl wrote: >>> Hello everyone, >>> >>> this patch series is for U-Boot, although Linux might be affected. >

Re: [PATCH 0/7] [U-Boot] spi: atmel-quadspi: Refresh and add classic mode support

2025-01-30 Thread Eugen Hristev
On 1/23/25 14:12, Alexander Dahl wrote: > Hello everyone, > > this patch series is for U-Boot, although Linux might be affected. > > The quadspi controller on microchip (former atmel) sama5d2, sam9x60 and > other soc variants of the at91 family is usually used in hardware > accelerated spi-mem

Re: [PATCH 6/7] spi: atmel-quadspi: Add support for classic SPI mode

2025-01-30 Thread Eugen Hristev
Hello Alex, On 1/23/25 14:12, Alexander Dahl wrote: > The qspi controller on sama5d2 and sam9x60 supports "classic" SPI mode > without spi-mem enhancements and accelerations, very similar to the old > SPI controller on sam9g20 or the modern flexcom controllers of the same > SoC family. > > Regist

Re: [PATCH 4/7] ARM: dts: at91: sam9x60: Add missing pinctrl node properties

2025-01-28 Thread Eugen Hristev
On 1/27/25 12:09, Manikandan Muralidharan wrote: > Add the missing properties for the pinctrl node and for its > corresponding GPIO bank nodes to align with the Linux DT. > > Signed-off-by: Manikandan Muralidharan > --- > arch/arm/dts/sam9x60.dtsi | 23 ++- > 1 file change

Re: [PATCH 2/7] ARM: dts: at91: sam9x60: Define pinctrl node with its label

2025-01-28 Thread Eugen Hristev
On 1/27/25 12:09, Manikandan Muralidharan wrote: > From: Balamanikandan Gunasundar > > Define the pinctrl nodes with its label and sort its child node > alphabetically to align wit the Linux DT.Without this change Typo: wit > those pinctrl nodes are grouped under an additional 'pinctrl' chil

Re: [PATCH 1/7] ARM: dts: at91: sam9x60: Add AIC node

2025-01-28 Thread Eugen Hristev
On 1/27/25 12:09, Manikandan Muralidharan wrote: > Add Advanced Interrupt Controller node and define it as interrupt > parent in sam9x60 SoC DT. > > Signed-off-by: Manikandan Muralidharan > --- > arch/arm/dts/sam9x60.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch

[PULL next] u-boot-at91-2025.04-a

2024-11-29 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2025.04-a , the first set of features and fixes for the next 2025.04 cycle. This feature set includes the at91 gpio driver function alternate mode for pins, and some fixes. Thanks, Eugen The following changes since commit 62224280d9e89648ae90346c0aede76f9

Re: [PATCH 0/5] collected fallout of porting an ATSAMA5D2 based board

2024-11-19 Thread Eugen Hristev
On 11/12/24 15:45, Eugen Hristev wrote: > > > On 10/18/24 11:30, Benedikt Spranger wrote: >> Hi, >> >> while porting an ATSAMA5D2 based board (booting from NAND flash with UBI) >> I stumbled over generic, NAND- and UBI related asperity: >> >> 1.

Re: [PATCH v2 1/3] gpio: at91: Implement GPIOF_FUNC in get_function()

2024-11-19 Thread Eugen Hristev
Applied patches to u-boot-at91/next, thanks ! Eugen On 11/13/24 12:10, Zixun LI wrote: > This patch adds support for determining whether a gpio pin is mapped as > peripheral function. > > Signed-off-by: Zixun LI > --- > Changes in v2: > - Rename function > --- > drivers/gpio/at91_gpio.c | 13 +

Re: [PATCH 1/3] gpio: at91: Implement GPIOF_FUNC in get_function()

2024-11-12 Thread Eugen Hristev
On 11/12/24 18:17, Zixun LI wrote: > On Tue, Nov 12, 2024 at 4:59 PM Eugen Hristev > wrote: >> >> >> >> On 11/12/24 17:57, Zixun LI wrote: >>> Hello, >>> >>> >>> On Tue, Nov 12, 2024 at 2:13 PM Eugen Hristev >>

Re: [PATCH 1/3] gpio: at91: Implement GPIOF_FUNC in get_function()

2024-11-12 Thread Eugen Hristev
On 11/12/24 17:57, Zixun LI wrote: > Hello, > > > On Tue, Nov 12, 2024 at 2:13 PM Eugen Hristev > wrote: >> >> >>> +static bool at91_get_port_pio(struct at91_port *at91_port, int offset) >> >> The name get_port_pio is a bit confusing, can you

Re: [PATCH 4/5] mtd: nand: Update NAND manufacturer Ids

2024-11-12 Thread Eugen Hristev
On 11/12/24 15:57, Benedikt Spranger wrote: > On Tue, 12 Nov 2024 15:39:23 +0200 > Eugen Hristev wrote: > > Hi Eugen, >> On 10/18/24 11:30, Benedikt Spranger wrote: >>> Align manufacturer Ids with the Id list from Linux kernel v6.11. >>> While at it, so

Re: [PATCH 0/5] collected fallout of porting an ATSAMA5D2 based board

2024-11-12 Thread Eugen Hristev
On 10/18/24 11:30, Benedikt Spranger wrote: > Hi, > > while porting an ATSAMA5D2 based board (booting from NAND flash with UBI) > I stumbled over generic, NAND- and UBI related asperity: > > 1. tiny-printf does not handle NULL arguments to '%s' in a proper way > 2. vtbl_check() has an useless

Re: [PATCH 4/5] mtd: nand: Update NAND manufacturer Ids

2024-11-12 Thread Eugen Hristev
Hi Benedikt , On 10/18/24 11:30, Benedikt Spranger wrote: > Align manufacturer Ids with the Id list from Linux kernel v6.11. > While at it, sort the entries in alphabetical order. > > Signed-off-by: Benedikt Spranger > Reviewed-by: John Ogness > --- > drivers/mtd/nand/raw/nand_ids.c | 22 +

Re: [PATCH 2/3] gpio: at91: Implement ops set_flags

2024-11-12 Thread Eugen Hristev
Hello, On 10/18/24 23:27, Zixun LI wrote: > Support GPIO configuration with following flags: > - in, out, out_active > - open_drain, pull_up > > Signed-off-by: Zixun LI > --- > drivers/gpio/at91_gpio.c | 41 > 1 file changed, 41 insertions(+) > > diff -

Re: [PATCH v2 3/3] gpio: at91: Implement ops get_flags

2024-11-12 Thread Eugen Hristev
On 10/19/24 00:57, Zixun LI wrote: > Add ops get_dir_flags() to read status from GPIO registers. > > Signed-off-by: Zixun LI > > --- > Changes in v2: > - Fix pullup read polarity > --- > drivers/gpio/at91_gpio.c | 45 > 1 file changed, 45 insertions(+

Re: [PATCH 1/3] gpio: at91: Implement GPIOF_FUNC in get_function()

2024-11-12 Thread Eugen Hristev
Hello, On 10/18/24 23:27, Zixun LI wrote: > This patch adds support for determining whether a gpio pin is mapped as > peripheral function. > > Signed-off-by: Zixun LI > --- > drivers/gpio/at91_gpio.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/drivers

Re: [PATCH v1 1/1] rockchip: rock5b-rk3588: Enable automatic PCI enumeration

2024-10-31 Thread Eugen Hristev
Hello Sebastian, On 10/31/24 20:01, Sebastian Reichel wrote: PCI enumeration is required to detect the onboard Ethernet device. Signed-off-by: Sebastian Reichel --- configs/rock5b-rk3588_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rock5b-rk3588_defconfig b/configs/

Re: [PATCH v3] rockchip: add support for Radxa ROCK 5A with SPI NOR flash module

2024-10-30 Thread Eugen Hristev
On 10/30/24 08:30, Kever Yang wrote: Hi Naoki, On 2024/10/30 14:07, FUKAUMI Naoki wrote: on Radxa ROCK 5A, sdhci(eMMC) and fspim0(SPI NOR flash) share pins (i.e. eMMC and SPI NOR flash are exclusive), new defconfig and dts specifically for SPI NOR flash is required. Signed-off-by: FUKAUMI N

Re: [PATCH 0/5] collected fallout of porting an ATSAMA5D27 based board

2024-10-21 Thread Eugen Hristev
Yeah, been there. Wanted at91bootstrap to boot from SPI-NOR which is _not_ Quad-SPI, and the feature request was closed with "if you wanna do it by yourself, ask our support for help". :-/ iirc at91bootstrap can boot from raw spi-nor (yes, not UBI) Speaking of at91bootstrap 3.x and late

Re: [PATCH 0/5] collected fallout of porting an ATSAMA5D27 based board

2024-10-21 Thread Eugen Hristev
On 10/21/24 15:30, Benedikt Spranger wrote: On Mon, 21 Oct 2024 10:17:54 +0300 Eugen Hristev wrote: Hi, Do you use at91bootstrap as 2nd level bootloader like me or something else? I use the U-Boot SPL. There is no UBI support in at91boostrap. There were some attemps, but... No

Re: [PATCH 0/5] collected fallout of porting an ATSAMA5D27 based board

2024-10-21 Thread Eugen Hristev
Hello, On 10/21/24 09:03, Alexander Dahl wrote: Hello Benedikt, Am Fri, Oct 18, 2024 at 04:19:08PM +0200 schrieb Benedikt Spranger: On Fri, 18 Oct 2024 15:11:20 +0200 Alexander Dahl wrote: Hello Alexander, Am Fri, Oct 18, 2024 at 10:30:00AM +0200 schrieb Benedikt Spranger: OK, you might s

[PULL] u-boot-at91-fixes-2025.01-a

2024-10-18 Thread Eugen Hristev
: Add missing include of asm/io.h Eugen Hristev (1): .mailmap: update e-mail address for Eugen Hristev .mailmap | 3 ++- arch/arm/mach-at91/include/mach/clk.h | 1 + doc/git-mailrc| 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)

Re: [PATCH 1/1] Fixed sama5d3 dts file so PIO sections are inside pinctrl as in kernel dts

2024-10-18 Thread Eugen Hristev
Hello Alexey, Please fix the subject to adhere to the rules ARM: dts: etc, if you are unsure, please follow previous commits that touched this file. On 10/17/24 11:51, manikanda...@microchip.com wrote: Hi Alexey, On 15/10/24 8:23 pm, Alexey Tsirlin wrote: This allows setting the GPIO par

[PATCH] .mailmap: update e-mail address for Eugen Hristev

2024-10-16 Thread Eugen Hristev
Update e-mail address. Signed-off-by: Eugen Hristev --- .mailmap | 3 ++- doc/git-mailrc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.mailmap b/.mailmap index 952e1dac4b20..4d48349f0e9f 100644 --- a/.mailmap +++ b/.mailmap @@ -38,7 +38,8 @@ Boris Brezillon

Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2024-10-08 Thread Eugen Hristev
On 9/30/24 11:07, Alexander Dahl wrote: > Hello, > > Am Tue, May 28, 2024 at 12:32:44PM +0200 schrieb Alexander Dahl: >> Hei hei, >> >> Am Mon, Apr 15, 2024 at 09:57:55AM +0200 schrieb Alexander Dahl: >>> From reading the S34ML02G1 and the SAM9X60 datasheets again, it seems >>> like we have to wai

Re: [PATCH] arm: Remove ethernut5 board

2024-09-08 Thread Eugen Hristev
Signed-off-by: Tom Rini > --- > Cc: Harald Kipp > Cc: Eugen Hristev CC: Alexandre Belloni, Nicolas Ferre > --- > arch/arm/dts/Makefile | 2 - > arch/arm/dts/at91sam9xe.dtsi | 60 > arch/arm/dts/ethernut5.dts

Re: [PATCH v2] mtd: nand: raw: atmel: Use ONFI ECC params if available

2024-07-29 Thread Eugen Hristev
On 7/25/24 12:41, Michael Nazzareno Trimarchi wrote: > Hi > > On Thu, Jul 25, 2024 at 11:36 AM > wrote: >> >> Acked-by: Balamanikandan Gunasundar >> >> >> On 22/07/24 3:15 am, Zixun LI wrote: >>> [Some people who received this message don't often get email from >>> ad...@hifiphile.com. Learn wh

Re: [PATCH] arm: move _end to linker symbols

2024-05-27 Thread Eugen Hristev
On 5/28/24 09:18, Ilias Apalodimas wrote: > commit 6e2228fb052b ("Merge patch series "Clean up arm linker scripts") > was cleaning up linker scripts for armv7 and v8 but was leaving > _end and __secure_stack_start/end. > > commit d0b5d9da5de2 ("arm: make _end compiler-generated") > was moving _end

Re: [PATCH 1/2] rockchip: rk3588: Add support for ATAG parsing

2024-03-27 Thread Eugen Hristev
On 3/27/24 15:32, Chris Morgan wrote: > On Wed, Mar 27, 2024 at 06:32:06PM +0800, Kever Yang wrote: >> Hi Chris, >> >>     The ATAGS is used for passing parameter from bootloader to kernel at >> first, which has been replaced by DTB now for ARM platform. >> >>     And Rockchip using ATAGs for passi

[PULL next] u-boot-at91-2024.07-a

2024-03-25 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2024.07-a , the first set of at91 features for the next cycle 2024.07 . This feature set includes a new board named sama7g54 Curiosity. Thanks, Eugen The following changes since commit 20a0ce574d6642e0dfe651467159039fac48cc4f: Merge tag 'v2024.04-rc4'

Re: [RFC PATCH 0/3] mtd: nand: raw: atmel: Using dm driver for older sam9 SoCs

2024-03-18 Thread Eugen Hristev
On 3/11/24 17:23, Alexander Dahl wrote: > Hello raw NAND fans, > Hello Alexander, Thank you for your efforts > today I thought it would be interesting to have all that automatic NAND > flash timings setting usable with an old board featuring a at91sam9g20 > SoC, which would pave the way to get

Re: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-18 Thread Eugen Hristev
On 3/18/24 10:09, mihai.s...@microchip.com wrote: > On 3/7/24 11:10, Alexander Dahl wrote: >> For now adds one new command 'hsmc' with a single subcommand 'decode' >> to read and display the content of the registers of the Static Memory >> Controllers (SMC/HSMC) found in different at91 SoCs. Nee

Re: [PATCH v2 0/4] Add initial support for Microchip SAMA7G54 Curiosity board

2024-03-14 Thread Eugen Hristev
On 2/27/24 15:43, Mihai Sain wrote: > This patch series adds initial support for Microchip SAMA7G54 Curiosity board. > > Changes in v2: > -- > > * Update flexcom 10 node in order to match previous flexcom definitions. > * Sort in alphabetical order all nodes and pinctrl. > * Remove st

Re: [PATCH 4/4] mtd: nand: raw: atmel: Introduce optional debug commands

2024-03-07 Thread Eugen Hristev
On 3/7/24 11:10, Alexander Dahl wrote: > For now adds one new command 'hsmc' with a single subcommand 'decode' to > read and display the content of the registers of the Static Memory > Controllers (SMC/HSMC) found in different at91 SoCs. Needed to get a > better picture on what raw nand core and a

Re: [PATCH] configs: rockchip: rock5a: enable environment

2024-03-04 Thread Eugen Hristev
On 3/5/24 04:10, Trevor Woerner wrote: > Following the pattern of other Rockchip devices, enable the U-Boot > environment to be stored in MMC. This patch specifically assumes the > environment will be stored on the SDcard. > > Signed-off-by: Trevor Woerner > --- > configs/rock5a-rk3588s_defconfi

Re: [RFC] rockchip: Reset to bootrom download mode on hang

2024-02-05 Thread Eugen Hristev
Hello Jonas, On 2/5/24 14:34, Jonas Karlman wrote: > Hi Quentin, > > On 2024-02-05 11:49, Quentin Schulz wrote: >> Hi Jonas, >> >> On 2/2/24 01:12, Jonas Karlman wrote: >>> Add support to reset to bootrom download mode on hang in U-Boot SPL and >>> proper. ROCKCHIP_HANG_TO_BROM can be used to ena

[PULL] u-boot-at91-2024.04-a

2024-01-31 Thread Eugen Hristev
Hello Tom, Please pull tag u-boot-at91-2024.04-a , the first set of at91 features for 2024.04 cycle. This set includes some DT alignments and solves a compile issue for custom nand defconfigs. Thanks, Eugen The following changes since commit 3c04fcf3137d5f694d52b8f355373e4baabe5f78: Merge pa

Re: [PATCH 6/7] rockchip: rk3588: Add default u-boot,spl-boot-order prop

2024-01-26 Thread Eugen Hristev
On 1/27/24 00:14, Jonas Karlman wrote: > Add a default u-boot,spl-boot-order prop to rk3588s-u-boot.dtsi and > remove the prop from board u-boot.dtsi files using the default value. > > Signed-off-by: Jonas Karlman Reviewed-by: Eugen Hristev > --- > arch/arm/dts/rk3588-nan

Re: [PATCH 1/3] rockchip: rk35xx: Remove use of eMMC DDR52 mode

2024-01-26 Thread Eugen Hristev
Hi Jonas, On 1/27/24 01:26, Jonas Karlman wrote: > Writing to eMMC using DDR52 mode does not work reliably or at all on > RK356x and RK3588 boards. > This is related to the old issue I encountered last year with mmc write? Thanks, Eugen > Fix this by removing the mmc-ddr-1_8v prop from sdhci

  1   2   3   4   5   6   7   8   >