Re: [PATCH v2] pwm-backlight: allow for non-increasing brightness levels

2013-10-18 Thread Mike Dunn
On 10/18/2013 12:46 AM, Thierry Reding wrote: > On Sun, Sep 22, 2013 at 09:59:56AM -0700, Mike Dunn wrote: >> Currently the driver assumes that the values specified in the >> brightness-levels device tree property increase as they are parsed from >> left to right. But b

Re: [PATCH] pwm-backlight: add support for device tree gpio control

2013-09-27 Thread Mike Dunn
On 09/26/2013 05:50 AM, Thierry Reding wrote: > On Thu, Sep 26, 2013 at 03:26:13PM +0300, Tomi Valkeinen wrote: >> On 26/09/13 15:02, Thierry Reding wrote: >>> On Thu, Sep 26, 2013 at 01:13:18PM +0300, Tomi Valkeinen wrote: >>>> On 11/09/13 14:40, Mike Dunn wrote

[PATCH v2] pwm-backlight: allow for non-increasing brightness levels

2013-09-22 Thread Mike Dunn
assumption that the last element of the array is the maximum value, and instead searches the array for the maximum value and uses that in the duty cycle calculation. Signed-off-by: Mike Dunn --- Changelog: v2: - commit message reworded; correct line wrap used - 'max_level' variable

Re: [PATCH] pwm-backlight: allow for non-increasing brightness levels

2013-09-19 Thread Mike Dunn
On 09/19/2013 04:56 AM, Thierry Reding wrote: > On Thu, Sep 12, 2013 at 11:35:52AM -0700, Mike Dunn wrote: >> Currently the driver assumes that the values specified in the >> brightness-levels >> device tree property increase as they are parsed from left to right. But >

Re: [PATCH] pwm-backlight: allow for non-increasing brightness levels

2013-09-17 Thread Mike Dunn
On 09/17/2013 02:36 AM, Sascha Hauer wrote: > Hi Mike, > > On Thu, Sep 12, 2013 at 11:35:52AM -0700, Mike Dunn wrote: >> Currently the driver assumes that the values specified in the >> brightness-levels >> device tree property increase as they are parsed from lef

[PATCH] pwm-backlight: allow for non-increasing brightness levels

2013-09-12 Thread Mike Dunn
the assumption that the last element of the array is the max value, and instead searches the array for the max value and uses that as the normalizing value when determining the duty cycle. Signed-off-by: Mike Dunn --- drivers/video/backlight/pwm_bl.c | 13 +++-- 1 file changed, 11

Re: [PATCH] pwm-backlight: add support for device tree gpio control

2013-09-11 Thread Mike Dunn
On 09/10/2013 10:21 AM, Thierry Reding wrote: > On Tue, Sep 03, 2013 at 12:26:12PM -0700, Mike Dunn wrote: >> This patch adds support for controlling an arbitrary number of gpios to the >> pwm-backlight driver. This was left as a TODO when initial device tree >> support >

[PATCH] pwm-backlight: add support for device tree gpio control

2013-09-03 Thread Mike Dunn
lm Treo 680. Signed-off-by: Mike Dunn --- Thanks for looking! .../bindings/video/backlight/pwm-backlight.txt | 4 + drivers/video/backlight/pwm_bl.c | 128 ++--- 2 files changed, 113 insertions(+), 19 deletions(-) diff --git a/Documentation/devicetree/bind

Re: [PATCH V3 3/5] arm: pxa: use matrix_keymap for all boards

2013-06-22 Thread Mike Dunn
320), mioa701.c(MACH_MIOA701), > z2.c(MACH_ZIPIT2) > > mainstone_defconfig > maintone.c(MACH_MAINSTONE) > > Signed-off-by: Chao Xie Tested-by: Mike Dunn On a palm treo 680 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

Re: [PATCH V3 1/5] input: pxa27x-keypad: use matrix_keymap for matrix keyes

2013-06-22 Thread Mike Dunn
On 06/17/2013 08:56 PM, Chao Xie wrote: > pxa27x-keypad includes matrix keyes. Make use of matrix_keymap > for the matrix keyes. > > Signed-off-by: Chao Xie Tested-by: Mike Dunn On a palm treo 680 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&

Re: [PATCH] mtd cs553x_nand: Initialise ecc.strength before nand_scan()

2012-11-27 Thread Mike Dunn
g ecc.strength before the call to nand_scan() fixes this. > > Acked-by: Brian Norris Acked-by: Mike Dunn > > BTW, I made a quick read through of the other NAND drivers to look for > similar errors. I think this is the only one where the only > ecc.strenght initialization occurr

Re: [PATCH] mtd/nand/docg4: Add missing HAS_IOMEM dependency

2012-09-15 Thread Mike Dunn
Acked-by: Mike Dunn Sorry for the oversight. Mike On 09/14/2012 03:41 PM, Peter Huewe wrote: > While building an allyesconfig for UML I received this error message(s): > drivers/mtd/nand/docg4.c: In function 'probe_docg4': > drivers/mtd/nand/docg4.c:1272:2: error: impl