Many SoC have a simple reset controller with toggling bit to perform assert/deassert. It is annoyed to add compatiable for each device when coming a new SoC. It is necessary to introduct a generic device to simplify these things. Add a simple generic bit reset controller, and migrate the Sophgo SG2042 reset controller as an example. Inochi Amaoto (4): dt-bindings: reset: add generic bit reset controller reset: simple: add support generic reset-simple device dt-bindings: reset: simple: migrate sophgo sg2042 reset controller riscv: dts: sg2042: Adapt reset generator for new binding .../bindings/reset/reset-simple.yaml | 46 +++++++++++++++++++ .../bindings/reset/sophgo,sg2042-reset.yaml | 35 -------------- arch/riscv/boot/dts/sophgo/sg2042.dtsi | 2 +- drivers/reset/reset-simple.c | 3 ++ 4 files changed, 50 insertions(+), 36 deletions(-) create mode 100644 Documentation/devicetree/bindings/reset/reset-simple.yaml delete mode 100644 Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml -- 2.48.1