mbox series

[v2,0/3] clk: qcom: Add camera clock controller driver for SM8250

Message ID 20210609022051.2171-1-jonathan@marek.ca (mailing list archive)
Headers show
Series clk: qcom: Add camera clock controller driver for SM8250 | expand

Message

Jonathan Marek June 9, 2021, 2:20 a.m. UTC
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