1 Binding for an external clock signal driven by a PWM pin.
3 This binding uses the common clock binding[1] and the common PWM binding[2].
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
6 [2] Documentation/devicetree/bindings/pwm/pwm.txt
9 - compatible : shall be "pwm-clock".
10 - #clock-cells : from common clock binding; shall be set to 0.
11 - pwms : from common PWM binding; this determines the clock frequency
12 via the period given in the PWM specifier.
15 - clock-output-names : From common clock binding.
16 - clock-frequency : Exact output frequency, in case the PWM period
17 is not exact but was rounded to nanoseconds.
21 compatible = "pwm-clock";
23 clock-frequency = <25000000>;
24 clock-output-names = "mipi_mclk";
25 pwms = <&pwm2 0 40>; /* 1 / 40 ns = 25 MHz */