board: sl28: add sl28cpld support and board cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | misc: add sl28cpld base driverMAINTAINERS drivers/ drivers/ +2 more | +133 | 0 replies | |
| 2/10 | watchdog: add sl28cpld watchdog driverMAINTAINERS doc/ drivers/ +2 more | +154 | 0 replies | |
| 3/10 | gpio: add sl28cpld driverMAINTAINERS drivers/ drivers/ +1 more | +173 | 0 replies | |
| 4/10 | board: sl28: fix DRAM pretty printboard/ | +0 | 0 replies | |
| 5/10 | board: sl28: print CPLD version on bootupboard/ include/ | +30 | 0 replies | |
| 6/10 | board: sl28: enable sl28cpld supportconfigs/ | +8 | 0 replies | |
| 7/10 | board: sl28: enable SoC watchdog supportconfigs/ | +1 | 0 replies | |
| 8/10 | board: sl28: disable recovery watchdogboard/ doc/ | +35 | 0 replies | |
| 9/10 | board: sl28: remove "Useful I2C tricks" section from docsdoc/ | +0 | 0 replies | |
| 10/10 | board: sl28: disable random MAC address generationconfigs/ | +0 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] board: sl28: add sl28cpld support and board cleanups
Add support for the sl28cpld management controller found on this board. This is especially useful, because of the integrated watchdog in this controller. It is used to supervise the bootup of the bootloader and will automatically switch to the failsafe bootloader if u-boot didn't start. Up until now, we had to disable this feature, leaving a gap in the failsafe boot concept of this board. Now, with this driver in place, this watchdog can be enabled at reset and u-boot will disable it late during its startup.
Additionally, add support for the GPIOs which are connected to this controller.
Besides this support, there are various cleanups, like DRAM output fix, printing the version of the management controller and disabling the random MAC address generation.
Implementationwise, the MFD driver is implemented as UCLASS_NOP which provides basic access functions and will enumerate its child nodes. The device tree binding is the same as already acked by the linux kernel.
Michael Walle (10):
misc: add sl28cpld base driver
watchdog: add sl28cpld watchdog driver
gpio: add sl28cpld driver
board: sl28: fix DRAM pretty print
board: sl28: print CPLD version on bootup
board: sl28: enable sl28cpld support
board: sl28: enable SoC watchdog support
board: sl28: disable recovery watchdog
board: sl28: remove "Useful I2C tricks" section from docs
board: sl28: disable random MAC address generation
MAINTAINERS | 7 ++ board/kontron/sl28/sl28.c | 59 +++++++++++- configs/kontron_sl28_defconfig | 11 ++- doc/board/kontron/sl28.rst | 66 +++++++------ drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile | 1 + drivers/gpio/sl28cpld-gpio.c | 165 ++++++++++++++++++++++++++++++++ drivers/misc/Kconfig | 8 ++ drivers/misc/Makefile | 1 + drivers/misc/sl28cpld.c | 105 ++++++++++++++++++++ drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/sl28cpld-wdt.c | 109 +++++++++++++++++++++ include/sl28cpld.h | 17 ++++ 14 files changed, 528 insertions(+), 35 deletions(-) create mode 100644 drivers/gpio/sl28cpld-gpio.c create mode 100644 drivers/misc/sl28cpld.c create mode 100644 drivers/watchdog/sl28cpld-wdt.c create mode 100644 include/sl28cpld.h
Signature · 1 line
2.30.2