Lines Matching +full:pwm +full:- +full:clock
2 # SPDX-License-Identifier: Apache-2.0
5 An external clock signal driven by a PWM pin.
7 The devicetree must define a clock node:
11 compatible = "pwm-clock";
12 #clock-cells = <1>;
16 This will create a device node with a clock-controller
17 API. Internally the device node will use PWM API to start the
18 clock signals at 1MHz. Note that the PWM_HZ() macro converts the
20 errors if the clock frequency is not an integer number of nanoseconds.
21 The clock frequency can be explicitly set using the clock-frequency
24 The PWM node may need to be properly configured to generate
26 for the target PWM driver.
28 compatible: "pwm-clock"
30 include: [clock-controller.yaml, base.yaml]
34 type: phandle-array
37 clock-frequency:
40 Exact output frequency, in case the PWM period is not exact
43 pwm-on-delay:
47 Optional blocking delay in micro seconds to make sure that the PWM
48 clock has started after returning from clock_control_on().
50 "#clock-cells":
53 clock-cells:
54 - id