[PATCH v4 0/4] Add support for the X1830 v4
From: åçæ (Zhou Yanjie)
Date: Sun Dec 15 2019 - 10:22:20 EST
v1->v2:
1.Use two fields (pll_reg & bypass_reg) instead of the 2-values
array (reg[2]).
2.Remove the "pll_info->version" and add a "pll_info->rate_multiplier".
3.Fix the coding style and add more detailed commit message.
4.Remove [4/5] and [5/5] in v1, because some problems were found in
subsequent tests.
5.Remove unnecessary spinlock as Paul Burton and Paul Cercueil's suggestion.
6.Change my Signed-off-by from "Zhou Yanjie <zhouyanjie@xxxxxxxx>"
to "åçæ (Zhou Yanjie) <zhouyanjie@xxxxxxxxxxxxxx>" because
the old mailbox is in an unstable state.
v2->v3:
Adjust the order of patches.
v3->v4:
1.Remove the spinlock around ingenic_cgu_gate_get().
2.Merge [3/5] in v3 into [2/4] in v4.
åçæ (Zhou Yanjie) (4):
clk: Ingenic: Remove unnecessary spinlock when reading registers.
clk: Ingenic: Adjust cgu code to make it compatible with X1830.
dt-bindings: clock: Add X1830 bindings.
clk: Ingenic: Add CGU driver for X1830.
.../devicetree/bindings/clock/ingenic,cgu.txt | 1 +
drivers/clk/ingenic/Kconfig | 10 +
drivers/clk/ingenic/Makefile | 1 +
drivers/clk/ingenic/cgu.c | 44 +--
drivers/clk/ingenic/cgu.h | 8 +-
drivers/clk/ingenic/jz4725b-cgu.c | 4 +-
drivers/clk/ingenic/jz4740-cgu.c | 4 +-
drivers/clk/ingenic/jz4770-cgu.c | 8 +-
drivers/clk/ingenic/jz4780-cgu.c | 4 +-
drivers/clk/ingenic/x1000-cgu.c | 8 +-
drivers/clk/ingenic/x1830-cgu.c | 340 +++++++++++++++++++++
include/dt-bindings/clock/x1830-cgu.h | 46 +++
12 files changed, 447 insertions(+), 31 deletions(-)
create mode 100644 drivers/clk/ingenic/x1830-cgu.c
create mode 100644 include/dt-bindings/clock/x1830-cgu.h
--
2.7.4