Re: [RFC PATCH v1 1/1] mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC

2024-04-02 Thread Maxim Kiselev
Hi, Sean вт, 2 апр. 2024 г. в 18:39, Sean Anderson : > > On 3/30/24 13:59, Maksim Kiselev wrote: > > Add support for DesignWare SDHCI host controller on Alibaba TH1520 SoC > > > > Signed-off-by: Maksim Kiselev > > --- > > drivers/mmc/Kconfig | 12 + > > drivers/mmc/Makefile | 1 + > >

Re: [RFC PATCH v1 1/1] mmc: snps_sdhci: Add sdhci driver support for TH1520 SoC

2024-04-02 Thread Maxim Kiselev
i, Heinrich! вт, 2 апр. 2024 г. в 17:47, Heinrich Schuchardt : > > On 30.03.24 18:59, Maksim Kiselev wrote: > > Add support for DesignWare SDHCI host controller on Alibaba TH1520 SoC > > > > Signed-off-by: Maksim Kiselev > > Thank you for driving the TH1520 support forward. > > Locally I updated

Re: [PATCH v1] sunxi: R528: add UART1 support

2024-01-27 Thread Maxim Kiselev
пт, 26 янв. 2024 г. в 20:11, Andre Przywara : > > On Sun, 21 Jan 2024 14:49:08 +0300 > Maksim Kiselev wrote: > > > Add PG6-PG7 pins configuration for the SPL to allow use UART1 > > on boards with the Allwinner R528/T113 family. > > That looks alright. Not super happy to take yet another

Re: [PATCH v1] net: sun8i-emac: Add support for fixed-link phy

2024-01-19 Thread Maxim Kiselev
Hi Andre, пт, 19 янв. 2024 г. в 20:35, Andre Przywara : > > On Tue, 16 Jan 2024 19:58:56 +0300 > Maxim Kiselev wrote: > > Hi Maxim, > > > вт, 16 янв. 2024 г. в 03:18, Andre Przywara : > > > > > > On Thu, 15 Jun 2023 00:44:06 +0300 > &

Re: [PATCH v1] net: sun8i-emac: Add support for fixed-link phy

2024-01-16 Thread Maxim Kiselev
вт, 16 янв. 2024 г. в 03:18, Andre Przywara : > > On Thu, 15 Jun 2023 00:44:06 +0300 > Maxim Kiselev wrote: > > Hi Maxim, > > > From: Maksim Kiselev > > > > Based on dt-specs fixed-link doesn't require phy-handle to be used. > > Do you have such a board

Re: [PATCH v1] spi: dw: add check for Rx FIFO overflow

2023-12-18 Thread Maxim Kiselev
Hello Jagan, пн, 18 дек. 2023 г. в 14:28, Jagan Teki : > > On Tue, Oct 17, 2023 at 12:35 PM Maksim Kiselev wrote: > > > > If even one byte is lost due to Rx FIFO overflow then we will never > > exit the read loop. Because the (priv->rx != priv->rx_end) condition will > > be always true. > > > >

Re: [PATCH 16/20] sunxi: add Allwinner R528/T113 SoC support

2023-07-24 Thread Maxim Kiselev
пт, 21 июл. 2023 г. в 16:47, Andre Przywara : > > This adds the remaining code bits to teach U-Boot about Allwinner's > newest SoC generation. This was introduced with the RISC-V based > Allwinner D1 SoC, which actually shares a die with the ARM cores versions > called R528 (BGA, without DRAM) and

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-17 Thread Maxim Kiselev
Hi Andre, пт, 16 июн. 2023 г. в 19:36, Andre Przywara : [..] > > thanks for the reply! If you have anything that is missing or broken in > the new version of the patchset I put on github, please let me know. I tried the new version and everything looks pretty good for me. Great job! Just one

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-16 Thread Maxim Kiselev
Hi Andre, Sam, пт, 16 июн. 2023 г. в 18:59, Andre Przywara : > > On Mon, 12 Jun 2023 15:18:17 -0600 > Sam Edwards wrote: > > Hi Sam, > > something regarding "reset" below ... > > > On 6/11/23 18:20, Andre Przywara wrote: > > > Thanks for the update and the list! Can you confirm where you > > >

[PATCH v1] net: sun8i-emac: Add support for fixed-link phy

2023-06-14 Thread Maxim Kiselev
From: Maksim Kiselev Based on dt-specs fixed-link doesn't require phy-handle to be used. Fix driver to only read phy related setting when phy-handle is found. Signed-off-by: Maksim Kiselev --- drivers/net/sun8i_emac.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[RFC PATCH v1 3/3] riscv: dts: allwinner: d1: Add SPI controllers node

2023-05-19 Thread Maxim Kiselev
Some boards form the MangoPi family (MQ\MQ-Dual\MQ-R) may have an optional SPI flash that connects to the SPI0 controller. This controller is the same for R329/D1/R528/T113s SoCs and should be supported by the sun50i-r329-spi driver. So let's add its DT nodes. Signed-off-by: Maxim Kiselev

[RFC PATCH v1 2/3] spi: sunxi: Add support for R329/D1/R528/T113 SPI controller

2023-05-19 Thread Maxim Kiselev
source selection is not supported by this driver, and only HOSC@24MHz can be used as input clock. Therefore, according to the, manual we could change the SPI sample mode from delay half cycle(default) to normal. This patch adds a quirk for this kind of SPI controllers Signed-off-by: Maxim Kiselev

[RFC PATCH v1 1/3] sunxi: SPL SPI: Add SPI boot support for the Allwinner R528/T113 SoCs

2023-05-19 Thread Maxim Kiselev
CONFIG_SUNXI_GEN_NCAT2 symbol for the Kconfig dependency. Signed-off-by: Maxim Kiselev --- arch/arm/mach-sunxi/Kconfig | 2 +- arch/arm/mach-sunxi/spl_spi_sunxi.c | 78 + 2 files changed, 58 insertions(+), 22 deletions(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm

[RFC PATCH v1 0/3] Allwinner R329/D1/R528/T113s SPI support

2023-05-19 Thread Maxim Kiselev
-1-andre.przyw...@arm.com/ Maxim Kiselev (3): sunxi: SPL SPI: Add SPI boot support for the Allwinner R528/T113 SoCs spi: sunxi: Add support for R329/D1/R528/T113 SPI controller riscv: dts: allwinner: d1: Add SPI controllers node arch/arm/mach-sunxi/Kconfig | 2 +- arch/arm/mach

Re: [RFC PATCH 08/17] sunxi: introduce NCAT2 generation model

2023-05-17 Thread Maxim Kiselev
Hi Sam, > I might have to start pushing for room for SPI drivers > in the SPL soon. :) As Andre already pointed out, I have a patch which adds boot support from SPI-NOR for D1/T113 SoCs. Maybe I can share it somewhere to avoid double work?