[RFC PATCH 0/4] ESWIN EIC7700 pinctrl driver

From: Emil Renner Berthing
Date: Tue Mar 25 2025 - 10:13:25 EST


Hi Pinkesh et. al

It's great to see you've begun upstreaming support for the EIC7700. I
read some of the data sheet for the SoC and noticed the pinctrl is quite
simple and could benefit from using the same model as the TH1520 pinctrl
driver. This version should do the same as the vendor driver, but in
less than 2/3 the code.

I hope you'll consider switching to this version once the basic
support[1] lands. This patchset also depends on that series.

[1]: https://lore.kernel.org/all/20250320105449.2094192-1-pinkesh.vaghela@xxxxxxxxxxxxxx/

Emil Renner Berthing (4):
dt-bindings: pinctrl: Add eswin,eic7700-pinctrl binding
pinctrl: Add driver for the ESWIN EIC7700 RISC-V SoC
riscv: dts: Add EIC7700 pin controller node
riscv: dts: eswin: Add HiFive Premier UART pin control

.../pinctrl/eswin,eic7700-pinctrl.yaml | 141 +++
.../dts/eswin/eic7700-hifive-premier-p550.dts | 46 +
arch/riscv/boot/dts/eswin/eic7700.dtsi | 17 +
drivers/pinctrl/Kconfig | 14 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-eic7700.c | 802 ++++++++++++++++++
6 files changed, 1021 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/eswin,eic7700-pinctrl.yaml
create mode 100644 drivers/pinctrl/pinctrl-eic7700.c


base-commit: 38fec10eb60d687e30c8c6b5420d86e8149f7557
prerequisite-patch-id: 2e5cc67f66a8cfe463ec73b98cd17130d4094a86
prerequisite-patch-id: e39d6867f89c605fd1e3621937c8c91a6cfbe7c8
prerequisite-patch-id: 5d2232bb3ce3d7d4e23477c2ad3db30424fee33c
prerequisite-patch-id: 946719f43a0cc23ffe82e996e076de2221dcd8db
prerequisite-patch-id: c2c2bc1b676b1e15165e107515b380318e9ca941
prerequisite-patch-id: aa4a955dd99d0796973fedb78bea269ebab73b6b
prerequisite-patch-id: 1cd27ddae721cc1e6c52723f8b360b09b5e712c7
prerequisite-patch-id: 237813218e54e0c7cbed8d72e30eb649ffd9ecd4
prerequisite-patch-id: 8e687755e898e71c80b0294b90deac71fe05c421
prerequisite-patch-id: 05622d10a27ba9cba36b3d194e51a2d8d7b7b783
--
2.43.0