From: Chen Wang <unicorn_wang@xxxxxxxxxxx>
This series adds reset controller support for Sophgo SG2042 using
reset-simple driver.
Thanks,
Chen
---
Changes in v3:
This patch series is based on v6.8-rc2, which has included the missed patch I
mentioned in v2.
- As suggested by Philipp, drop the Kconfig for SG2042, just add a default
y if ARCH_SOPHGO to RESET_SIMPLE.
Changes in v2:
This patch series is based on v6.8-rc1. You can simply review or test the
patches at the link [3].
- 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]
Link: https://lore.kernel.org/linux-riscv/cover.1706161530.git.unicorn_wang@xxxxxxxxxxx/ [3]
---
Chen Wang (4):
dt-bindings: reset: sophgo: support SG2042
reset: simple: add support for Sophgo SG2042
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 | 3 +-
drivers/reset/reset-simple.c | 2 +
.../dt-bindings/reset/sophgo,sg2042-reset.h | 87 +++++++++++++++++++
5 files changed, 135 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml
create mode 100644 include/dt-bindings/reset/sophgo,sg2042-reset.h
base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3