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