^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Dialog DA9055 Power Management Integrated Circuit (PMIC)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) DA9055 consists of a large and varied group of sub-devices (I2C Only):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Device Supply Names Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) ------ ------------ -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) da9055-gpio : : GPIOs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) da9055-regulator : : Regulators
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) da9055-onkey : : On key
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) da9055-rtc : : RTC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) da9055-hwmon : : ADC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) da9055-watchdog : : Watchdog
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) The CODEC device in DA9055 has a separate, configurable I2C address and so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) is instantiated separately from the PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) For details on accompanying CODEC I2C device, see the following:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Documentation/devicetree/bindings/sound/da9055.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ======
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - compatible : Should be "dlg,da9055-pmic"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - reg: Specifies the I2C slave address (defaults to 0x5a but can be modified)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) - interrupts: IRQ line info for da9055 chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) - interrupt-controller: da9055 has internal IRQs (has own IRQ domain).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) - #interrupt-cells: Should be 1, is the local IRQ number for da9055.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Sub-nodes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - regulators : Contain the regulator nodes. The DA9055 regulators are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) bound using their names as listed below:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) buck1 : regulator BUCK1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) buck2 : regulator BUCK2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) ldo1 : regulator LDO1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) ldo2 : regulator LDO2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) ldo3 : regulator LDO3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) ldo4 : regulator LDO4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) ldo5 : regulator LDO5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) ldo6 : regulator LDO6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) The bindings details of individual regulator device can be found in:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Documentation/devicetree/bindings/regulator/regulator.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) pmic: da9055-pmic@5a {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) compatible = "dlg,da9055-pmic";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) reg = <0x5a>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) interrupt-parent = <&intc>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) #interrupt-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) buck1: BUCK1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) regulator-min-microvolt = <725000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) regulator-max-microvolt = <2075000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) buck2: BUCK2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) regulator-min-microvolt = <925000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) regulator-max-microvolt = <2500000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) ldo1: LDO1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) regulator-min-microvolt = <900000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) regulator-max-microvolt = <3300000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) };