Re: [PATCH 1/2] watchdog: add gpio watchdog driver

2021-05-22 Thread Stefan Roese
On 11.05.21 09:20, Stefan Roese wrote: On 11.05.21 08:40, Rasmus Villemoes wrote: On 11/05/2021 07.55, Stefan Roese wrote: On 10.05.21 17:47, Rasmus Villemoes wrote: A rather common kind of external watchdog circuit is one that is kept alive by toggling a gpio. Add a driver for handling such a

Re: [PATCH v4,1/2] driver: watchdog: reset watchdog in designware_wdt_stop() function

2021-05-22 Thread Stefan Roese
On 11.05.21 09:35, meng...@windriver.com wrote: From: MengLi In uboot command line environment, watchdog is not able to be stopped with below commands: SOCFPGA_STRATIX10 # wdt dev watchdog@ffd00200 SOCFPGA_STRATIX10 # wdt stop Refer to watchdog driver in linux kernel, it is also need to reset w

Re: [PATCH v4,2/2] driver: watchdog: enable wdt command by default

2021-05-22 Thread Stefan Roese
On 11.05.21 09:35, meng...@windriver.com wrote: From: MengLi In latest u-boot code, watchdog feature is implemented, so enable wdt command by default. Signed-off-by: Meng Li --- configs/socfpga_stratix10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_stratix1

[PATCH 00/18] Migrate to DM_USB and OF_CONTROL support

2021-05-22 Thread Tom Rini
As I have mentioned in various release emails, now that various migration deadlines are reaching the 3+ year mark, I'm taking more drastic measures and removing boards or removing functionality from boards, in order to complete migrations. This series depends on the DM_PCI migration series I had p

[PATCH 02/18] openrd: Perform base CONFIG_DM enablement

2021-05-22 Thread Tom Rini
As these boards support CONFIG_OF_CONTROL today, perform a basic CONFIG_DM migration. Cc: Stefan Roese Signed-off-by: Tom Rini --- Checking this on some form of the real hardware would be good, along with likely enabling a bunch of other DM subsystems. --- configs/openrd_base_defconfig | 2

[PATCH 04/18] iconnect: Perform base CONFIG_DM enablement

2021-05-22 Thread Tom Rini
As these boards support CONFIG_OF_CONTROL today, perform a basic CONFIG_DM migration. Cc: Luka Perkov Signed-off-by: Tom Rini --- Checking this on some form of the real hardware would be good, along with likely enabling a bunch of other DM subsystems. --- configs/iconnect_defconfig | 2 ++ 1 fi

[PATCH 03/18] pogo_e02: Perform base CONFIG_DM enablement

2021-05-22 Thread Tom Rini
As these boards support CONFIG_OF_CONTROL today, perform a basic CONFIG_DM migration. Cc: Dave Purdy Signed-off-by: Tom Rini --- Checking this on some form of the real hardware would be good, along with likely enabling a bunch of other DM subsystems. --- configs/pogo_e02_defconfig | 2 ++ 1 fil

[PATCH 01/18] snapper9260/snapper9g20: Disable USB

2021-05-22 Thread Tom Rini
These boards have not converted to DM_USB by the deadline, disable USB support as they do not enable CONFIG_OF_CONTROL. Cc: Simon Glass u-boot@lists.denx.de (open list) --- configs/snapper9260_defconfig | 3 --- configs/snapper9g20_defconfig | 3 --- 2 files changed, 6 deletions(-) diff --git a

[PATCH 05/18] ib62x0: Perform base CONFIG_DM enablement

2021-05-22 Thread Tom Rini
As these boards support CONFIG_OF_CONTROL today, perform a basic CONFIG_DM migration. Cc: Luka Perkov Signed-off-by: Tom Rini --- Checking this on some form of the real hardware would be good, along with likely enabling a bunch of other DM subsystems. --- configs/ib62x0_defconfig | 2 ++ 1 file

[PATCH 07/18] mx6memcal: Disable USB GADGET in SPL

2021-05-22 Thread Tom Rini
As this board does not use CONFIG_OF_CONTROL and the DM_USB migration deadline has passed, disable USB_GADGET support. Cc: Eric Nelson Cc: Stefano Babic Signed-off-by: Tom Rini --- I realize this removes an important functional part of the board. I suspect the path forward here is to make a ge

[PATCH 10/18] arm: Remove gplugd board

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove it Cc: Ajay Bhargav Signed-off-by: Tom Rini --- arch/arm/Kconfig | 5 -- board/Marvell/gplugd/Kconfig | 15 board/Marvell/gplugd/MAINTAINERS |

[PATCH 08/18] arm: Remove at91rm9200ek boards

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. Cc: Andreas Bießmann Signed-off-by: Tom Rini --- arch/arm/cpu/arm920t/start.S| 2 +- arch/arm/mach-at91/Kconfig | 5 - board/atmel/at91rm

[PATCH 09/18] arm: Remove edb9315a board

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove it. This is also the last PL010_SERIAL using board, so remove those references. Cc: Sergey Kostanbaev Signed-off-by: Tom Rini --- README | 4 -

