summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-11-25 20:24:03 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-11-25 20:24:03 +0100
commit5ba1fa0ae288e93179d54e3c59b2241eb1709f0c (patch)
tree0b237478cda62fc1ddd741092c184ec1be815d78 /include
parentmax8925_power: No temperature interrupts if temperature not connected (diff)
downloadlinux-5ba1fa0ae288e93179d54e3c59b2241eb1709f0c.tar.xz
linux-5ba1fa0ae288e93179d54e3c59b2241eb1709f0c.zip
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')
-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 */
};
/*