summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/supply/sbs_sbs-charger.txt
blob: a3719623a94f0f20c6a5b2831b0e736425eaef41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SBS sbs-charger
~~~~~~~~~~

Required properties:
 - compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
     number compatible string might be used in order to take care of vendor
     specific registers.

Optional properties:
- interrupt-parent: Should be the phandle for the interrupt controller. Use in
    conjunction with "interrupts".
- interrupts: Interrupt mapping for GPIO IRQ. Use in conjunction with
    "interrupt-parent". If an interrupt is not provided the driver will switch
    automatically to polling.

Example:

	ltc4100@9 {
		compatible = "lltc,ltc4100", "sbs,sbs-charger";
		reg = <0x9>;
		interrupt-parent = <&gpio6>;
		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
	};