[PATCH v2 0/3] clk: qcom: Add camera clock controller driver for SM8250
From: Jonathan Marek
Date: Tue Jun 08 2021 - 22:24:08 EST
v2:
- zonda pll:
- Re-use clk_alpha_pll_postdiv_fabia_ops for postdiv ops
- Use clk_alpha_pll_write_config helper for configure function
- Remove dubious memory barriers that were copied from downstream
- Use pll_alpha_width() for ALPHA_VAL size (downstream uses 32 but it turns
out the 16 returned by pll_alpha_width is the correct value)
- Use clk_trion_pll_recalc_rate for recalc_rate function
- Remove error checking on regmap functions (mmio can't fail)
- bindings: fix a copy-paste error
- camcc:
- lowercase hex, remove stray commented out line, fix double semicolon
- add missing call to clk_zonda_pll_configure for pll2
Jonathan Marek (3):
clk: qcom: clk-alpha-pll: add support for zonda pll
dt-bindings: clock: add QCOM SM8250 camera clock bindings
clk: qcom: Add camera clock controller driver for SM8250
.../bindings/clock/qcom,camcc-sm8250.yaml | 68 +
drivers/clk/qcom/Kconfig | 7 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/camcc-sm8250.c | 2456 +++++++++++++++++
drivers/clk/qcom/clk-alpha-pll.c | 174 ++
drivers/clk/qcom/clk-alpha-pll.h | 6 +
include/dt-bindings/clock/qcom,camcc-sm8250.h | 138 +
7 files changed, 2850 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,camcc-sm8250.yaml
create mode 100644 drivers/clk/qcom/camcc-sm8250.c
create mode 100644 include/dt-bindings/clock/qcom,camcc-sm8250.h
--
2.26.1