[PATCH v2 0/4] riscv: sophgo: add reset support for SG2042
Chen Wang
unicornxw at gmail.com
Wed Jan 24 22:09:47 PST 2024
From: Chen Wang <unicorn_wang at outlook.com>
From: Chen Wang <unicorn_wang at outlook.com>
This series adds reset controller support for Sophgo SG2042 using
reset-simple driver.
Thanks,
Chen
---
Changes in v2:
This patch series is based on v6.8-rc1.
- fixed some minor formatting issues.
Note that if you need to pass dtb check, you need to apply a patch. This
patch is missing in v6.8-rc1. For details, please see [2].
Changes in v1:
The patch series is based on v6.7. You can simply review or test the
patches at the link [1].
Link: https://lore.kernel.org/linux-riscv/cover.1704790558.git.unicorn_wang@outlook.com/ [1]
Link: https://lore.kernel.org/linux-riscv/MA0P287MB28228572C526C5099A8BDA2DFE7B2@MA0P287MB2822.INDP287.PROD.OUTLOOK.COM/T/#u [2]
---
Chen Wang (4):
dt-bindings: reset: sophgo: support SG2042
reset: sophgo: add SG2042 reset generator driver
riscv: dts: add reset generator for Sophgo SG2042 SoC
riscv: dts: add resets property for uart node
.../bindings/reset/sophgo,sg2042-reset.yaml | 35 ++++++++
arch/riscv/boot/dts/sophgo/sg2042.dtsi | 9 ++
drivers/reset/Kconfig | 1 +
drivers/reset/reset-simple.c | 2 +
drivers/reset/sophgo/Kconfig | 10 +++
.../dt-bindings/reset/sophgo,sg2042-reset.h | 87 +++++++++++++++++++
6 files changed, 144 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml
create mode 100644 drivers/reset/sophgo/Kconfig
create mode 100644 include/dt-bindings/reset/sophgo,sg2042-reset.h
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
--
2.25.1
More information about the linux-riscv
mailing list