Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / clock / st / st,clkgen-vcc.txt
blob109b3eddcb17b3e184ce887222215b74600478a4
1 Binding for a type of STMicroelectronics clock crossbar (VCC).
3 The crossbar can take up to 4 input clocks and control up to 16
4 output clocks. Not all inputs or outputs have to be in use in a
5 particular instantiation. Each output can be individually enabled,
6 select any of the input clocks and apply a divide (by 1,2,4 or 8) to
7 that selected clock.
9 This binding uses the common clock binding[1].
11 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
13 Required properties:
15 - compatible : shall be:
16         "st,stih416-clkgenc",           "st,vcc"
17         "st,stih416-clkgenf",           "st,vcc"
19 - #clock-cells : from common clock binding; shall be set to 1.
21 - reg : A Base address and length of the register set.
23 - clocks : from common clock binding
25 - clock-output-names : From common clock binding. The block has 16
26                        clock outputs but not all of them in a specific instance
27                        have to be used in the SoC. If a clock name is left as
28                        an empty string then no clock will be created for the
29                        output associated with that string index. If fewer than
30                        16 strings are provided then no clocks will be created
31                        for the remaining outputs.
33 Example:
35         clockgen_c_vcc: clockgen-c-vcc@0xfe8308ac {
36                 #clock-cells = <1>;
37                 compatible = "st,stih416-clkgenc", "st,clkgen-vcc";
38                 reg = <0xfe8308ac 12>;
40                 clocks = <&clk_s_vcc_hd>,
41                          <&clockgen_c 1>,
42                          <&clk_s_tmds_fromphy>,
43                          <&clockgen_c 2>;
45                 clock-output-names  = "clk-s-pix-hdmi",
46                                       "clk-s-pix-dvo",
47                                       "clk-s-out-dvo",
48                                       "clk-s-pix-hd",
49                                       "clk-s-hddac",
50                                       "clk-s-denc",
51                                       "clk-s-sddac",
52                                       "clk-s-pix-main",
53                                       "clk-s-pix-aux",
54                                       "clk-s-stfe-frc-0",
55                                       "clk-s-ref-mcru",
56                                       "clk-s-slave-mcru",
57                                       "clk-s-tmds-hdmi",
58                                       "clk-s-hdmi-reject-pll",
59                                       "clk-s-thsens";
60         };