On 19 April 2017 at 20:06, Eddie Cai <[email protected]> wrote: > 2017-04-19 20:39 GMT+08:00 Eric Gao <[email protected]>: >> Signed-off-by: Eric Gao <[email protected]> > Reviewed-by: Eddie Cai <[email protected]>
Acked-by: Simon Glass <[email protected]> >> >> --- >> >> Changes in v3: >> -Add ret value in debug message. >> >> Changes in v2: >> -Add pwm0 pinctrl init for lcd backlight. >> >> board/rockchip/evb_rk3399/evb-rk3399.c | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/board/rockchip/evb_rk3399/evb-rk3399.c >> b/board/rockchip/evb_rk3399/evb-rk3399.c >> index 362fa0b..4753a76 100644 >> --- a/board/rockchip/evb_rk3399/evb-rk3399.c >> +++ b/board/rockchip/evb_rk3399/evb-rk3399.c >> @@ -28,6 +28,13 @@ int board_init(void) >> goto out; >> } >> >> + /* Enable pwm0 for panel backlight */ >> + ret = pinctrl_request_noflags(pinctrl, PERIPH_ID_PWM0); >> + if (ret) { >> + debug("%s PWM0 pinctrl init fail! (ret=%d)\n", __func__, >> ret); >> + goto out; >> + } >> + >> ret = pinctrl_request_noflags(pinctrl, PERIPH_ID_PWM2); >> if (ret) { >> debug("%s PWM2 pinctrl init fail!\n", __func__); >> -- >> 1.9.1 >> >> >> _______________________________________________ >> U-Boot mailing list >> [email protected] >> https://lists.denx.de/listinfo/u-boot _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

