This patchset adds devicetree support for Loongson-1 clock, including the devicetree binding and the driver. Keguang Zhang (2): dt-bindings: clock: Add binding for Loongson-1 clock driver clk: loongson1: Refactor to add devicetree support .../bindings/clock/loongson,ls1x-clk.yaml | 81 ++++ drivers/clk/Makefile | 2 +- drivers/clk/clk-loongson1.c | 348 ++++++++++++++++++ drivers/clk/loongson1/Makefile | 4 - drivers/clk/loongson1/clk-loongson1b.c | 118 ------ drivers/clk/loongson1/clk-loongson1c.c | 95 ----- drivers/clk/loongson1/clk.c | 41 --- drivers/clk/loongson1/clk.h | 15 - 8 files changed, 430 insertions(+), 274 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/loongson,ls1x-clk.yaml create mode 100644 drivers/clk/clk-loongson1.c delete mode 100644 drivers/clk/loongson1/Makefile delete mode 100644 drivers/clk/loongson1/clk-loongson1b.c delete mode 100644 drivers/clk/loongson1/clk-loongson1c.c delete mode 100644 drivers/clk/loongson1/clk.c delete mode 100644 drivers/clk/loongson1/clk.h base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 -- 2.34.1