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) Device-Tree Bindings for a PPS Signal on GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) These properties describe a PPS (pulse-per-second) signal connected to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) a GPIO pin.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) - compatible: should be "pps-gpio"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Additional required properties for the PPS ECHO functionality:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - echo-active-ms: duration in ms of the active portion of the echo pulse
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - assert-falling-edge: when present, assert is indicated by a falling edge
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)                        (instead of by a rising edge)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	pps {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		pinctrl-names = "default";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		pinctrl-0 = <&pinctrl_pps>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		assert-falling-edge;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		echo-active-ms = <100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		compatible = "pps-gpio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	};