Re: [PATCH v2 09/13] power: bq24257: Allow input current limit sysfs access
From: Laurentiu Palcu <hidden>
Date: 2015-09-10 14:06:30
Also in:
linux-pm
From: Laurentiu Palcu <hidden>
Date: 2015-09-10 14:06:30
Also in:
linux-pm
On Tue, Sep 08, 2015 at 07:12:33PM -0500, Andreas Dannenberg wrote:
This patch allows reading (and writing, if the D+/D- USB signal-based charger type detection is disabled) of the input current limit through the POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT sysfs property. This allows userspace to see what charger was detected and to re-configure the maximum current drawn from the external supply at runtime based on system-level knowledge or user input. Signed-off-by: Andreas Dannenberg <redacted>
Reviewed-by: Laurentiu Palcu <redacted>