xref: /linux/Documentation/devicetree/bindings/clock/st/st,quadfs.txt (revision 762f99f4f3cb41a775b5157dd761217beba65873)
143080568SGabriel FERNANDEZBinding for a type of quad channel digital frequency synthesizer found on
243080568SGabriel FERNANDEZcertain STMicroelectronics consumer electronics SoC devices.
343080568SGabriel FERNANDEZ
443080568SGabriel FERNANDEZThis version contains a programmable PLL which can generate up to 216, 432
543080568SGabriel FERNANDEZor 660MHz (from a 30MHz oscillator input) as the input to the digital
643080568SGabriel FERNANDEZsynthesizers.
743080568SGabriel FERNANDEZ
843080568SGabriel FERNANDEZThis binding uses the common clock binding[1].
943080568SGabriel FERNANDEZ
1043080568SGabriel FERNANDEZ[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
1143080568SGabriel FERNANDEZ
1243080568SGabriel FERNANDEZRequired properties:
1343080568SGabriel FERNANDEZ- compatible : shall be:
14880d54ffSGabriel Fernandez  "st,quadfs"
15*301035c3SAlain Volmat  "st,quadfs-d0"
16*301035c3SAlain Volmat  "st,quadfs-d2"
17*301035c3SAlain Volmat  "st,quadfs-d3"
18880d54ffSGabriel Fernandez  "st,quadfs-pll"
190268099cSGabriel FERNANDEZ
2043080568SGabriel FERNANDEZ
2143080568SGabriel FERNANDEZ- #clock-cells : from common clock binding; shall be set to 1.
2243080568SGabriel FERNANDEZ
2343080568SGabriel FERNANDEZ- reg : A Base address and length of the register set.
2443080568SGabriel FERNANDEZ
2543080568SGabriel FERNANDEZ- clocks : from common clock binding
2643080568SGabriel FERNANDEZ
2743080568SGabriel FERNANDEZ- clock-output-names : From common clock binding. The block has 4
2843080568SGabriel FERNANDEZ                       clock outputs but not all of them in a specific instance
2943080568SGabriel FERNANDEZ                       have to be used in the SoC. If a clock name is left as
3043080568SGabriel FERNANDEZ                       an empty string then no clock will be created for the
3143080568SGabriel FERNANDEZ                       output associated with that string index. If fewer than
3243080568SGabriel FERNANDEZ                       4 strings are provided then no clocks will be created
3343080568SGabriel FERNANDEZ                       for the remaining outputs.
3443080568SGabriel FERNANDEZ
3543080568SGabriel FERNANDEZExample:
3643080568SGabriel FERNANDEZ
377df404c9SGabriel Fernandez	clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
3843080568SGabriel FERNANDEZ		#clock-cells = <1>;
39880d54ffSGabriel Fernandez		compatible = "st,quadfs-pll";
407df404c9SGabriel Fernandez		reg = <0x9103000 0x1000>;
4143080568SGabriel FERNANDEZ
420268099cSGabriel FERNANDEZ		clocks = <&clk_sysin>;
437df404c9SGabriel Fernandez
447df404c9SGabriel Fernandez		clock-output-names = "clk-s-c0-fs0-ch0",
457df404c9SGabriel Fernandez				     "clk-s-c0-fs0-ch1",
467df404c9SGabriel Fernandez				     "clk-s-c0-fs0-ch2",
477df404c9SGabriel Fernandez				     "clk-s-c0-fs0-ch3";
4843080568SGabriel FERNANDEZ	};
49