summaryrefslogtreecommitdiff
path: root/include/linux/mfd/max8925.h
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-11-25 23:24:03 +0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-11-25 23:24:03 +0400
commit5ba1fa0ae288e93179d54e3c59b2241eb1709f0c (patch)
tree0b237478cda62fc1ddd741092c184ec1be815d78 /include/linux/mfd/max8925.h
parent92de378b739115c8afaae5cd3f25159406bb9914 (diff)
max8925_power: Do not detect ac insert if handled by other code
On brownstone rev 4 ac-insert detect is handled by vbus. allow the platform code to configure the disabling of insert by setting no_insert_detect. Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include/linux/mfd/max8925.h')
-rw-r--r--include/linux/mfd/max8925.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/max8925.h b/include/linux/mfd/max8925.h
index 69ec8f0bd490..e742e044e2eb 100644
--- a/include/linux/mfd/max8925.h
+++ b/include/linux/mfd/max8925.h
@@ -224,6 +224,7 @@ struct max8925_power_pdata {
unsigned topoff_threshold:2;
unsigned fast_charge:3; /* charge current */
unsigned no_temp_support:1; /* set if no temperature detect */
+ unsigned no_insert_detect:1; /* set if no ac insert detect */
};
/*