[PATCH V2 0/6] Add clocks for Unisoc's SC9863A
From: Chunyan Zhang
Date: Mon Dec 16 2019 - 07:19:58 EST
Add SC9863A specific clock driver and devicetree bindings for it.
Also this patchset added support gate clock for pll which need to
wait a certain time for stable after being switched on.
Changes from v1:
* Address comments:
- Remove redefine things;
- Switch DT bindings to yaml schema;
- Add macros for the new way of specifying clk parents;
- Switch to use the new way of specifying clk parents;
- Clean CLK_IGNORE_UNUSED flags for some SC9863A clocks;
- Drop the module alias;
- Use device_get_match_data() instead of of_match_node();
* Add Rob's reviewed-by on patch 2.
Chunyan Zhang (5):
dt-bindings: clk: sprd: rename the common file name sprd.txt to SoC
specific
dt-bindings: clk: sprd: add bindings for sc9863a clock controller
clk: sprd: Add dt-bindings include file for SC9863A
clk: sprd: Add macros for referencing parents without strings
clk: sprd: add clocks support for SC9863A
Xiaolong Zhang (1):
clk: sprd: add gate for pll clocks
.../clock/{sprd.txt => sprd,sc9860-clk.txt} | 2 +-
.../bindings/clock/sprd,sc9863a-clk.yaml | 77 +
drivers/clk/sprd/Kconfig | 8 +
drivers/clk/sprd/Makefile | 1 +
drivers/clk/sprd/composite.h | 39 +-
drivers/clk/sprd/div.h | 20 +-
drivers/clk/sprd/gate.c | 17 +
drivers/clk/sprd/gate.h | 120 +-
drivers/clk/sprd/mux.h | 28 +-
drivers/clk/sprd/pll.h | 55 +-
drivers/clk/sprd/sc9863a-clk.c | 1835 +++++++++++++++++
include/dt-bindings/clock/sprd,sc9863a-clk.h | 345 ++++
12 files changed, 2494 insertions(+), 53 deletions(-)
rename Documentation/devicetree/bindings/clock/{sprd.txt => sprd,sc9860-clk.txt} (98%)
create mode 100644 Documentation/devicetree/bindings/clock/sprd,sc9863a-clk.yaml
create mode 100644 drivers/clk/sprd/sc9863a-clk.c
create mode 100644 include/dt-bindings/clock/sprd,sc9863a-clk.h
--
2.20.1