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 Change-Id: I5171da7c41f4b4db931563ada3e8e4ebf74ec3d9 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/186767 Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
43d9bd4bad
commit
687f3771fb
1 changed files with 5 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue