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 Active-semi ACT8945A MFD driver
^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: "active-semi,act8945a".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  - reg: the I2C slave address for the ACT8945A chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) The chip exposes two subdevices:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  - a regulators: see ../regulator/act8945a-regulator.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  - a charger: see ../power/act8945a-charger.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	pmic@5b {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 		compatible = "active-semi,act8945a";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 		reg = <0x5b>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 		active-semi,vsel-high;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 			vdd_1v35_reg: REG_DCDC1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 				regulator-name = "VDD_1V35";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 				regulator-min-microvolt = <1350000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 				regulator-max-microvolt = <1350000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 			vdd_1v2_reg: REG_DCDC2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 				regulator-name = "VDD_1V2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 				regulator-min-microvolt = <1100000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 				regulator-max-microvolt = <1300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 			vdd_3v3_reg: REG_DCDC3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 				regulator-name = "VDD_3V3";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 				regulator-min-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 				regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 			vdd_fuse_reg: REG_LDO1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 				regulator-name = "VDD_FUSE";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 				regulator-min-microvolt = <2500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 				regulator-max-microvolt = <2500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 			vdd_3v3_lp_reg: REG_LDO2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 				regulator-name = "VDD_3V3_LP";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 				regulator-min-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 				regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 				regulator-always-on;
^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) 			vdd_led_reg: REG_LDO3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 				regulator-name = "VDD_LED";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 				regulator-min-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 				regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 			vdd_sdhc_1v8_reg: REG_LDO4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 				regulator-name = "VDD_SDHC_1V8";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 				regulator-min-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) 				regulator-max-microvolt = <1800000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 		charger {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 			compatible = "active-semi,act8945a-charger";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) 			pinctrl-names = "default";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 			pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) 			interrupt-parent = <&pioA>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) 			interrupts = <45 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) 			active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 			active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) 			active-semi,input-voltage-threshold-microvolt = <6600>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) 			active-semi,precondition-timeout = <40>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) 			active-semi,total-timeout = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) 	};