devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
	devicetree@vger.kernel.org, Sebastian Reichel <sre@kernel.org>
Cc: Pallala Ramakrishna <ramakrishna.pallala@intel.com>,
	Jenny Tc <jenny.tc@intel.com>,
	Andreas Dannenberg <dannenberg@ti.com>
Subject: [PATCH 1/2] dt: power: Add support for TI BQ24261 charger
Date: Thu, 29 Oct 2015 22:04:14 +0530	[thread overview]
Message-ID: <1446136455-20752-2-git-send-email-ramakrishna.pallala@intel.com> (raw)
In-Reply-To: <1446136455-20752-1-git-send-email-ramakrishna.pallala@intel.com>

This patch adds the device tree documentation for TI BQ24261 charger.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Jennt TC <jenny.tc@intel.com>
---
 .../devicetree/bindings/power/bq24261.txt          |   34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/bq24261.txt

diff --git a/Documentation/devicetree/bindings/power/bq24261.txt b/Documentation/devicetree/bindings/power/bq24261.txt
new file mode 100644
index 0000000..e18f6dc
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/bq24261.txt
@@ -0,0 +1,34 @@
+Binding for TI bq24261 Li-Ion Charger
+
+Required properties:
+- compatible: Should contain one of the following:
+    * "ti,bq24261"
+- reg: integer, i2c address of the device.
+- ti,battery-regulation-voltage: integer, maximum charging voltage in uV.
+- ti,charge-current: integer, maximum charging current in uA.
+- ti,termination-current: integer, charge will be terminated when current in
+    constant-voltage phase drops below this value (in uA).
+
+Optional properties:
+- ti,max-charge-current: integer, maximum charging current (in uA);
+- ti,max-charge-voltage: integer, maximum charging voltage (in uV);
+- ti,min-charge-temperature: integer, minimum charging temperature (in DegC);
+- ti,max-charge-temperature: integer, maximum charging temperature (in DegC).
+- ti,thermal-sensing: integer, enable(1) or disable(0) JEITA thermal control.
+
+Example:
+
+bq24261 {
+        compatible = "ti,bq24261";
+        reg = <0x6b>;
+
+        ti,battery-regulation-voltage = <4200>;
+        ti,charge-current = <1000>;
+        ti,termination-current = <128>;
+
+        ti,max-charge-current = <3000>;
+        ti,max-charge-voltage = <4350>;
+        ti,min-charge-temperature = <0>;
+        ti,max-charge-temperature = <60>;
+        ti,thermal-sensing = <1>;
+};
-- 
1.7.9.5

  reply	other threads:[~2015-10-29 16:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29 16:34 [PATCH 0/2] power: Add support for TI BQ24261 charger Ramakrishna Pallala
2015-10-29 16:34 ` Ramakrishna Pallala [this message]
2015-10-29 16:34 ` [PATCH 2/2] " Ramakrishna Pallala
2015-10-30  9:17   ` Andy Shevchenko
2016-01-19  1:26     ` Pallala, Ramakrishna
2016-01-19  7:02       ` Andy Shevchenko
2016-01-19 18:27         ` Pallala, Ramakrishna
  -- strict thread matches above, loose matches on Subject: below --
2015-10-29 16:37 [PATCH 0/2] " Ramakrishna Pallala
2015-10-29 16:37 ` [PATCH 1/2] dt: " Ramakrishna Pallala
     [not found]   ` <1446136625-20845-2-git-send-email-ramakrishna.pallala-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-10-30  1:52     ` Krzysztof Kozlowski
2016-01-25  5:14       ` Pallala, Ramakrishna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446136455-20752-2-git-send-email-ramakrishna.pallala@intel.com \
    --to=ramakrishna.pallala@intel.com \
    --cc=dannenberg@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jenny.tc@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).