[GIT PULL] RISC-V Sophgo Devicetrees for v6.15
Chen Wang
unicorn_wang at outlook.com
Tue Mar 11 00:15:33 PDT 2025
Hey Arnd,
Please pull dt changes for RISC-V/Sophgo.
Please note that in the commits I submitted, I merged a branch ib-sophgo
from Linus Walleij (see [1]). because pinctrl's dts patch depends on it.
So among total 13 commits, the following 5 patches are the actual
patches to be submitted in this PR, others are merged from the branch
ib-sophgo.
5277657d5383 riscv: dts: sophgo: sg2042: add pinctrl support
f047a9285f9f riscv: sophgo: dts: add cooling maps for Milk-V Pioneer
62cdf0a06dd5 riscv: sophgo: dts: add pwm-fan for Milk-V Pioneer
8630ed6f2adc MAINTAINERS: update info for SOPHGO DEVICETREES and DRIVERS
255f83ba5c16 riscv: sophgo: dts: add pwm controller for SG2042 SoC
I'm not sure if this is ok for you, any questions, please feel free let
me know.
Thanks,
Chen.
Link:
https://lore.kernel.org/linux-riscv/CACRpkdYfZ8izsBJaKUd__jXGHnDBU9Tha=2kozjzHssoppgY5w@mail.gmail.com/
[1]
The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:
Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)
are available in the Git repository at:
https://github.com/sophgo/linux.git tags/riscv-sophgo-dt-for-v6.15
for you to fetch changes up to 5277657d53834cfbdbb9444088c1448b29bdfe98:
riscv: dts: sophgo: sg2042: add pinctrl support (2025-02-28 08:43:51
+0800)
----------------------------------------------------------------
RISC-V Devicetrees for v6.15
Sophgo:
Add pwm controller support for SG2042.
Add pwm-fan & cooling maps for Milk-V Pioneer.
Add pinctrl support for SG2042.
Signed-off-by: Chen Wang <unicorn_wang at outlook.com>
----------------------------------------------------------------
Chen Wang (3):
riscv: sophgo: dts: add pwm controller for SG2042 SoC
riscv: sophgo: dts: add pwm-fan for Milk-V Pioneer
riscv: sophgo: dts: add cooling maps for Milk-V Pioneer
Inochi Amaoto (10):
MAINTAINERS: update info for SOPHGO DEVICETREES and DRIVERS
pinctrl: sophgo: avoid to modify untouched bit when setting
cv1800 pinconf
pinctrl: sophgo: introduce generic data structure for cv18xx
pinctrl driver
pinctrl: sophgo: generalize shareable code of cv18xx pinctrl driver
pinctrl: sophgo: introduce generic probe function
dt-bindings: pinctrl: Add pinctrl for Sophgo SG2042 series SoC
pinctrl: sophgo: add support for SG2042 SoC
pinctrl: sophgo: add support for SG2044 SoC
Merge remote-tracking branch 'linux-pinctrl/ib-sophgo' into for-next
riscv: dts: sophgo: sg2042: add pinctrl support
Documentation/devicetree/bindings/pinctrl/sophgo,sg2042-pinctrl.yaml |
129 +++++++++++
MAINTAINERS | 4 +-
arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts |
108 +++++++++
arch/riscv/boot/dts/sophgo/sg2042.dtsi |
15 ++
drivers/pinctrl/sophgo/Kconfig |
46 +++-
drivers/pinctrl/sophgo/Makefile | 8 +-
drivers/pinctrl/sophgo/pinctrl-cv1800b.c |
27 ++-
drivers/pinctrl/sophgo/pinctrl-cv1812h.c |
27 ++-
drivers/pinctrl/sophgo/pinctrl-cv18xx.c |
602 ++++++++++++--------------------------------------
drivers/pinctrl/sophgo/pinctrl-cv18xx.h |
66 +++---
drivers/pinctrl/sophgo/pinctrl-sg2000.c |
27 ++-
drivers/pinctrl/sophgo/pinctrl-sg2002.c |
27 ++-
drivers/pinctrl/sophgo/pinctrl-sg2042-ops.c |
296 +++++++++++++++++++++++++
drivers/pinctrl/sophgo/pinctrl-sg2042.c |
655 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/pinctrl/sophgo/pinctrl-sg2042.h |
49 +++++
drivers/pinctrl/sophgo/pinctrl-sg2044.c |
718 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/pinctrl/sophgo/pinctrl-sophgo-common.c |
451 ++++++++++++++++++++++++++++++++++++++
drivers/pinctrl/sophgo/pinctrl-sophgo.h |
136 ++++++++++++
include/dt-bindings/pinctrl/pinctrl-sg2042.h |
196 +++++++++++++++++
include/dt-bindings/pinctrl/pinctrl-sg2044.h |
221 +++++++++++++++++++
20 files changed, 3265 insertions(+), 543 deletions(-)
create mode 100644
Documentation/devicetree/bindings/pinctrl/sophgo,sg2042-pinctrl.yaml
create mode 100644 drivers/pinctrl/sophgo/pinctrl-sg2042-ops.c
create mode 100644 drivers/pinctrl/sophgo/pinctrl-sg2042.c
create mode 100644 drivers/pinctrl/sophgo/pinctrl-sg2042.h
create mode 100644 drivers/pinctrl/sophgo/pinctrl-sg2044.c
create mode 100644 drivers/pinctrl/sophgo/pinctrl-sophgo-common.c
create mode 100644 drivers/pinctrl/sophgo/pinctrl-sophgo.h
create mode 100644 include/dt-bindings/pinctrl/pinctrl-sg2042.h
create mode 100644 include/dt-bindings/pinctrl/pinctrl-sg2044.h
More information about the linux-riscv
mailing list