linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/17] Add BLK_CTRL support for i.MX8MP
@ 2020-08-14 12:09 Abel Vesa
  2020-08-14 12:09 ` [PATCH v2 01/17] dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to audio_blk_ctrl Abel Vesa
                   ` (16 more replies)
  0 siblings, 17 replies; 48+ messages in thread
From: Abel Vesa @ 2020-08-14 12:09 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd, Rob Herring, Shawn Guo,
	Sascha Hauer, Fabio Estevam, Philipp Zabel, Anson Huang,
	Jacky Bai, Peng Fan, Dong Aisheng, Fugang Duan, devicetree
  Cc: NXP Linux Team, linux-arm-kernel, Linux Kernel Mailing List,
	linux-clk, Abel Vesa

The BLK_CTRL according to HW design is basically the wrapper of the entire
function specific group of IPs and holds GPRs that usually cannot be placed
into one specific IP from that group. Some of these GPRs are used to control
some clocks, other some resets, others some very specific function that does
not fit into clocks or resets. Since the clocks are registered using the i.MX
clock subsystem API, the driver is placed into the clock subsystem, but it
also registers the resets. For the other functionalities that other GPRs might
have, the syscon is used.

Changes since v1:
 * implemented the runtime pm in blk_ctrl as discussed with Philipp Zabel on
v1 thread
 * changed the blk-ctl to clock-controller in the dts and doc
 * fixed the yaml doc
 * removed the power-domains properties since the power-domains driver
is not yet upstream for i.MX8MP.

Abel Vesa (17):
  dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to
    audio_blk_ctrl
  dt-bindings: reset: imx8mp: Add audio blk_ctrl reset IDs
  dt-bindings: clock: imx8mp: Add ids for the audio shared gate
  dt-bindings: clock: imx8mp: Add media blk_ctrl clock IDs
  dt-bindings: reset: imx8mp: Add media blk_ctrl reset IDs
  dt-bindings: clock: imx8mp: Add hdmi blk_ctrl clock IDs
  dt-bindings: reset: imx8mp: Add hdmi blk_ctrl reset IDs
  clk: imx8mp: Add audio shared gate
  arm64: dts: Remove imx-hdmimix-reset header file
  Documentation: bindings: clk: Add bindings for i.MX BLK_CTRL
  clk: imx: Add blk_ctrl combo driver
  clk: imx8mp: Add audio blk_ctrl clocks and resets
  clk: imx8mp: Add hdmi blk_ctrl clocks and resets
  clk: imx8mp: Add media blk_ctrl clocks and resets
  arm64: dts: imx8mp: Add audio_blk_ctrl node
  arm64: dts: imx8mp: Add media_blk_ctrl node
  arm64: dts: imx8mp: Add hdmi_blk_ctrl node

 .../bindings/clock/fsl,imx-blk-ctrl.yaml           |  60 ++++
 arch/arm64/boot/dts/freescale/imx8mp.dtsi          |  41 +++
 drivers/clk/imx/Makefile                           |   2 +-
 drivers/clk/imx/clk-blk-ctrl.c                     | 339 +++++++++++++++++++++
 drivers/clk/imx/clk-blk-ctrl.h                     |  81 +++++
 drivers/clk/imx/clk-imx8mp.c                       | 281 ++++++++++++++++-
 include/dt-bindings/clock/imx8mp-clock.h           | 200 ++++++++----
 include/dt-bindings/reset/imx8mp-reset.h           |  45 +++
 8 files changed, 986 insertions(+), 63 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml
 create mode 100644 drivers/clk/imx/clk-blk-ctrl.c
 create mode 100644 drivers/clk/imx/clk-blk-ctrl.h

-- 
2.7.4


^ permalink raw reply	[flat|nested] 48+ messages in thread

