Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63219a2f authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Sebastian Reichel
Browse files

dt-bindings: power: supply: sbs-charger bindings

Adds device tree documentation for SBS charger compilant devices as defined
here: http://sbs-forum.org/specs/sbc110.pdf



Signed-off-by: default avatarNicolas Saenz Julienne <nicolas.saenz@prodys.net>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent a7d143d4
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
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>;
	};