riscv: Add FPIOA and GPIO support for Kendryte K210
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | pinctrl: Add support for Kendryte K210 FPIOAMAINTAINERS doc/ drivers/ +6 more | +1131 | 0 replies | |
| 2/8 | gpio: sifive: Use generic reg read functiondrivers/ | +1 | 0 replies | |
| 3/8 | gpio: dw: Fix warnings about casting int to pointerdrivers/ | +2 | 0 replies | |
| 4/8 | gpio: dw: Add a trailing underscore to generated namedrivers/ | +9 | 0 replies | |
| 5/8 | gpio: dw: Return output value when direction is outdrivers/ | +12 | 0 replies | |
| 6/8 | led: gpio: Default to using node name if label is absentdrivers/ | +2 | 0 replies | |
| 7/8 | riscv: Add pinmux and gpio bindings for Kendryte K210arch/ arch/ | +234 | 0 replies | |
| 8/8 | riscv: Add FPIOA and GPIO support for Kendryte K210board/ doc/ | +74 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Bin Meng |
|---|---|
| 1/8 | |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/8] riscv: Add FPIOA and GPIO support for Kendryte K210
This patch series adds support for pinmuxing, gpios, and leds on the Kendyte K210.
This patch series was previously part of
https://patchwork.ozlabs.org/project/uboot/list/?series=161576
This patch series depends on
https://patchwork.ozlabs.org/project/uboot/list/?series=162643
Sean Anderson (8):
pinctrl: Add support for Kendryte K210 FPIOA
gpio: sifive: Use generic reg read function
gpio: dw: Fix warnings about casting int to pointer
gpio: dw: Add a trailing underscore to generated name
gpio: dw: Return output value when direction is out
led: gpio: Default to using node name if label is absent
riscv: Add pinmux and gpio bindings for Kendryte K210
riscv: Add FPIOA and GPIO support for Kendryte K210
MAINTAINERS | 2 + arch/riscv/dts/k210-maix-bit.dts | 196 ++++++ arch/riscv/dts/k210.dtsi | 43 +- board/sipeed/maix/Kconfig | 12 + doc/board/sipeed/maix.rst | 64 +- .../pinctrl/kendryte,k210-fpioa.txt | 116 +++ drivers/gpio/dwapb_gpio.c | 33 +- drivers/gpio/sifive-gpio.c | 2 +- drivers/led/led_gpio.c | 7 +- drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/kendryte/Kconfig | 7 + drivers/pinctrl/kendryte/Makefile | 1 + drivers/pinctrl/kendryte/pinctrl.c | 666 ++++++++++++++++++ drivers/pinctrl/kendryte/pinctrl.h | 325 +++++++++ include/dt-bindings/pinctrl/k210-pinctrl.h | 12 + 16 files changed, 1465 insertions(+), 23 deletions(-) create mode 100644 doc/device-tree-bindings/pinctrl/kendryte,k210-fpioa.txt create mode 100644 drivers/pinctrl/kendryte/Kconfig create mode 100644 drivers/pinctrl/kendryte/Makefile create mode 100644 drivers/pinctrl/kendryte/pinctrl.c create mode 100644 drivers/pinctrl/kendryte/pinctrl.h create mode 100644 include/dt-bindings/pinctrl/k210-pinctrl.h
Signature · 1 line
2.25.0