RFC Introduce reset driver for T-HEAD th1520 SoC
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: reset: Document th1520 reset controlDocumentation/ | +39 | 2 replies | |
| 2/3 | reset: Add th1520 reset driver supportdrivers/ drivers/ drivers/ +1 more | +129 | 2 replies | |
| 3/3 | riscv: dts: Add th1520 reset device treearch/ arch/ | +12 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] Introduce reset driver for T-HEAD th1520 SoC
This patchset adds initial support for reset driver. Register information is from vendor kernel [1].
I sent an e-mail to get permission the original author, but there was no answer. So I upload patch since it has GPL license.
This patch also can be tested with watchdog simply with
```
watchdog0: watchdog@ffefc30000 {
compatible = "snps,dw-wdt";
reg = <0xff 0xefc30000 0x0 0x1000>;
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&osc>;
resets = <&rst TH1520_RESET_WDT0>;
status = "disabled";
};
```[1] https://github.com/revyos/thead-kernel.git
Kwanghoon Son (3):
dt-bindings: reset: Document th1520 reset control
reset: Add th1520 reset driver support
riscv: dts: Add th1520 reset device tree
.../bindings/reset/thead,th1520-reset.yaml | 39 +++++++ .../dts/thead/th1520-lichee-module-4a.dtsi | 4 + arch/riscv/boot/dts/thead/th1520.dtsi | 8 ++ drivers/reset/Kconfig | 10 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-th1520.c | 109 ++++++++++++++++++ include/dt-bindings/reset/th1520-reset.h | 9 ++ 7 files changed, 180 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/thead,th1520-reset.yaml create mode 100644 drivers/reset/reset-th1520.c create mode 100644 include/dt-bindings/reset/th1520-reset.h
Signature · 1 line
2.34.1