^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Ricoh RN5T567/RN5T618 PMIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Ricoh RN5T567/RN5T618/RC5T619 is a power management IC family which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) GPIOs, and a watchdog timer. It can be controlled through an I2C interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) The RN5T618/RC5T619 provides additionally a Li-ion battery charger,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) fuel gauge, and an ADC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) The RC5T619 additionnally includes USB charger detection and an RTC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - compatible: must be one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) "ricoh,rn5t567"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) "ricoh,rn5t618"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) "ricoh,rc5t619"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - reg: the I2C slave address of the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - interrupts: interrupt mapping for IRQ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - system-power-controller:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) See Documentation/devicetree/bindings/power/power-controller.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Sub-nodes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - regulators: the node is required if the regulator functionality is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) needed. The valid regulator names are: DCDC1, DCDC2, DCDC3, DCDC4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) (RN5T567/RC5T619), LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7, LDO8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) LDO9, LDO10, LDORTC1 and LDORTC2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) LDO7-10 are specific to RC5T619.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) The common bindings for each individual regulator can be found in:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Documentation/devicetree/bindings/regulator/regulator.txt
^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@32 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) compatible = "ricoh,rn5t618";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) reg = <0x32>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) interrupt-parent = <&gpio5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) system-power-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) DCDC1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) regulator-min-microvolt = <1050000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) regulator-max-microvolt = <1050000>;
^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) DCDC2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) regulator-min-microvolt = <1175000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) regulator-max-microvolt = <1175000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) };