1*4882a593SmuzhiyunGeneric GPIO bit-banged PWM driver 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun - compatible: should be "pwm-gpio" 5*4882a593Smuzhiyun - #pwm-cells: should be 3, see pwm.txt in this directory for a general 6*4882a593Smuzhiyun description of the cells format. 7*4882a593Smuzhiyun - pwm-gpio: one gpio describing the used gpio, see the gpio bindings for the used gpio driver. 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunExample: 10*4882a593Smuzhiyun#include <dt-bindings/gpio/gpio.h> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun pwm-gpio { 13*4882a593Smuzhiyun compatible = "pwm-gpio"; 14*4882a593Smuzhiyun #pwm-cells = <3>; 15*4882a593Smuzhiyun pwm-gpio = <&pio 7 1 GPIO_ACTIVE_HIGH>; 16*4882a593Smuzhiyun }; 17