devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jacky Bai <ping.bai@nxp.com>
To: shawnguo@kernel.org, robh+dt@kernel.org, abel.vesa@nxp.com,
	sboyd@kernel.org, s.hauer@pengutronix.de, p.zabel@pengutronix.de
Cc: kernel@pengutronix.de, linux-imx@nxp.com, devicetree@vger.kernel.org
Subject: [PATCH v2 0/9] Add imx8ulp clock & reset driver support
Date: Tue, 10 Aug 2021 14:28:11 +0800	[thread overview]
Message-ID: <20210810062820.1062884-1-ping.bai@nxp.com> (raw)

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/20210607083921.2668568-1-ping.bai@nxp.com/

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

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-clock.yaml         |  71 +++
 drivers/clk/imx/Kconfig                       |   7 +
 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                 | 568 ++++++++++++++++++
 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 ++
 11 files changed, 1120 insertions(+), 32 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/imx8ulp-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

-- 
2.26.2


             reply	other threads:[~2021-08-10  6:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10  6:28 Jacky Bai [this message]
2021-08-10  6:28 ` [PATCH v2 1/9] dt-bindings: clock: Add imx8ulp clock support Jacky Bai
2021-08-17 19:15   ` Rob Herring
2021-08-23  5:43     ` Jacky Bai
2021-08-10  6:28 ` [PATCH v2 2/9] clk: imx: Update the pllv4 to support imx8ulp Jacky Bai
2021-08-10  6:28 ` [PATCH v2 3/9] clk: imx: Update the compsite driver " Jacky Bai
2021-08-10  6:28 ` [PATCH v2 4/9] clk: imx: disable i.mx7ulp composite clock during initialization Jacky Bai
2021-08-10  6:28 ` [PATCH v2 5/9] clk: imx: Add 'CLK_SET_RATE_NO_REPARENT' for composite-7ulp Jacky Bai
2021-08-10  6:28 ` [PATCH v2 6/9] clk: imx: disable the pfd when set pfdv2 clock rate Jacky Bai
2021-08-10  6:28 ` [PATCH v2 7/9] clk: imx: Update the pfdv2 for 8ulp specific support Jacky Bai
2021-08-10  6:28 ` [PATCH v2 8/9] clk: imx: Add clock driver for imx8ulp Jacky Bai
2021-08-10  6:28 ` [PATCH v2 9/9] clk: imx: Add the pcc reset controller support on imx8ulp Jacky Bai
2021-08-23 11:23   ` Philipp Zabel
2021-08-23 23:58     ` Jacky Bai
2021-08-25 10:54       ` Philipp Zabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210810062820.1062884-1-ping.bai@nxp.com \
    --to=ping.bai@nxp.com \
    --cc=abel.vesa@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-imx@nxp.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sboyd@kernel.org \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).