sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / da9150.txt
blobfd4dca7f4abab61523b2d5da8ed97ddd75537c5b
1 Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings
3 DA9150 consists of a group of sub-devices:
5 Device                   Description
6 ------                   -----------
7 da9150-gpadc            : General Purpose ADC
8 da9150-charger          : Battery Charger
9 da9150-fg               : Battery Fuel-Gauge
11 ======
13 Required properties:
14 - compatible : Should be "dlg,da9150"
15 - reg: Specifies the I2C slave address
16 - interrupt-parent: Specifies the phandle of the interrupt controller to which
17   the IRQs from da9150 are delivered to.
18 - interrupts: IRQ line info for da9150 chip.
19 - interrupt-controller: da9150 has internal IRQs (own IRQ domain).
20   (See ../interrupt-controller/interrupts.txt for
21    further information relating to interrupt properties)
23 Sub-devices:
24 - da9150-gpadc: See ../iio/adc/da9150-gpadc.txt
25 - da9150-charger: See ../power/da9150-charger.txt
26 - da9150-fg: See ../power/da9150-fg.txt
28 Example:
30         charger_fg: da9150@58 {
31                 compatible = "dlg,da9150";
32                 reg = <0x58>;
33                 interrupt-parent = <&gpio6>;
34                 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
35                 interrupt-controller;
37                 gpadc: da9150-gpadc {
38                         compatible = "dlg,da9150-gpadc";
39                         #io-channel-cells = <1>;
40                 };
42                 charger {
43                         compatible = "dlg,da9150-charger";
45                         io-channels = <&gpadc 0>,
46                                       <&gpadc 2>,
47                                       <&gpadc 8>,
48                                       <&gpadc 5>;
49                         io-channel-names = "CHAN_IBUS",
50                                            "CHAN_VBUS",
51                                            "CHAN_TJUNC",
52                                            "CHAN_VBAT";
53                 };
55                 fuel-gauge {
56                         compatible = "dlg,da9150-fuel-gauge";
58                         dlg,update-interval = <10000>;
59                         dlg,warn-soc-level = /bits/ 8 <15>;
60                         dlg,crit-soc-level = /bits/ 8 <5>
61                 };
62         };