[PATCH 0/2] riscv: spacemit: add pinctrl support to K1 SoC

Yixun Lan dlan at gentoo.org
Fri Jul 19 05:21:38 PDT 2024


This series adds pinctrl support to SpacemiT's K1 SoC which
has feature compatible with pinctrl-single driver, then later
add pinctrl property for Bananapi-F3 uart device.

The pinctrl docs of K1 can be found here[1], and this dts is largely
converted from vendor's pinctrl code[2]

Note, ideally, we should map raw drive strength value to more user
readable current value, still need to figure out this..

Link: https://developer.spacemit.com/#/documentation?token=An1vwTwKaigaXRkYfwmcznTXned [1]
Link: https://gitee.com/bianbu-linux/linux-6.1/blob/bl-v1.0.y/arch/riscv/boot/dts/spacemit/k1-x_pinctrl.dtsi [2]
Signed-off-by: Yixun Lan <dlan at gentoo.org>
---
Yixun Lan (2):
      riscv: dts: spacemit: add pinctrl support for K1 SoC
      riscv: dts: spacemit: add pinctrl property to uart0 in BPI-F3

 arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts |    3 +
 arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi    | 1746 +++++++++++++++++++++++
 arch/riscv/boot/dts/spacemit/k1-pinctrl.h       |  220 +++
 arch/riscv/boot/dts/spacemit/k1.dtsi            |   14 +
 4 files changed, 1983 insertions(+)
---
base-commit: 0c3836482481200ead7b416ca80c68a29cfdaabd
change-id: 20240708-02-k1-pinctrl-3a2b0ec13101
prerequisite-change-id: 20240626-k1-01-basic-dt-1aa31eeebcd2:v4
prerequisite-patch-id: 47dcf6861f7d434d25855b379e6d7ef4ce369c9c
prerequisite-patch-id: 0ec28c28b96fb9bab28d05be6f772323bed4db95
prerequisite-patch-id: b0bdb1742d96c5738f05262c3b0059102761390b
prerequisite-patch-id: 3927d39d8d77e35d5bfe53d9950da574ff8f2054
prerequisite-patch-id: a98039136a4796252a6029e474f03906f2541643
prerequisite-patch-id: c95f6dc0547a2a63a76e3cba0cf5c623b212b4e6
prerequisite-patch-id: 66e750e438ee959ddc2a6f0650814a2d8c989139
prerequisite-patch-id: 6bba652dd4f57b276010990ec36cae348b0e1b4e
prerequisite-patch-id: 0bdfff661c33c380d1cf00a6c68688e05f88c0b3
prerequisite-patch-id: 99f15718e0bfbb7ed1a96dfa19f35841b004dae9

Best regards,
-- 
Yixun Lan <dlan at gentoo.org>




More information about the linux-riscv mailing list