Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528334
| From | Nicolas Saenz Julienne <nicolas.saenz@prodys.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] dt-bindings: power: add bindings for sbs-charger |
| Date | 2016-11-23 12:30 +0100 |
| Message-ID | <sGDUu-4co-37@gated-at.bofh.it> (permalink) |
| References | <sGDUu-4co-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Adds device tree documentation for SBS charger compilant devices as defined
here: http://sbs-forum.org/specs/sbc110.pdf
Signed-off-by: Nicolas Saenz Julienne <nicolas.saenz@prodys.net>
---
.../bindings/power/supply/sbs_sbs-charger.txt | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/sbs_sbs-charger.txt
diff --git a/Documentation/devicetree/bindings/power/supply/sbs_sbs-charger.txt b/Documentation/devicetree/bindings/power/supply/sbs_sbs-charger.txt
new file mode 100644
index 0000000..b18ee2a
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/sbs_sbs-charger.txt
@@ -0,0 +1,22 @@
+SBS sbs-charger
+~~~~~~~~~~
+
+Required properties :
+ - compatible : "sbs,sbs-charger"
+
+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 = "sbs,sbs-charger";
+ reg = <0x9>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
+ };
+
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] power: supply: add sbs-charger driver Nicolas Saenz Julienne <nicolas.saenz@prodys.net> - 2016-11-23 12:30 +0100
[PATCH 1/2] power: supply: add sbs-charger driver Nicolas Saenz Julienne <nicolas.saenz@prodys.net> - 2016-11-23 12:30 +0100
Re: [PATCH 1/2] power: supply: add sbs-charger driver Sebastian Reichel <sre@kernel.org> - 2016-11-23 14:40 +0100
[PATCH 2/2] dt-bindings: power: add bindings for sbs-charger Nicolas Saenz Julienne <nicolas.saenz@prodys.net> - 2016-11-23 12:30 +0100
Re: [PATCH 2/2] dt-bindings: power: add bindings for sbs-charger Sebastian Reichel <sre@kernel.org> - 2016-11-23 14:50 +0100
csiph-web