[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1603740750-10385-1-git-send-email-abel.vesa@nxp.com>
Date: Mon, 26 Oct 2020 21:32:16 +0200
From: Abel Vesa <abel.vesa@....com>
To: Mike Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Adam Ford <aford173@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Lucas Stach <l.stach@...gutronix.de>,
Rob Herring <robh@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Anson Huang <anson.huang@....com>,
Jacky Bai <ping.bai@....com>, Peng Fan <peng.fan@....com>,
Dong Aisheng <aisheng.dong@....com>
Cc: NXP Linux Team <linux-imx@....com>,
linux-arm-kernel@...ts.infradead.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
Abel Vesa <abel.vesa@....com>
Subject: [PATCH v4 00/14] Add BLK_CTL support for i.MX8MP
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 v3:
* added R-b tags
* renamed the imx_blk_ctl_probe to imx_blk_ctl_register since
it's gonna be used by all the i.MX8M for their paltform blk_ctl
driver.
* added dedicated probe function for i.MX8MP blk_ctl driver
* fixed the reset deassert first issue reported 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 | 316 +++++++++++++++++++++
drivers/clk/imx/clk-blk-ctl.c | 302 ++++++++++++++++++++
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, 991 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
Powered by blists - more mailing lists