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) * TPS65086 Power Management Integrated Circuit (PMIC) bindings
^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		: Should be "ti,tps65086".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  - reg			: I2C slave address.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  - interrupts		: The interrupt line the device is connected to.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  - interrupt-controller	: Marks the device node as an interrupt controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  - #interrupt-cells	: The number of cells to describe an IRQ, should be 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 			    The first cell is the IRQ number.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 			    The second cell is the flags, encoded as trigger
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 			    masks from ../interrupt-controller/interrupts.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  - gpio-controller      : Marks the device node as a GPIO Controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  - #gpio-cells          : Should be two.  The first cell is the pin number and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)                             the second cell is used to specify flags.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)                             See ../gpio/gpio.txt for more information.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  - regulators:          : List of child nodes that specify the regulator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)                             initialization data. Child nodes must be named
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)                             after their hardware counterparts: buck[1-6],
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)                             ldoa[1-3], swa1, swb[1-2], and vtt. Each child
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)                             node is defined using the standard binding for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)                             regulators and the optional regulator properties
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)                             defined below.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Optional regulator properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)  - ti,regulator-step-size-25mv	: This is applicable for buck[1-6], set this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 				    if the regulator is factory set with a 25mv
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 				    step voltage mapping.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)  - ti,regulator-decay		: This is applicable for buck[1-6], set this if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 				    the output needs to decay, default is for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 				    the output to slew down.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	pmic: tps65086@5e {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 		compatible = "ti,tps65086";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		reg = <0x5e>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 		interrupt-parent = <&gpio1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 		interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 		interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 		#interrupt-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 		gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 		#gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 		regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 			buck1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 				regulator-name = "vcc1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 				regulator-min-microvolt = <1600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 				regulator-max-microvolt = <1600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 				regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 				ti,regulator-decay;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 				ti,regulator-step-size-25mv;
^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) 	};