aboutsummaryrefslogtreecommitdiffstats
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
parentpower: bq24735-charger: document 'ti,external-control' option (diff)
downloadlinux-dev-64024ac7bb82c41265e7ba08235591d9a2709dfc.tar.xz
linux-dev-64024ac7bb82c41265e7ba08235591d9a2709dfc.zip
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 f536164a6069..6b750c1a45fa 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;
};