end of thread, other threads:[~2020-09-07  9:11 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-14 12:09 [PATCH v2 00/17] Add BLK_CTRL support for i.MX8MP Abel Vesa
2020-08-14 12:09 ` [PATCH v2 01/17] dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to audio_blk_ctrl Abel Vesa
2020-08-17  7:44   ` Dong Aisheng
2020-08-25  2:12   ` Rob Herring
2020-08-14 12:09 ` [PATCH v2 02/17] dt-bindings: reset: imx8mp: Add audio blk_ctrl reset IDs Abel Vesa
2020-08-17  7:45   ` Dong Aisheng
2020-08-25  2:13   ` Rob Herring
2020-08-14 12:09 ` [PATCH v2 03/17] dt-bindings: clock: imx8mp: Add ids for the audio shared gate Abel Vesa
2020-08-17  7:45   ` Dong Aisheng
2020-08-14 12:09 ` [PATCH v2 04/17] dt-bindings: clock: imx8mp: Add media blk_ctrl clock IDs Abel Vesa
2020-08-17  7:46   ` Dong Aisheng
2020-08-14 12:09 ` [PATCH v2 05/17] dt-bindings: reset: imx8mp: Add media blk_ctrl reset IDs Abel Vesa
2020-08-17  7:47   ` Dong Aisheng
2020-08-14 12:09 ` [PATCH v2 06/17] dt-bindings: clock: imx8mp: Add hdmi blk_ctrl clock IDs Abel Vesa
2020-08-14 12:09 ` [PATCH v2 07/17] dt-bindings: reset: imx8mp: Add hdmi blk_ctrl reset IDs Abel Vesa
2020-08-17  7:47   ` Dong Aisheng
2020-08-14 12:09 ` [PATCH v2 08/17] clk: imx8mp: Add audio shared gate Abel Vesa
2020-08-17  7:48   ` Dong Aisheng
2020-08-14 12:09 ` [PATCH v2 09/17] arm64: dts: Remove imx-hdmimix-reset header file Abel Vesa
2020-08-17  7:51   ` Dong Aisheng
2020-08-19 20:09     ` Abel Vesa
2020-08-14 12:09 ` [PATCH v2 10/17] Documentation: bindings: clk: Add bindings for i.MX BLK_CTRL Abel Vesa
2020-08-17  8:07   ` Dong Aisheng
2020-08-25  2:14   ` Rob Herring
2020-08-14 12:09 ` [PATCH v2 11/17] clk: imx: Add blk_ctrl combo driver Abel Vesa
2020-08-18 11:27   ` Dong Aisheng
2020-08-19 20:31     ` Abel Vesa
2020-08-20  1:40       ` Dong Aisheng
2020-08-25 10:48   ` Philipp Zabel
2020-08-25 11:24     ` Abel Vesa
2020-08-25 12:07       ` Philipp Zabel
2020-08-25 14:11         ` Abel Vesa
2020-08-25 18:30         ` Abel Vesa
2020-08-26  7:46           ` Philipp Zabel
2020-08-14 12:09 ` [PATCH v2 12/17] clk: imx8mp: Add audio blk_ctrl clocks and resets Abel Vesa
2020-08-18 11:29   ` Dong Aisheng
2020-08-19 20:33     ` Abel Vesa
2020-08-14 12:09 ` [PATCH v2 13/17] clk: imx8mp: Add hdmi " Abel Vesa
2020-08-14 12:09 ` [PATCH v2 14/17] clk: imx8mp: Add media " Abel Vesa
2020-08-14 12:09 ` [PATCH v2 15/17] arm64: dts: imx8mp: Add audio_blk_ctrl node Abel Vesa
2020-08-18 11:32   ` Dong Aisheng
2020-08-19 20:33     ` Abel Vesa
2020-08-14 12:09 ` [PATCH v2 16/17] arm64: dts: imx8mp: Add media_blk_ctrl node Abel Vesa
2020-08-18 11:34   ` Dong Aisheng
2020-08-19 20:37     ` Abel Vesa
2020-08-20  1:31       ` Dong Aisheng
2020-09-07  9:11         ` Abel Vesa
2020-08-14 12:09 ` [PATCH v2 17/17] arm64: dts: imx8mp: Add hdmi_blk_ctrl node Abel Vesa

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).