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) * Maxim max8925 Power Management IC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required parent device properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) - compatible : "maxim,max8925"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) - reg : the I2C slave address for the max8925 chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) - interrupts : IRQ line for the max8925 chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) - interrupt-controller: describes the max8925 as an interrupt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)   controller (has its own domain)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) - #interrupt-cells : should be 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	- The cell is the max8925 local IRQ number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Optional parent device properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - maxim,tsc-irq: there are 2 IRQ lines for max8925, one is indicated in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)   interrupts property, the other is indicated here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) max8925 consists of a large and varied group of sub-devices:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Device			 Supply Names	 Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) ------			 ------------	 -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) max8925-onkey		:		: On key
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) max8925-rtc		:		: RTC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) max8925-regulator	:		: Regulators
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) max8925-backlight	:		: Backlight
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) max8925-touch		:		: Touchscreen
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) max8925-power		:		: Charger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	pmic: max8925@3c {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		compatible = "maxim,max8925";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		reg = <0x3c>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		interrupts = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		interrupt-parent = <&intcmux4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		#interrupt-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		maxim,tsc-irq = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 		regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 			SDV1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 				regulator-min-microvolt = <637500>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 				regulator-max-microvolt = <1425000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 			LDO1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 				regulator-min-microvolt = <750000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 				regulator-max-microvolt = <3900000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 		backlight {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 			maxim,max8925-dual-string = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 		charger {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 			batt-detect = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 			topoff-threshold = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 			fast-charge = <7>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 			no-temp-support = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 			no-insert-detect = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) 	};