^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * TPS65912 Power Management Integrated Circuit 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,tps65912".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg : Slave address or chip select number (I2C / SPI).
^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: dcdc[1-4] and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) ldo[1-10]. Each child nodes is defined using the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) standard binding for regulators.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) pmic: tps65912@2d {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) compatible = "ti,tps65912";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) reg = <0x2d>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) interrupt-parent = <&gpio1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #interrupt-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) dcdc1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) regulator-name = "vdd_core";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) regulator-min-microvolt = <912000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) regulator-max-microvolt = <1144000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) regulator-boot-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) regulator-always-on;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) ldo1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) regulator-name = "ldo1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) regulator-min-microvolt = <1900000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) regulator-max-microvolt = <1900000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) };