Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1178727

[PATCH v3 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge

From Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Newsgroups linux.kernel
Subject [PATCH v3 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge
Date 2015-07-07 18:40 +0200
Message-ID <pJE4A-7Yw-75@gated-at.bofh.it> (permalink)
References <pJE4y-7Yw-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
---

Changes in v3:
 - N/A

Changes in v2:
 - N/A

 .../devicetree/bindings/power/da9150-fg.txt        | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/da9150-fg.txt

diff --git a/Documentation/devicetree/bindings/power/da9150-fg.txt b/Documentation/devicetree/bindings/power/da9150-fg.txt
new file mode 100644
index 0000000..c3c76eb
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/da9150-fg.txt
@@ -0,0 +1,23 @@
+Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings
+
+Required properties:
+- compatible: "dlg,da9150-fg" for DA9150 Fuel-Gauge Power Supply
+
+Optional properties:
+- dlg,update-interval: Interval time (milliseconds) between battery level checks.
+- dlg,warn-soc-level: Battery discharge level (%) where warning event raised.
+      [1 - 100]
+- dlg,crit-soc-level: Battery discharge level (%) where critical event raised.
+  This value should be lower than the warning level.
+      [1 - 100]
+
+
+Example:
+
+	da9150-fg {
+		compatible = "dlg,da9150-fg";
+
+		dlg,update-interval = <10000>;
+		dlg,warn-soc-level = /bits/ 8 <15>;
+		dlg,crit-soc-level = /bits/ 8 <5>;
+	};
--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/6] Add support for DA9150 Fuel-Gauge Adam Thomson <Adam.Thomson.Opensource@diasemi.com> - 2015-07-07 18:40 +0200
  [PATCH v3 4/6] power: da9150: Add DT bindings documentation for  Fuel-Gauge Adam Thomson <Adam.Thomson.Opensource@diasemi.com> - 2015-07-07 18:40 +0200
  [PATCH v3 3/6] power: Add support for DA9150 Fuel-Gauge Adam Thomson <Adam.Thomson.Opensource@diasemi.com> - 2015-07-07 18:40 +0200
  [PATCH v3 1/6] mfd: da9150: Add support for Fuel-Gauge Adam Thomson <Adam.Thomson.Opensource@diasemi.com> - 2015-07-07 18:40 +0200
  [PATCH v3 6/6] mfd: da9150: Use DEFINE_RES_IRQ_NAMED() help macro for  IRQ resource Adam Thomson <Adam.Thomson.Opensource@diasemi.com> - 2015-07-07 18:40 +0200
  [PATCH v3 5/6] mfd: da9150: Use relative paths in DT bindings document Adam Thomson <Adam.Thomson.Opensource@diasemi.com> - 2015-07-07 18:40 +0200

csiph-web