summaryrefslogtreecommitdiffstats
path: root/include/linux/power
diff options
context:
space:
mode:
authorJonathan Tinkham <sctincman@gmail.com>2016-02-02 23:03:45 -0700
committerSebastian Reichel <sre@kernel.org>2016-02-15 06:36:10 +0100
commit64024ac7bb82c41265e7ba08235591d9a2709dfc (patch)
tree03c63b41b6a9fbd5aded3bbab9badbc95a1b3198 /include/linux/power
parenta60da83fd8949ebd6000e2d4b2876a899e38612b (diff)
downloadop-kernel-dev-64024ac7bb82c41265e7ba08235591d9a2709dfc.zip
op-kernel-dev-64024ac7bb82c41265e7ba08235591d9a2709dfc.tar.gz
power: bq24735-charger: add 'ti,external-control' option
Implement an 'ti,external-control' option for when the charger shouldn't be configured by the host. Signed-off-by: Jonathan Tinkham <sctincman@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include/linux/power')
-rw-r--r--include/linux/power/bq24735-charger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power/bq24735-charger.h b/include/linux/power/bq24735-charger.h
index f536164..6b750c1a 100644
--- a/include/linux/power/bq24735-charger.h
+++ b/include/linux/power/bq24735-charger.h
@@ -32,6 +32,8 @@ struct bq24735_platform {
int status_gpio_active_low;
bool status_gpio_valid;
+ bool ext_control;
+
char **supplied_to;
size_t num_supplicants;
};
OpenPOWER on IntegriCloud