Skip to content

clk: qcom: Add camera clock controller driver for SM8250

Jonathan Marek linux-arm-msm linux-clk linux-devicetree lkml oe-kbuild-all 2 versions – Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3clk: qcom: clk-alpha-pll: add support for zonda plldrivers/clk/qcom/clk-alpha-pll.c drivers/clk/qcom/clk-alpha-pll.h+180 -01 reply
2/3dt-bindings: clock: add QCOM SM8250 camera clock bindingsDocumentation/devicetree/bindings/clock/qcom,camcc-sm8250.yaml include/dt-bindings/clock/qcom,camcc-sm8250.h+206 -02 replies
3/3clk: qcom: Add camera clock controller driver for SM8250drivers/clk/qcom/Kconfig drivers/clk/qcom/Makefile drivers/clk/qcom/camcc-sm8250.c+2464 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRobert FossRob Herring
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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
Signature · 1 line
2.26.1