From 7eabddbe9cf863adbd3eb1de28191ae73e0fb5a2 Mon Sep 17 00:00:00 2001 From: David Dai Date: Thu, 13 Jun 2019 16:07:25 -0700 Subject: [PATCH] dt-bindings: clocks: add dummycc bindings Add dummycc device bindings. These devices are used to reference clock controllers and emulate clock operations. Change-Id: Icf6464f85374d7969b24e19ae458a245125b7f88 --- bindings/clock/qcom,dummycc.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 bindings/clock/qcom,dummycc.txt diff --git a/bindings/clock/qcom,dummycc.txt b/bindings/clock/qcom,dummycc.txt new file mode 100644 index 000000000000..9463fb6b7f57 --- /dev/null +++ b/bindings/clock/qcom,dummycc.txt @@ -0,0 +1,26 @@ +Qualcomm Technologies, Inc. Dummy Clock Controller Binding + +Qualcomm Technologies, Inc. dummy clock controller devices provide +clock API support for driver development during pre-silicon stage. +The clock driver always returns a dummy clock that has no effect on +hardware. + +Required properties: +- compatible: Must be "qcom,dummycc" +- #clock-cells: Must be <1>. This will allow the common clock device + tree framework to recognize _this_ device node as a + clock provider. + +Optional properties: +- clock-output-names: Name of the clock or the clock type. +- #reset-cells: Must be <1>. This will allow the common reset device + tree framework to recognize _this_ device node as a + reset controller provider. + +Example: + clock_gcc: qcom,gcc { + compatible = "qcom,dummycc"; + clock-output-names = "gcc_clocks"; + #clock-cells = <1>; + #reset-cells = <1>; + };