mbox series

[V2,0/3] Devicetree support for Loongson-1 clock

Message ID 20230209132614.1079198-1-keguang.zhang@gmail.com (mailing list archive)
Headers show
Series Devicetree support for Loongson-1 clock | expand

Message

Keguang Zhang Feb. 9, 2023, 1:26 p.m. UTC
Removes the old Loongson-1 clock driver mainly because of
no DT support and outdated implementation.
Then, re-implement it to solve the above issues,
along with the devicetree binding document.

Keguang Zhang (3):
  dt-bindings: clock: Add Loongson-1 clock
  clk: loongson1: Remove the outdated driver
  clk: loongson1: Re-implement the clock driver

 .../bindings/clock/loongson,ls1x-clk.yaml     |  49 +++
 drivers/clk/Makefile                          |   2 +-
 drivers/clk/clk-loongson1.c                   | 298 ++++++++++++++++++
 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 -
 include/dt-bindings/clock/loongson,ls1x-clk.h |  19 ++
 9 files changed, 367 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
 create mode 100644 include/dt-bindings/clock/loongson,ls1x-clk.h


base-commit: 623880b500338017e010d76f31a41f0c0fe5c8ab