From 7bcbe1b93b10ad0b1e0f731f9c90d2caaccef163 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 1 Oct 2012 15:23:37 +0200 Subject: tegra: colibri_t20: fix pwm backlight Fix PWM backlight by using PWM rather than PWM 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. --- arch/arm/mach-tegra/board-colibri_t20-pinmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/board-colibri_t20-pinmux.c') 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 and PWM */ {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}, -- cgit v1.2.3