[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1358861996-27194-1-git-send-email-peter.ujfalusi@ti.com>
Date: Tue, 22 Jan 2013 14:39:52 +0100
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: Richard Purdie <rpurdie@...ys.net>
CC: Grant Likely <grant.likely@...retlab.ca>,
Rob Landley <rob@...dley.net>,
Thierry Reding <thierry.reding@...onic-design.de>,
Florian Tobias Schandinat <FlorianSchandinat@....de>,
Andrew Morton <akpm@...ux-foundation.org>,
<devicetree-discuss@...ts.ozlabs.org>, <linux-doc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-fbdev@...r.kernel.org>
Subject: [PATCH 0/4] pwm_backlight: Error fixes and update for DT support
Hi,
This small series will:
- Fix the case when the kernel is booted in non DT mode and the board file try
to use levels array to specify the brightness levels.
- Validate the dft_brightness in all cases not only in DT mode.
- Add support in case of DT boot to be able to use the whole range of PWM.
Currently boards in legacy mode uses the 'max_brightness' value to specify the
maximum steps the PWM can be configured. When these boards move to DT support
they can no longer do this, they have to use the levels array. If we want to
have the same range in both DT and non DT case we would need to add all the
numbers from 0 to max (which can be 256) to the 'brightness-levels' array.
With the new property we can simply allow the whole range to be configured.
Regards,
Peter
---
Peter Ujfalusi (4):
pwm_backlight: Fix PWM levels support in non DT case
pwm_backlight: Validate dft_brightness in main probe function
pwm_backlight: Refactor the DT parsing code
pwm_backlight: Add support for the whole range of the PWM in DT mode
.../bindings/video/backlight/pwm-backlight.txt | 12 +++++-
drivers/video/backlight/pwm_bl.c | 49 ++++++++++++----------
2 files changed, 38 insertions(+), 23 deletions(-)
--
1.8.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists