Re: [PATCH v8 11/14] power: bq24257: Allow input current limit sysfs access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




W dniu 29.09.2015 o 07:33, Andreas Dannenberg pisze:
> This patch allows reading and writing of the input current limit through
> the power supply's input_current_limit sysfs property. This allows
> userspace to see what charger was detected (if the D+/D- USB signal-
> based charger type detection is enabled) and to re-configure the maximum
> current drawn from the external supply at runtime based on system-level
> knowledge or user input. Note that upon charger disconnection and
> re-connection the limit configured through firmware becomes active again
> (or the D+/D- USB signal-based charger detection will be run again).
> 
> Signed-off-by: Andreas Dannenberg <dannenberg@xxxxxx>
> ---
>  drivers/power/bq24257_charger.c | 85 ++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 79 insertions(+), 6 deletions(-)
> 

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux