mbox series

[0/4] clk: imx: scu: add parsing clocks from device tree support

Message ID 1550771836-10014-1-git-send-email-aisheng.dong@nxp.com (mailing list archive)
Headers show
Series clk: imx: scu: add parsing clocks from device tree support | expand

Message

Aisheng Dong Feb. 21, 2019, 6:03 p.m. UTC
This patch series is a preparation for the MX8 Architecture improvement.
As for IMX SCU based platforms like MX8QM and MX8QXP, they are comprised
of a couple of SS(Subsystems) while most of them within the same SS
can be shared. e.g. Clocks, Devices and etc.

However, current device tree is heavily depends on Clocks IDs defined which
cause some troubles in writing the common <soc>-ss-xx.dtsi file.

This patch series adds a new binding to support parsing clocks from device tree
which can fully decouple the dependency of Clock IDs in device tree.
This can make the clock driver much easily to be maintained in the future and
avoid writing a lot of duplicated codes.

Dong Aisheng (4):
  dt-bindings: firmware: imx-scu: new binding to parse clocks from
    device tree
  dt-bindings: clock: imx-lpcg: add support to parse clocks from device
    tree
  clk: imx: imx8qxp: add parsing clocks from device tree
  clk: imx: imx8qxp-lpcg: add parsing clocks from device tree

 .../devicetree/bindings/arm/freescale/fsl,scu.txt  | 29 +++++--
 .../devicetree/bindings/clock/imx8qxp-lpcg.txt     | 14 ++++
 drivers/clk/imx/clk-imx8qxp-lpcg.c                 | 90 ++++++++++++++++++++++
 drivers/clk/imx/clk-imx8qxp.c                      | 43 +++++++++++
 include/dt-bindings/firmware/imx/rsrc.h            | 17 ++++
 5 files changed, 185 insertions(+), 8 deletions(-)