summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/imx6q-clock.txt
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-11-15 15:30:27 +0100
committerStephen Boyd <sboyd@kernel.org>2018-12-10 11:37:07 -0800
commita29be9185d195bf5abd5ff5482a26800d58bac19 (patch)
tree3b1e651bac4dbe851f382e24085358e9c7bf00bd /Documentation/devicetree/bindings/clock/imx6q-clock.txt
parentf7542d817733f461258fd3a47d77da35b2d9fc81 (diff)
clk: imx6q: optionally get CCM inputs via standard clock handles
When specifying external clock inputs to the CCM the current code requires the clocks to be in a "clocks" child node of the DT root. This is not really conformant with DT best practices. To avoid the need to deviate from those best practices, allow the clock inputs to be specified via standard clock handles. This is in line with how drivers of the later CCM driver revisions on newer i.MX SoCs handle this. As we can't retroactively change the DT binding, allow this as an option with a fallback to the old way of how this has been handled. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/imx6q-clock.txt')
-rw-r--r--Documentation/devicetree/bindings/clock/imx6q-clock.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/Documentation/devicetree/bindings/clock/imx6q-clock.txt
index e1308346e00d..13d36d4c6991 100644
--- a/Documentation/devicetree/bindings/clock/imx6q-clock.txt
+++ b/Documentation/devicetree/bindings/clock/imx6q-clock.txt
@@ -13,6 +13,9 @@ Optional properties:
management IC (PMIC) triggered via PMIC_STBY_REQ signal.
Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should
be using "syscon-poweroff" driver instead.
+- clocks: list of clock specifiers, must contain an entry for each entry
+ in clock-names
+- clock-names: valid names are "osc", "ckil", "ckih1", "anaclk1" and "anaclk2"
The clock consumer should specify the desired clock by having the clock
ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx6qdl-clock.h