[U-Boot] [PATCH 2/2] watchdog: Add sunxi watchdog driver

2018-09-03 Thread Chris Blake
Based on the linux mainline driver, this adds support for the hardware watchdog timer found on some sunxi boards. Signed-off-by: Chris Blake --- common/board_f.c | 3 +- drivers/watchdog/Kconfig | 18 drivers/watchdog/Makefile| 1 + drivers/watchdog/sunxi_wdt.c

[U-Boot] [PATCH 0/2] Watchdog: Add support for sunxi hardware watchdog

2018-09-03 Thread Chris Blake
dding CONFIG_SUNXI_WDT to your config. It is not enabled by default. Chris Blake (2): watchdog: Fix SPL builds when watchdog is enabled watchdog: Add sunxi watchdog driver common/board_f.c | 3 +- drivers/watchdog/Kconfig | 18 drivers/watchdog/Makefile| 1 + dr

[U-Boot] [PATCH 1/2] watchdog: Fix SPL builds when watchdog is enabled

2018-09-03 Thread Chris Blake
Without this fix, u-boot fails to comple as it tries to load watchdog.h during an SPL build. This breaks support for things such as the sunxi arch. Signed-off-by: Chris Blake --- include/watchdog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/watchdog.h b

Re: [U-Boot] [PATCH] gpio: sunxi: Add compatible string for H5 PIO

2018-01-23 Thread Chris Blake
On Tue, Jan 23, 2018 at 1:15 PM, Jagan Teki wrote: > On Wed, Jan 24, 2018 at 12:42 AM, Chris Blake wrote: >> On Tue, Jan 23, 2018 at 1:09 PM, Jagan Teki wrote: >>> On Tue, Jan 16, 2018 at 3:58 AM, Chris Blake >>> wrote: >>>> Due to the changes in >

Re: [U-Boot] [PATCH] gpio: sunxi: Add compatible string for H5 PIO

2018-01-23 Thread Chris Blake
On Tue, Jan 23, 2018 at 1:09 PM, Jagan Teki wrote: > On Tue, Jan 16, 2018 at 3:58 AM, Chris Blake wrote: >> Due to the changes in >> https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, >> allwinner,sun50i-h5-pinctrl needs to be

[U-Boot] [PATCH] gpio: sunxi: Add compatible string for H5 PIO

2018-01-15 Thread Chris Blake
Due to the changes in https://github.com/linux-sunxi/u-boot-sunxi/commit/8faac0941cd409c6ff3738fbf658de2296f48e9a, allwinner,sun50i-h5-pinctrl needs to be defined otherwise PIO does not work on H5 based boards. Signed-off-by: Chris Blake --- drivers/gpio/sunxi_gpio.c | 1 + 1 file changed, 1