]> git.karo-electronics.de Git - linux-beck.git/commit
power: bq24257: Add various device-specific sysfs properties
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 28 Sep 2015 22:34:00 +0000 (17:34 -0500)
committerSebastian Reichel <sre@kernel.org>
Tue, 29 Sep 2015 14:55:03 +0000 (16:55 +0200)
commit007ee5f65693fd7370c0f6e70269175ac2ed1a28
tree7e97b2e6dc1dea9c58236c095d6d417813aaf329
parent0cfbfde65aec4cd9ae4e7971f8a3e42c69e8e24f
power: bq24257: Add various device-specific sysfs properties

This patch adds support for enabling/disabling optional device specific
features through sysfs properties at runtime.

* High-impedance mode enable/disable
* Sysoff enable/disable

Refer to the respective device datasheets for more information:

http://www.ti.com/product/bq24250
http://www.ti.com/product/bq24251
http://www.ti.com/product/bq24257

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq24257_charger.c