Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) Generic GPIO bit-banged PWM driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)   - compatible: should be "pwm-gpio"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)   - #pwm-cells: should be 3, see pwm.txt in this directory for a general
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)     description of the cells format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)   - pwm-gpio: one gpio describing the used gpio, see the gpio bindings for the used gpio driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <dt-bindings/gpio/gpio.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	pwm-gpio {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 		compatible = "pwm-gpio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 		#pwm-cells = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 		pwm-gpio = <&pio 7 1 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	};