summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c/twl.h
diff options
context:
space:
mode:
authorTony Lindgren2014-05-20 20:17:54 +0200
committerLee Jones2014-05-28 09:06:04 +0200
commit482e7db160df713a2d1d4c7ee9fffad92008283f (patch)
tree00930502166ed05190e628cdc59f9ef7ce1c5ea0 /include/linux/i2c/twl.h
parentmfd: twl4030-power: Add recommended idle configuration (diff)
downloadkernel-qcow2-linux-482e7db160df713a2d1d4c7ee9fffad92008283f.tar.gz
kernel-qcow2-linux-482e7db160df713a2d1d4c7ee9fffad92008283f.tar.xz
kernel-qcow2-linux-482e7db160df713a2d1d4c7ee9fffad92008283f.zip
mfd: twl4030-power: Add support for board specific configuration
With the recommended twl4030 configuration added, we can now add board specific changes as modifications to the recommended configuration. Note that the data is private to this driver, and the data must always have a NULL resource in the sentinel. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/i2c/twl.h')
-rw-r--r--include/linux/i2c/twl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index 5fe031375ed4..57fe782bf031 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -662,6 +662,7 @@ struct twl4030_power_data {
struct twl4030_script **scripts;
unsigned num;
struct twl4030_resconfig *resource_config;
+ struct twl4030_resconfig *board_config;
#define TWL4030_RESCONFIG_UNDEF ((u8)-1)
bool use_poweroff; /* Board is wired for TWL poweroff */
};