public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mfd: Add r_select to lm3533 platform data
@ 2012-05-18 18:22 Johan Hovold
  2012-05-18 18:22 ` [PATCH 2/2] mfd: Mark two lm3533 zone registers as volatile Johan Hovold
  2012-05-20 13:13 ` [PATCH 1/2] mfd: Add r_select to lm3533 platform data Samuel Ortiz
  0 siblings, 2 replies; 8+ messages in thread
From: Johan Hovold @ 2012-05-18 18:22 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel, Johan Hovold

Add resistor-select parameter to the platform data.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
---

Hi Samuel, 

I believe this one needs to go in through mfd as the iio driver
destined for staging-next depends on it.

Thanks,
Johan

 include/linux/mfd/lm3533.h |    1 +
 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 {
-- 
1.7.8.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-22 21:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-18 18:22 [PATCH 1/2] mfd: Add r_select to lm3533 platform data Johan Hovold
2012-05-18 18:22 ` [PATCH 2/2] mfd: Mark two lm3533 zone registers as volatile Johan Hovold
2012-05-20 13:20   ` Samuel Ortiz
2012-05-20 13:13 ` [PATCH 1/2] mfd: Add r_select to lm3533 platform data Samuel Ortiz
2012-05-21  8:45   ` Johan Hovold
2012-05-21  9:08     ` Samuel Ortiz
2012-05-21  9:41       ` Johan Hovold
2012-05-22 21:52         ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox