dt-bindings: clock: imx-lpcg: add support to parse clocks from device tree
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 29 Jul 2020 08:00:09 +0000 (16:00 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 26 Oct 2020 02:51:29 +0000 (10:51 +0800)
commit540742fb109fa4a65f116db9edc28ab1bd2c872d
tree1b8ef126a1f7e1212499354b945a37be4b521609
parent02f5bea93cdc4f1c7e37a2347ee18053c1af8cf2
dt-bindings: clock: imx-lpcg: add support to parse clocks from device tree

MX8QM and MX8QXP LPCG Clocks are mostly the same except they may reside
in different subsystems across CPUs and also vary a bit on the availability.

Same as SCU clock, we want to move the clock definition into device tree
which can fully decouple the dependency of Clock ID definition from device
tree and make us be able to write a fully generic lpcg clock driver.

And we can also use the existence of clock nodes in device tree to address
the device and clock availability differences across different SoCs.

Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: devicetree@vger.kernel.org
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Documentation/devicetree/bindings/clock/imx8qxp-lpcg.yaml
include/dt-bindings/clock/imx8-lpcg.h [new file with mode: 0644]