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) TPS6507x Power Management Integrated Circuit
^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,tps6507x"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) - reg: I2C slave address
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) - regulators: This is the list of child nodes that specify the regulator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)   initialization data for defined regulators. Not all regulators for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)   given device need to be present. The definition for each of these nodes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)   is defined using the standard binding for regulators found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)   Documentation/devicetree/bindings/regulator/regulator.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)   The regulator is matched with the regulator-compatible.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)   The valid regulator-compatible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)   tps6507x: vdcdc1, vdcdc2, vdcdc3, vldo1, vldo2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - xxx-supply: Input voltage supply regulator.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)   These entries are required if regulators are enabled for a device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)   Missing of these properties can cause the regulator registration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)   fails.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)   If some of input supply is powered through battery or always-on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)   supply then also it is require to have these parameters with proper
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)   node handle of always on power supply.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)   tps6507x:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)        vindcdc1_2-supply: VDCDC1 and VDCDC2 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)        vindcdc3-supply  : VDCDC3 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)        vldo1_2-supply   : VLDO1 and VLDO2 input.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Regulator Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - defdcdc_default: It's property of DCDC2 and DCDC3 regulators.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 			0: If defdcdc pin of DCDC2/DCDC3 is pulled to GND.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 			1: If defdcdc pin of DCDC2/DCDC3 is driven HIGH.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)   If this property is not defined, it defaults to 0 (not enabled).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	pmu: tps6507x@48 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		compatible = "ti,tps6507x";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 		reg = <0x48>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 		vindcdc1_2-supply = <&vbat>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 		vindcdc3-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 		vinldo1_2-supply = <...>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 		regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 			#address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 			#size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 			vdcdc1_reg: regulator@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 				regulator-compatible = "VDCDC1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 				reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 				regulator-min-microvolt = <3150000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 				regulator-max-microvolt = <3450000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 			vdcdc2_reg: regulator@1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 				regulator-compatible = "VDCDC2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 				reg = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 				regulator-min-microvolt = <1710000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 				regulator-max-microvolt = <3450000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 				defdcdc_default = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) 			vdcdc3_reg: regulator@2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 				regulator-compatible = "VDCDC3";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 				reg = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 				regulator-min-microvolt = <950000>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 				regulator-max-microvolt = <1350000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) 				defdcdc_default = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) 			ldo1_reg: regulator@3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) 				regulator-compatible = "LDO1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 				reg = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) 				regulator-min-microvolt = <1710000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 				regulator-max-microvolt = <1890000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) 			ldo2_reg: regulator@4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) 				regulator-compatible = "LDO2";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) 				reg = <4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) 				regulator-min-microvolt = <1140000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) 				regulator-max-microvolt = <1320000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) 				regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) 			};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) 	};