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