[PATCH v2 0/4] riscv: sophgo: add reset support for SG2042
From: Chen Wang
Date: Thu Jan 25 2024 - 01:10:41 EST
From: Chen Wang <unicorn_wang@xxxxxxxxxxx>
From: Chen Wang <unicorn_wang@xxxxxxxxxxx>
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@xxxxxxxxxxx/ [1]
Link: https://lore.kernel.org/linux-riscv/MA0P287MB28228572C526C5099A8BDA2DFE7B2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/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