Thread (24 messages) 24 messages, 5 authors, 2015-07-29

Re: [Gta04-owner] [PATCH 08/14] twl4030_charger: allow max_current to be managed via sysfs.

flat view

From: jake42 <hidden>
Date: 2015-03-23 12:57:02
Also in: linux-omap, lkml

Hello Neil,

some suggestions:

On 23.03.2015 00:20, NeilBrown wrote:
quoted hunk ↗ jump to hunk
From: NeilBrown <redacted>
diff --git a/Documentation/ABI/testing/sysfs-class-power-twl4030
b/Documentation/ABI/testing/sysfs-class-power-twl4030
new file mode 100644
index 000000000000..06092209d851
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-power-twl4030
@@ -0,0 +1,15 @@
+What: /sys/class/power_supply/twl4030_ac/max_current
+      /sys/class/power_supply/twl4030_usb/max_current
+Description:
+	Read/Write limit on current which which may
one less which                        ^^
quoted hunk ↗ jump to hunk
+	be drawn from the ac (Accessory Charger) or
+	USB port.
+
+	Value is in micro-Amps.
+
+	Value is set automatically to an appropriate
+	value when a cable is plugged on unplugged.
s/on/or                               ^^
+
+	Value can the set by writing to the attribute.
                  ^^ be set?
+	The change will only persist until the next
+	plug event.  These event are reported via udev.
Regards
Jake
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help