linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/14] Add BLK_CTL support for i.MX8MP
@ 2020-09-08 10:24 Abel Vesa
  2020-09-08 10:24 ` [PATCH v3 01/14] dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to audio_blk_ctl Abel Vesa
                   ` (13 more replies)
  0 siblings, 14 replies; 20+ messages in thread
From: Abel Vesa @ 2020-09-08 10:24 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: Abel Vesa, linux-clk, NXP Linux Team, linux-arm-kernel,
	Linux Kernel Mailing List

The BLK_CTL 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 v2:
 * Made the naming consistent with the RM: BLK_CTL (not BLK_CTRL)
 * fixed the reset set procedure as discussed with Philipp Zabel
 * removed the patch that includes the imx8mp-reset header in dtsi
   as there is no user yet.
 * added i.MX8MP specific blk_ctl driver as suggested by Aisheng Dong

Abel Vesa (14):
  dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to
    audio_blk_ctl
  dt-bindings: reset: imx8mp: Add audio blk_ctl reset IDs
  dt-bindings: clock: imx8mp: Add ids for the audio shared gate
  dt-bindings: clock: imx8mp: Add media blk_ctl clock IDs
  dt-bindings: reset: imx8mp: Add media blk_ctl reset IDs
  dt-bindings: clock: imx8mp: Add hdmi blk_ctl clock IDs
  dt-bindings: reset: imx8mp: Add hdmi blk_ctl reset IDs
  clk: imx8mp: Add audio shared gate
  Documentation: bindings: clk: Add bindings for i.MX BLK_CTL
  clk: imx: Add generic blk-ctl driver
  clk: imx: Add blk-ctl driver for i.MX8MP
  arm64: dts: imx8mp: Add audio_blk_ctl node
  arm64: dts: imx8mp: Add media_blk_ctl node
  arm64: dts: imx8mp: Add hdmi_blk_ctl node

 .../devicetree/bindings/clock/fsl,imx-blk-ctl.yaml |  60 ++++
 arch/arm64/boot/dts/freescale/imx8mp.dtsi          |  37 +++
 drivers/clk/imx/Makefile                           |   2 +-
 drivers/clk/imx/clk-blk-ctl-imx8mp.c               | 313 +++++++++++++++++++++
 drivers/clk/imx/clk-blk-ctl.c                      | 297 +++++++++++++++++++
 drivers/clk/imx/clk-blk-ctl.h                      |  80 ++++++
 drivers/clk/imx/clk-imx8mp.c                       |  12 +-
 include/dt-bindings/clock/imx8mp-clock.h           | 200 +++++++++----
 include/dt-bindings/reset/imx8mp-reset.h           |  45 +++
 9 files changed, 983 insertions(+), 63 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx-blk-ctl.yaml
 create mode 100644 drivers/clk/imx/clk-blk-ctl-imx8mp.c
 create mode 100644 drivers/clk/imx/clk-blk-ctl.c
 create mode 100644 drivers/clk/imx/clk-blk-ctl.h

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-09-30 13:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 10:24 [PATCH v3 00/14] Add BLK_CTL support for i.MX8MP Abel Vesa
2020-09-08 10:24 ` [PATCH v3 01/14] dt-bindings: clocks: imx8mp: Rename audiomix ids clocks to audio_blk_ctl Abel Vesa
2020-09-08 10:24 ` [PATCH v3 02/14] dt-bindings: reset: imx8mp: Add audio blk_ctl reset IDs Abel Vesa
2020-09-08 10:24 ` [PATCH v3 03/14] dt-bindings: clock: imx8mp: Add ids for the audio shared gate Abel Vesa
2020-09-11  7:23   ` Aisheng Dong
2020-09-08 10:24 ` [PATCH v3 04/14] dt-bindings: clock: imx8mp: Add media blk_ctl clock IDs Abel Vesa
2020-09-08 10:24 ` [PATCH v3 05/14] dt-bindings: reset: imx8mp: Add media blk_ctl reset IDs Abel Vesa
2020-09-08 10:24 ` [PATCH v3 06/14] dt-bindings: clock: imx8mp: Add hdmi blk_ctl clock IDs Abel Vesa
2020-09-11  7:23   ` Aisheng Dong
2020-09-08 10:24 ` [PATCH v3 07/14] dt-bindings: reset: imx8mp: Add hdmi blk_ctl reset IDs Abel Vesa
2020-09-08 10:24 ` [PATCH v3 08/14] clk: imx8mp: Add audio shared gate Abel Vesa
2020-09-08 10:24 ` [PATCH v3 09/14] Documentation: bindings: clk: Add bindings for i.MX BLK_CTL Abel Vesa
2020-09-15 16:47   ` Rob Herring
2020-09-08 10:24 ` [PATCH v3 10/14] clk: imx: Add generic blk-ctl driver Abel Vesa
2020-09-11  9:36   ` Dong Aisheng
2020-09-30 13:40     ` Abel Vesa
2020-09-08 10:24 ` [PATCH v3 11/14] clk: imx: Add blk-ctl driver for i.MX8MP Abel Vesa
2020-09-08 10:24 ` [PATCH v3 12/14] arm64: dts: imx8mp: Add audio_blk_ctl node Abel Vesa
2020-09-08 10:24 ` [PATCH v3 13/14] arm64: dts: imx8mp: Add media_blk_ctl node Abel Vesa
2020-09-08 10:24 ` [PATCH v3 14/14] arm64: dts: imx8mp: Add hdmi_blk_ctl 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).