Skip to content

Add imx8ulp clock & reset driver support

Jacky Bai linux-devicetree 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 16 repliesIn review
  2. v29 patches 5 repliesSuperseded
  3. v19 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- split the clock dt schema file into two file, one for pcc, one for cgc

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9dt-bindings: clock: Add imx8ulp clock supportDocumentation/devicetree/bindings/clock/imx8ulp-cgc-clock.yaml Documentation/devicetree/bindings/clock/imx8ulp-pcc-clock.yaml include/dt-bindings/clock/imx8ulp-clock.h +1 more+410 -04 replies
2/9clk: imx: Update the pllv4 to support imx8ulpdrivers/clk/imx/clk-imx7ulp.c drivers/clk/imx/clk-pllv4.c drivers/clk/imx/clk.h+34 -131 reply
3/9clk: imx: Update the compsite driver to support imx8ulpdrivers/clk/imx/clk-composite-7ulp.c drivers/clk/imx/clk.h+64 -31 reply
4/9clk: imx: disable i.mx7ulp composite clock during initializationdrivers/clk/imx/clk-composite-7ulp.c+14 -01 reply
5/9clk: imx: Add 'CLK_SET_RATE_NO_REPARENT' for composite-7ulpdrivers/clk/imx/clk-composite-7ulp.c+1 -11 reply
6/9clk: imx: disable the pfd when set pfdv2 clock ratedrivers/clk/imx/clk-pfdv2.c+11 -21 reply
7/9clk: imx: Update the pfdv2 for 8ulp specific supportdrivers/clk/imx/clk-imx7ulp.c drivers/clk/imx/clk-pfdv2.c drivers/clk/imx/clk.h+21 -131 reply
8/9clk: imx: Add clock driver for imx8ulpdrivers/clk/imx/Kconfig drivers/clk/imx/Makefile drivers/clk/imx/clk-imx8ulp.c+467 -01 reply
9/9clk: imx: Add the pcc reset controller support on imx8ulpdrivers/clk/imx/clk-composite-7ulp.c drivers/clk/imx/clk-imx8ulp.c+123 -33 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchAbel Vesa
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/9] Add imx8ulp clock & reset driver support

This patchset adds the clock & reset driver support for i.MX8ULP. For some of the PCC slot, As there is a SWRST control bit share the same pcc register for peripheral reset ccontrol. To simplify the case, register the pcc reset controller driver when pcc clock driver is registered.

Patch 1/9 for the dt-bindings part is send out for review previously with the dts patchset:
https://patchwork.kernel.org/project/linux-arm-kernel/cover/[email protected]/

Shawn suggests to send out the clock driver part firstly, so this patch is included in this patchset for now.

v3 changes:
- split the clock dt schema file into two file, one for pcc, one for cgc

v2 changes:
- remove the useless clocks & clock-names from the dt-binding doc
- remove the redundant fixed clock register.

Anson Huang (1):
clk: imx: disable i.mx7ulp composite clock during initialization

Jacky Bai (8):
dt-bindings: clock: Add imx8ulp clock support
clk: imx: Update the pllv4 to support imx8ulp
clk: imx: Update the compsite driver to support imx8ulp
clk: imx: Add 'CLK_SET_RATE_NO_REPARENT' for composite-7ulp
clk: imx: disable the pfd when set pfdv2 clock rate
clk: imx: Update the pfdv2 for 8ulp specific support
clk: imx: Add clock driver for imx8ulp
clk: imx: Add the pcc reset controller support on imx8ulp

 .../bindings/clock/imx8ulp-cgc-clock.yaml     |  43 ++
 .../bindings/clock/imx8ulp-pcc-clock.yaml     |  50 ++
 drivers/clk/imx/Kconfig                       |   6 +
 drivers/clk/imx/Makefile                      |   2 +
 drivers/clk/imx/clk-composite-7ulp.c          |  87 ++-
 drivers/clk/imx/clk-imx7ulp.c                 |  20 +-
 drivers/clk/imx/clk-imx8ulp.c                 | 569 ++++++++++++++++++
 drivers/clk/imx/clk-pfdv2.c                   |  22 +-
 drivers/clk/imx/clk-pllv4.c                   |  34 +-
 drivers/clk/imx/clk.h                         |  24 +-
 include/dt-bindings/clock/imx8ulp-clock.h     | 258 ++++++++
 include/dt-bindings/reset/imx8ulp-pcc-reset.h |  59 ++
 12 files changed, 1142 insertions(+), 32 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/imx8ulp-cgc-clock.yaml
 create mode 100644 Documentation/devicetree/bindings/clock/imx8ulp-pcc-clock.yaml
 create mode 100644 drivers/clk/imx/clk-imx8ulp.c
 create mode 100644 include/dt-bindings/clock/imx8ulp-clock.h
 create mode 100644 include/dt-bindings/reset/imx8ulp-pcc-reset.h
Signature · 1 line
2.26.2