diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-10-01 15:23:37 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-10-01 15:23:37 +0200 |
commit | 7bcbe1b93b10ad0b1e0f731f9c90d2caaccef163 (patch) | |
tree | 0af8c66516cd9b8252d7f8b8ede1e42eec84b2fd /arch/arm/mach-tegra/board-colibri_t20-pinmux.c | |
parent | ef8bcc1feb274d2f3a7a0ec68fd995f10832896a (diff) |
tegra: colibri_t20: fix pwm backlight
Fix PWM backlight by using PWM<A> rather than PWM<C> by default.
Invert brightness value due to unified TFT interface displays (e.g. EDT
ET070080DH6) inverted LEDCTRL pin behaviour (e.g. 0V brightest vs. 3.3V
darkest) and use PWM frequency of 1 kHz as recommended.
Add comment about PWM pin muxing.
While at it do some ifdef and indentation clean-up.
Diffstat (limited to 'arch/arm/mach-tegra/board-colibri_t20-pinmux.c')
-rw-r--r-- | arch/arm/mach-tegra/board-colibri_t20-pinmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t20-pinmux.c b/arch/arm/mach-tegra/board-colibri_t20-pinmux.c index 64f2301b7774..f11fc708c1b8 100644 --- a/arch/arm/mach-tegra/board-colibri_t20-pinmux.c +++ b/arch/arm/mach-tegra/board-colibri_t20-pinmux.c @@ -93,7 +93,8 @@ static __initdata struct tegra_pingroup_config colibri_t20_pinmux[] = { /* GPIO T2 and T3 */ {TEGRA_PINGROUP_DTB, TEGRA_MUX_VI, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL}, {TEGRA_PINGROUP_DTC, TEGRA_MUX_VI, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL}, - /* GPIO L0, L1, L2, L3, L6 and L7 */ + /* GPIO L0, L1, L2, L3, L6 and L7 + GPIO L4 and L5 multiplexed with PWM<A> and PWM<D> */ {TEGRA_PINGROUP_DTD, TEGRA_MUX_VI, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL}, /* AX88772B V_BUS, WM9715L PENDOWN, GPIO A0 and BB4 */ // {TEGRA_PINGROUP_DTE, TEGRA_MUX_RSVD, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL}, |