diff options
author | Gabe Black <gabeblack@google.com> | 2014-02-14 22:25:01 -0800 |
---|---|---|
committer | Marc Jones <marc.jones@se-eng.com> | 2014-11-12 20:16:27 +0100 |
commit | 372a5bbd66cb247abed173685d4a6fe0a3188246 (patch) | |
tree | 37c57da7d76160857858e250d23a3af169c597d9 /src/mainboard/google | |
parent | 301f84c6d7e93bcebe0e8c8d447308aa0044a615 (diff) |
tegra124: Port a PWM clocking change to big.
The generic tegra124 code will use one of the PWMs to drive the backlight of
the display, but the PWM clock was enabled only for nyan. This change enables
it for big as well.
BUG=none
TEST=Built for Big
BRANCH=None
Original-Change-Id: I5171da7c41f4b4db931563ada3e8e4ebf74ec3d9
Original-Signed-off-by: Gabe Black <gabeblack@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/186767
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Commit-Queue: Gabe Black <gabeblack@chromium.org>
Original-Tested-by: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit 687f3771fb3e6b340a818fa7594b3ac0630fdeaf)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Change-Id: Ifd14a22a98e7fe273ec28c460b928b8a83c84b66
Reviewed-on: http://review.coreboot.org/7404
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/nyan_big/mainboard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/nyan_big/mainboard.c b/src/mainboard/google/nyan_big/mainboard.c index 4a05991726..309b0b92ee 100644 --- a/src/mainboard/google/nyan_big/mainboard.c +++ b/src/mainboard/google/nyan_big/mainboard.c @@ -201,6 +201,10 @@ static void setup_pinmux(void) PINMUX_DAP2_FS_FUNC_I2S1 | PINMUX_INPUT_ENABLE); pinmux_set_config(PINMUX_DAP2_SCLK_INDEX, PINMUX_DAP2_SCLK_FUNC_I2S1 | PINMUX_INPUT_ENABLE); + + /* PWM1 */ + pinmux_set_config(PINMUX_GPIO_PH1_INDEX, + PINMUX_GPIO_PH1_FUNC_PWM1 | PINMUX_PULL_NONE); } static void setup_kernel_info(void) @@ -247,7 +251,7 @@ static void mainboard_init(device_t dev) clock_enable_clear_reset(CLK_L_GPIO | CLK_L_I2C1 | CLK_L_SDMMC4 | CLK_L_I2S0 | CLK_L_I2S1 | CLK_L_I2S2 | CLK_L_SPDIF | CLK_L_USBD | CLK_L_DISP1 | - CLK_L_HOST1X, + CLK_L_HOST1X | CLK_L_PWM, CLK_H_EMC | CLK_H_I2C2 | CLK_H_SBC1 | CLK_H_PMC | CLK_H_MEM | CLK_H_USB3, |