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