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) * GPIO Decoder DT bindings
^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 "gpio-decoder"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) - gpios: a spec of gpios (at least two) to be decoded to a number with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)   first entry representing the MSB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) Optional Properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) - decoder-max-value: Maximum possible value that can be reported by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)   the gpios.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - linux,axis: the input subsystem axis to map to (ABS_X/ABS_Y).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)   Defaults to 0 (ABS_X).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	gpio-decoder0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 		compatible = "gpio-decoder";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 			<&pca9536 2 GPIO_ACTIVE_HIGH>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 			<&pca9536 1 GPIO_ACTIVE_HIGH>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 			<&pca9536 0 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		linux,axis = <0>; /* ABS_X */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		decoder-max-value = <9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	};