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) rk817-charger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) ~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Required properties :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  - compatible: "rk817,charger"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  - min_input_voltage: minimum voltage from adapter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  - max_input_current: maximum current from adapter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  - max_chrg_current: maximum current for battery charge
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  - max_chrg_voltage: maximum charge voltage for battery
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  - chrg_finish_cur: charging termination current
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Optional properties :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  - virtual_power: test mode for none battery
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  - power_dc2otg: dc can provide supply for otg 5v
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  - dc_det_adc: dc detect by saradc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) rk817: pmic@20 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	compatible = "rockchip,rk817";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	reg = <0x20>;
^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) 	charger {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		compatible = "rk817,charger";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		min_input_voltage = <4500>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		max_input_current = <1500>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		max_chrg_current = <1300>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		max_chrg_voltage = <4200>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		chrg_finish_cur = <300>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		virtual_power = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		dc_det_adc = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	......
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) };