GNU Linux-libre 4.14.251-gnu1
[releases.git] / Documentation / devicetree / bindings / power / supply / sbs_sbs-charger.txt
1 SBS sbs-charger
2 ~~~~~~~~~~
3
4 Required properties:
5  - compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
6      number compatible string might be used in order to take care of vendor
7      specific registers.
8
9 Optional properties:
10 - interrupt-parent: Should be the phandle for the interrupt controller. Use in
11     conjunction with "interrupts".
12 - interrupts: Interrupt mapping for GPIO IRQ. Use in conjunction with
13     "interrupt-parent". If an interrupt is not provided the driver will switch
14     automatically to polling.
15
16 Example:
17
18         ltc4100@9 {
19                 compatible = "lltc,ltc4100", "sbs,sbs-charger";
20                 reg = <0x9>;
21                 interrupt-parent = <&gpio6>;
22                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
23         };