Patchwork [v2] ARM: imx_v6_v7_defconfig: Enable PWM and backlight options

login
register
mail settings
Submitter Fabio Estevam
Date June 6, 2013, 3:56 p.m.
Message ID <1370534190-10765-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/249466/
State New
Headers show

Comments

Fabio Estevam - June 6, 2013, 3:56 p.m.
These options are useful for controlling backlight contrast via PWM.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Fix warnings
- Fix typo in Subject

 arch/arm/configs/imx_v6_v7_defconfig | 3 +++
 1 file changed, 3 insertions(+)
Fabio Estevam - June 17, 2013, 3:04 a.m.
Hi Shawn,

On Thu, Jun 6, 2013 at 12:56 PM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> These options are useful for controlling backlight contrast via PWM.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Fix warnings
> - Fix typo in Subject

Does it look good now?
Shawn Guo - June 17, 2013, 3:12 a.m.
On Mon, Jun 17, 2013 at 12:04:19AM -0300, Fabio Estevam wrote:
> Hi Shawn,
> 
> On Thu, Jun 6, 2013 at 12:56 PM, Fabio Estevam
> <fabio.estevam@freescale.com> wrote:
> > These options are useful for controlling backlight contrast via PWM.
> >
> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> > ---
> > Changes since v1:
> > - Fix warnings
> > - Fix typo in Subject
> 
> Does it look good now?

I've already applied it, but forgot sending a reply to let you know.

Shawn

Patch

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index ac3470c..c7eb5f6 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -171,6 +171,7 @@  CONFIG_BACKLIGHT_LCD_SUPPORT=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_LCD_L4F00242T03=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_PWM=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
 CONFIG_FONTS=y
@@ -216,6 +217,8 @@  CONFIG_DRM_IMX_IPUV3_CORE=y
 CONFIG_DRM_IMX_IPUV3=y
 CONFIG_COMMON_CLK_DEBUG=y
 # CONFIG_IOMMU_SUPPORT is not set
+CONFIG_PWM=y
+CONFIG_PWM_IMX=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT2_FS_XATTR=y
 CONFIG_EXT2_FS_POSIX_ACL=y