18c2ecf20Sopenharmony_ciBinding for Texas Instruments ADPLL clock.
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciBinding status: Unstable - ABI compatibility may be broken in the future
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciThis binding uses the common clock binding[1]. It assumes a
68c2ecf20Sopenharmony_ciregister-mapped ADPLL with two to three selectable input clocks
78c2ecf20Sopenharmony_ciand three to four children.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciRequired properties:
128c2ecf20Sopenharmony_ci- compatible : shall be one of "ti,dm814-adpll-s-clock" or
138c2ecf20Sopenharmony_ci  "ti,dm814-adpll-lj-clock" depending on the type of the ADPLL
148c2ecf20Sopenharmony_ci- #clock-cells : from common clock binding; shall be set to 1.
158c2ecf20Sopenharmony_ci- clocks : link phandles of parent clocks clkinp and clkinpulow, note
168c2ecf20Sopenharmony_ci  that the adpll-s-clock also has an optional clkinphif
178c2ecf20Sopenharmony_ci- reg : address and length of the register set for controlling the ADPLL.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciExamples:
208c2ecf20Sopenharmony_ci	adpll_mpu_ck: adpll@40 {
218c2ecf20Sopenharmony_ci		#clock-cells = <1>;
228c2ecf20Sopenharmony_ci		compatible = "ti,dm814-adpll-s-clock";
238c2ecf20Sopenharmony_ci		reg = <0x40 0x40>;
248c2ecf20Sopenharmony_ci		clocks = <&devosc_ck &devosc_ck &devosc_ck>;
258c2ecf20Sopenharmony_ci		clock-names = "clkinp", "clkinpulow", "clkinphif";
268c2ecf20Sopenharmony_ci		clock-output-names = "481c5040.adpll.dcoclkldo",
278c2ecf20Sopenharmony_ci				     "481c5040.adpll.clkout",
288c2ecf20Sopenharmony_ci				     "481c5040.adpll.clkoutx2",
298c2ecf20Sopenharmony_ci				     "481c5040.adpll.clkouthif";
308c2ecf20Sopenharmony_ci	};
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	adpll_dsp_ck: adpll@80 {
338c2ecf20Sopenharmony_ci		#clock-cells = <1>;
348c2ecf20Sopenharmony_ci		compatible = "ti,dm814-adpll-lj-clock";
358c2ecf20Sopenharmony_ci		reg = <0x80 0x30>;
368c2ecf20Sopenharmony_ci		clocks = <&devosc_ck &devosc_ck>;
378c2ecf20Sopenharmony_ci		clock-names = "clkinp", "clkinpulow";
388c2ecf20Sopenharmony_ci		clock-output-names = "481c5080.adpll.dcoclkldo",
398c2ecf20Sopenharmony_ci				     "481c5080.adpll.clkout",
408c2ecf20Sopenharmony_ci				     "481c5080.adpll.clkoutldo";
418c2ecf20Sopenharmony_ci	};
42