summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-05-18 20:22:45 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-22 23:47:42 +0200
commit730a3d01b1e1e3ba102a5a4d3d5dcfecd55326b6 (patch)
tree9fe29192fc33b3dc971a51daf875f396b14924c7 /include/linux/mfd
parent77820ffae678fa7ff6cc155354825b6b1a023afb (diff)
downloadop-kernel-dev-730a3d01b1e1e3ba102a5a4d3d5dcfecd55326b6.zip
op-kernel-dev-730a3d01b1e1e3ba102a5a4d3d5dcfecd55326b6.tar.gz
mfd: Add r_select to lm3533 platform data
Add resistor-select parameter to the platform data. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/lm3533.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h
index 9660feb..594bc59 100644
--- a/include/linux/mfd/lm3533.h
+++ b/include/linux/mfd/lm3533.h
@@ -43,6 +43,7 @@ struct lm3533_ctrlbank {
struct lm3533_als_platform_data {
unsigned pwm_mode:1; /* PWM input mode (default analog) */
+ u8 r_select; /* 1 - 127 (ignored in PWM-mode) */
};
struct lm3533_bl_platform_data {
OpenPOWER on IntegriCloud