All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] board: sl28: add sl28cpld support and board cleanups
@ 2021-11-15 22:45 Michael Walle
  2021-11-15 22:45 ` [PATCH 01/10] misc: add sl28cpld base driver Michael Walle
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Michael Walle @ 2021-11-15 22:45 UTC (permalink / raw)
  To: u-boot; +Cc: Michael Walle

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

-- 
2.30.2


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-02-02  6:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15 22:45 [PATCH 00/10] board: sl28: add sl28cpld support and board cleanups Michael Walle
2021-11-15 22:45 ` [PATCH 01/10] misc: add sl28cpld base driver Michael Walle
2021-11-15 22:45 ` [PATCH 02/10] watchdog: add sl28cpld watchdog driver Michael Walle
2021-11-15 22:45 ` [PATCH 03/10] gpio: add sl28cpld driver Michael Walle
2021-11-15 22:45 ` [PATCH 04/10] board: sl28: fix DRAM pretty print Michael Walle
2021-11-15 22:45 ` [PATCH 05/10] board: sl28: print CPLD version on bootup Michael Walle
2021-11-15 22:45 ` [PATCH 06/10] board: sl28: enable sl28cpld support Michael Walle
2021-11-15 22:45 ` [PATCH 07/10] board: sl28: enable SoC watchdog support Michael Walle
2021-11-15 22:45 ` [PATCH 08/10] board: sl28: disable recovery watchdog Michael Walle
2021-11-15 22:45 ` [PATCH 09/10] board: sl28: remove "Useful I2C tricks" section from docs Michael Walle
2021-11-15 22:45 ` [PATCH 10/10] board: sl28: disable random MAC address generation Michael Walle
2021-11-16 21:14   ` Tom Rini
2021-11-17 16:45     ` Michael Walle
2021-11-17 18:24       ` Tom Rini
2021-11-18  8:29         ` Michael Walle
2021-11-18 14:58           ` Tom Rini
2022-01-31  7:51 ` [PATCH 00/10] board: sl28: add sl28cpld support and board cleanups Michael Walle
2022-01-31 15:25   ` Tom Rini
2022-02-02  6:38     ` Priyanka Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.