Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / clock / st / st,clkgen-mux.txt
diff --git a/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt b/kernel/Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt
new file mode 100644 (file)
index 0000000..f1fa91c
--- /dev/null
@@ -0,0 +1,36 @@
+Binding for a ST multiplexed clock driver.
+
+This binding supports only simple indexed multiplexers, it does not
+support table based parent index to hardware value translations.
+
+This binding uses the common clock binding[1].
+
+[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Required properties:
+
+- compatible : shall be:
+       "st,stih416-clkgenc-vcc-hd",    "st,clkgen-mux"
+       "st,stih416-clkgenf-vcc-fvdp",  "st,clkgen-mux"
+       "st,stih416-clkgenf-vcc-hva",   "st,clkgen-mux"
+       "st,stih416-clkgenf-vcc-hd",    "st,clkgen-mux"
+       "st,stih416-clkgenf-vcc-sd",    "st,clkgen-mux"
+       "st,stih415-clkgen-a9-mux",     "st,clkgen-mux"
+       "st,stih416-clkgen-a9-mux",     "st,clkgen-mux"
+       "st,stih407-clkgen-a9-mux",     "st,clkgen-mux"
+
+- #clock-cells : from common clock binding; shall be set to 0.
+
+- reg : A Base address and length of the register set.
+
+- clocks : from common clock binding
+
+Example:
+
+       clk_m_hva: clk-m-hva@fd690868 {
+               #clock-cells = <0>;
+               compatible = "st,stih416-clkgenf-vcc-hva", "st,clkgen-mux";
+               reg = <0xfd690868 4>;
+
+               clocks = <&clockgen_f 1>, <&clk_m_a1_div0 3>;
+       };