mbox series

[0/5] Add support for the AAEON UP board FPGA

Message ID 20241211-aaeon-up-board-pinctrl-support-v1-0-24719be27631@bootlin.com
Headers show
Series Add support for the AAEON UP board FPGA | expand

Message

Thomas Richard Dec. 11, 2024, 4:27 p.m. UTC
This is the revival of the AAEON UP boards FPGA.
The latest version was sent one year ago [1].

I started a new series, as I re-wrote all the drivers using the AAEON
DKMS driver [2] as reference. I also read all series sent to the ML to
collect the comments sent by the maintainers and reviewers (to not
reproduce the same errors).

The FPGA acts as a level shifter between the Intel SoC and the HAT interfaces.
The pinctrl driver shall manage FPGA pins in tandem with the corresponding
Intel SoC pins. In the previous series [2], this was done using Intel pinctrl
code (included in the FPGA pinctrl driver).
Now this code was removed and gpiolib is used to drive the SoC pins.

The FPGA also drives some LEDs.

This series adds support for UP and UP Squared boards.

More informations (like the HAT mapping) are available on the UP community
wiki [3].

[1] https://lore.kernel.org/all/20231031015119.29756-1-larry.lai@yunjingtech.com/
[2] https://github.com/up-division/pinctrl-upboard
[3] https://github.com/up-board/up-community/wiki

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Thomas Richard (5):
      mfd: Add support for AAEON UP board FPGA
      leds: Add AAEON UP board LED driver
      gpiolib: add gpiochip_add_pinlist_range() function
      pinctrl: Add pin controller driver for AAEON UP boards
      MAINTAINERS: Add entry for AAEON UP board FPGA drivers

 MAINTAINERS                       |    8 +
 drivers/gpio/gpiolib.c            |   74 ++-
 drivers/leds/Kconfig              |    9 +
 drivers/leds/Makefile             |    1 +
 drivers/leds/leds-upboard.c       |  126 +++++
 drivers/mfd/Kconfig               |   12 +
 drivers/mfd/Makefile              |    2 +
 drivers/mfd/upboard-fpga.c        |  325 +++++++++++
 drivers/pinctrl/Kconfig           |   14 +
 drivers/pinctrl/Makefile          |    1 +
 drivers/pinctrl/pinctrl-upboard.c | 1090 +++++++++++++++++++++++++++++++++++++
 include/linux/gpio/driver.h       |   12 +
 include/linux/mfd/upboard-fpga.h  |   55 ++
 13 files changed, 1709 insertions(+), 20 deletions(-)
---
base-commit: cbc4912199deab59fdbd830b115d81941d0add46
change-id: 20240930-aaeon-up-board-pinctrl-support-98fa4a030490

Best regards,