[PATCH 13/18] arm: Remove spear310 boards

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. Cc: Vipin Kumar Signed-off-by: Tom Rini --- arch/arm/Kconfig | 8 --- arch/arm/cpu/arm926ejs/spear/cpu.c | 4 +- arch/arm/cpu/arm9

[PATCH 06/18] dockstar: Perform base CONFIG_DM enablement

2021-05-22 Thread Tom Rini
As these boards support CONFIG_OF_CONTROL today, perform a basic CONFIG_DM migration. Cc: Eric Cooper Signed-off-by: Tom Rini --- Checking this on some form of the real hardware would be good, along with likely enabling a bunch of other DM subsystems. --- configs/dockstar_defconfig | 2 ++ 1 fi

[PATCH 11/18] arm: Remove nsa310s board

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove it Cc: Gerald Kerma Cc: Tony Dinh Cc: Luka Perkov Signed-off-by: Tom Rini --- arch/arm/mach-kirkwood/Kconfig | 4 - board/zyxel/nsa310s/Kconfig | 18 - boar

[PATCH 12/18] arm: Remove spear300 boards

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. Cc: Vipin Kumar Signed-off-by: Tom Rini --- arch/arm/Kconfig | 8 -- arch/arm/cpu/arm926ejs/spear/cpu.c | 4 +- arch/arm/cpu/arm

[PATCH 14/18] arm: Remove spear320 boards

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. As this is also the last SPEAR3XX platform, remove that symbol as well. Cc: Vipin Kumar Signed-off-by: Tom Rini --- arch/arm/Kconfig | 8 -

[PATCH 16/18] sniper: Add build guards around MUSB support code

2021-05-22 Thread Tom Rini
If MUSB support is disabled, these parts of the code will fail to build. Cc: Paul Kocialkowski Signed-off-by: Tom Rini --- board/lg/sniper/sniper.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/lg/sniper/sniper.c b/board/lg/sniper/sniper.c index 3065461be5b7..a70

[PATCH 17/18] usb: Add correct depends for CMD_USB_MASS_STORAGE

2021-05-22 Thread Tom Rini
We cannot build this without USB_GADGET_DOWNLOAD support enabled, add the appropriate depends line. Signed-off-by: Tom Rini --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index f962bb714117..f0edfe19b7c9 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@

[PATCH 18/18] usb: Require migration to DM_USB and OF_CONTROL for non-SPL cases

2021-05-22 Thread Tom Rini
As the deadline for migration passed with v2019.07, make support for USB depend on DM and OF_CONTROL to be enabled. Rework the Kconfig logic slightly in a few places so that SPL gadget support can exist without SPL_DM being required. Update a few defconfigs to maintain their DM_USB + !SPL_DM_USB

[PATCH 15/18] arm: Remove spear600 boards and the rest of SPEAr support

2021-05-22 Thread Tom Rini
These boards have not been converted to CONFIG_DM_USB by the deadline and is also missing conversion to CONFIG_DM. Remove them. As this is the last of the SPEAr platforms, so remove the rest of the remaining support as well. Cc: Vipin Kumar Signed-off-by: Tom Rini --- Makefile

Re: [PATCH 1/2] watchdog: add gpio watchdog driver

2021-05-22 Thread Rasmus Villemoes
On 22/05/2021 09.18, Stefan Roese wrote: > On 11.05.21 09:20, Stefan Roese wrote: >> On 11.05.21 08:40, Rasmus Villemoes wrote: >>> Will do. But I now see a much bigger problem due to some refactoring in >>> wdt-uclass that basically requires a ->start method or GD_FLG_WDT_READY >>> won't be set.

[PATCH v2 3/6] clk: sunxi: v3s: fix tabs / spaces

2021-05-22 Thread Andreas Rehn
align CLK_USB_PHY0 with tabs Signed-off-by: Andreas Rehn --- Changes in v2: - revert CLK_SPI0 extra tab drivers/clk/sunxi/clk_v3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk_v3s.c b/drivers/clk/sunxi/clk_v3s.c index 55fc597043..bc6b7b4870

[PATCH v2 4/6] net: sun8i-emac: add v3s variant

2021-05-22 Thread Andreas Rehn
Add variant V3S_EMAC. Handle pinmux compile time error by skipping goio setup, because V3s uses internal phy and don't expose pins. Signed-off-by: Andreas Rehn --- Changes in v2: - skip pinmux and add proper description - Add V3S variant add it to compatible list - Skip (R

[PATCH v2 6/6] net: sun8i-emac: v3s: fix soft reset timeout

2021-05-22 Thread Andreas Rehn
v3s emac soft reset tooks quit longer if autonegation is active on 100 Mbit full duplex pairs what can result in `sun8i_emac_eth_start: Timeout` error wait_for_bit_le32 polls register value each ms. Increasing the timeout for setup to 1000 ms and above results still in start timeouts. Linux kern