]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/mfd/da9150.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[karo-tx-linux.git] / Documentation / devicetree / bindings / mfd / da9150.txt
1 Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings
2
3 DA9150 consists of a group of sub-devices:
4
5 Device                   Description
6 ------                   -----------
7 da9150-gpadc            : General Purpose ADC
8 da9150-charger          : Battery Charger
9
10 ======
11
12 Required properties:
13 - compatible : Should be "dlg,da9150"
14 - reg: Specifies the I2C slave address
15 - interrupt-parent: Specifies the phandle of the interrupt controller to which
16   the IRQs from da9150 are delivered to.
17 - interrupts: IRQ line info for da9150 chip.
18 - interrupt-controller: da9150 has internal IRQs (own IRQ domain).
19   (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
20    further information relating to interrupt properties)
21
22 Sub-devices:
23 - da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
24 - da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
25
26
27 Example:
28
29         charger_fg: da9150@58 {
30                 compatible = "dlg,da9150";
31                 reg = <0x58>;
32                 interrupt-parent = <&gpio6>;
33                 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
34                 interrupt-controller;
35
36                 gpadc: da9150-gpadc {
37                         ...
38                 };
39
40                 da9150-charger {
41                         ...
42                 };
43         };