[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100518203049.GK30801@buzzloop.caiaq.de>
Date: Tue, 18 May 2010 22:30:49 +0200
From: Daniel Mack <daniel@...aq.de>
To: Greg KH <gregkh@...e.de>
Cc: linux-kernel@...r.kernel.org, kay.sievers@...y.org,
dwmw2@...radead.org, broonie@...nsource.wolfsonmicro.com,
len.brown@...el.com, astarikovskiy@...e.de, mreimer@...p.net,
zbr@...emap.net, tj@...nel.org, Anton Vorontsov <cbou@...l.ru>
Subject: [PATCH] power/ds2760_battery: document ABI change
>From 7ed6b078c1cb718509a0faf79ac53f768fa5cfc4 Mon Sep 17 00:00:00 2001
From: Daniel Mack <daniel@...aq.de>
Date: Tue, 18 May 2010 22:26:40 +0200
Subject: [PATCH] power/ds2760_battery: document ABI change
Add some documentation for the newly added writeable properties.
Signed-off-by: Daniel Mack <daniel@...aq.de>
---
On Tue, May 18, 2010 at 12:56:24PM -0700, Greg KH wrote:
> On Tue, May 18, 2010 at 09:49:52PM +0200, Daniel Mack wrote:
> > This patch adds support for writeable power supply properties and
> > exposes them as writeable to sysfs.
>
> Please properly document this in Documentation/ABI as you are changing
> the userspace ABI.
>
> thanks,
>
> greg k-h
Is something like the following appropriate?
Documentation/ABI/testing/sysfs-class-power | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-class-power
diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power
new file mode 100644
index 0000000..f46ad66
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-power
@@ -0,0 +1,21 @@
+What: /sys/class/power/ds2760-battery.*/charge_now
+Date: May 2010
+KernelVersion: 2.6.35
+Contact: Daniel Mack <daniel@...aq.de>
+Description:
+ This file is writeable and can be used to set the current
+ coloumb counter value inside the battery monitor chip. This
+ is needed for unavoidable corrections of aging batteries.
+ A userspace daemon can monitor the battery charging logic
+ and once the counter drops out of considerable bounds, take
+ appropriate action.
+
+What: /sys/class/power/ds2760-battery.*/charge_full
+Date: May 2010
+KernelVersion: 2.6.35
+Contact: Daniel Mack <daniel@...aq.de>
+Description:
+ This file is writeable and can be used to set the assumed
+ battery 'full level'. As batteries age, this value has to be
+ amended over time.
+
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists