diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2012-09-03 15:30:55 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2012-09-27 11:10:31 +0800 |
commit | 82d607a727228da0cb333adc7d072e9eb23c26db (patch) | |
tree | 4b111e79ba610ff55850416a1d8eb5fc77576e9e /include/configs | |
parent | ce91cea872f6b8d079d3a54f0d1e0647be07f91b (diff) | |
download | u-boot-imx-82d607a727228da0cb333adc7d072e9eb23c26db.zip u-boot-imx-82d607a727228da0cb333adc7d072e9eb23c26db.tar.gz u-boot-imx-82d607a727228da0cb333adc7d072e9eb23c26db.tar.bz2 |
ENGR00223794 MX6 SabreSD:Enable LVDS panel pwm backlight
This patch enables pwm backlight for LVDS panel and stops
using gpio backlight to align with kernel to avoid unstable
backlight when booting into kernel, as kernel usually uses
pwm backlight instead of gpio backlight. Following items
are done to support this:
1) Add PWM1 and PWM2 controller base addresses.
2) Change PIN SD1_DAT3 mux from GPIO to PWM1_PWMO.
3) Set default backlight density to 50%.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6dl_sabresd.h | 4 | ||||
-rw-r--r-- | include/configs/mx6q_sabresd.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/mx6dl_sabresd.h b/include/configs/mx6dl_sabresd.h index 1d32ffb..b59bd8b 100644 --- a/include/configs/mx6dl_sabresd.h +++ b/include/configs/mx6dl_sabresd.h @@ -346,6 +346,10 @@ #define CONFIG_BMP_8BPP #define CONFIG_SPLASH_SCREEN_ALIGN #define CONFIG_SYS_WHITE_ON_BLACK + + #define CONFIG_IMX_PWM + #define IMX_PWM1_BASE PWM1_BASE_ADDR + #define IMX_PWM2_BASE PWM2_BASE_ADDR #endif #endif /* CONFIG_SPLASH_SCREEN */ #endif /* __CONFIG_H */ diff --git a/include/configs/mx6q_sabresd.h b/include/configs/mx6q_sabresd.h index 0cd57d9..5717eec 100644 --- a/include/configs/mx6q_sabresd.h +++ b/include/configs/mx6q_sabresd.h @@ -343,5 +343,9 @@ #define CONFIG_FB_BASE (TEXT_BASE + 0x300000) #define CONFIG_SPLASH_SCREEN_ALIGN #define CONFIG_SYS_WHITE_ON_BLACK + + #define CONFIG_IMX_PWM + #define IMX_PWM1_BASE PWM1_BASE_ADDR + #define IMX_PWM2_BASE PWM2_BASE_ADDR #endif #endif /* __CONFIG_H */ |