xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pwm/pwm-gpio.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Generic GPIO bit-banged PWM driver
2
3Required properties:
4  - compatible: should be "pwm-gpio"
5  - #pwm-cells: should be 3, see pwm.txt in this directory for a general
6    description of the cells format.
7  - pwm-gpio: one gpio describing the used gpio, see the gpio bindings for the used gpio driver.
8
9Example:
10#include <dt-bindings/gpio/gpio.h>
11
12	pwm-gpio {
13		compatible = "pwm-gpio";
14		#pwm-cells = <3>;
15		pwm-gpio = <&pio 7 1 GPIO_ACTIVE_HIGH>;
16	};
17