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) TI/National Semiconductor LP3943 GPIO controller
^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: "ti,lp3943-gpio"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)   - gpio-controller: Marks the device node as a GPIO controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)   - #gpio-cells: Should be 2. See gpio.txt in this directory for a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)                  description of the cells format.
^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) Simple LED controls with LP3943 GPIO controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) &i2c4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	lp3943@60 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 		compatible = "ti,lp3943";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 		reg = <0x60>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 		gpioex: gpio {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 			compatible = "ti,lp3943-gpio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 			gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 			#gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) leds {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	compatible = "gpio-leds";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	indicator1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		label = "indi1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		gpios = <&gpioex 9 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	indicator2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		label = "indi2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		gpios = <&gpioex 10 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		default-state = "off";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) };