/
da9063.txt
42 lines (34 loc) · 1.29 KB
/
da9063.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
* Dialog da9063 Power Management IC
Required parent device properties:
- compatible : "dlg,da9063"
- reg : the I2C slave address for the da9063 chip
- interrupts : IRQ line for the da9063 chip
- interrupt-controller: describes the da9063 as an interrupt
controller (has its own domain)
- #interrupt-cells : should be 2 (standard two cells node, see interrupts.txt).
- The first cell is the da9063 local IRQ number
- The second cell is an edge or level flag
The da9063 consists of a large and varied group of sub-devices:
Device Supply Names Description
------ ------------ -----------
da9063-onkey : : On key
da9063-rtc : : RTC
da9063-regulator : : Regulators
da9063-hwmon : : Hardware monitoring
Example:
pmic: da9063@58 {
compatible = "dlg,da9063";
reg = <0x58>;
interrupts = <12 2>;
interrupt-parent = <&gpio7>;
interrupt-controller;
#interrupt-cells = <2>;
regulators {
};
rtc {
compatible = "dlg,da9063-rtc";
interrupts = <1 2>;
interrupts-names = "ALARM" , "TIMER";
interrupt-parent = <&pmic>;
};
};