[U-Boot] [PATCH 15/20] tegra: lcd: Tidy up clock init

Simon Glass sjg at chromium.org
Tue Feb 17 23:29:49 CET 2015


Use the correct function for clock init.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/video/tegra124/tegra124-lcd.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/video/tegra124/tegra124-lcd.c b/drivers/video/tegra124/tegra124-lcd.c
index 55f63b1..d5b301d 100644
--- a/drivers/video/tegra124/tegra124-lcd.c
+++ b/drivers/video/tegra124/tegra124-lcd.c
@@ -50,15 +50,13 @@ static int tegra124_lcd_init(void *lcdbase)
 	struct display_timing timing;
 
 	clock_set_up_plldp();
-	clock_adjust_periph_pll_div(PERIPH_ID_HOST1X, CLOCK_ID_PERIPH,
-				    408000000, NULL);
+	clock_start_periph_pll(PERIPH_ID_HOST1X, CLOCK_ID_PERIPH, 408000000);
 
 	clock_enable(PERIPH_ID_HOST1X);
 	clock_enable(PERIPH_ID_DISP1);
 	clock_enable(PERIPH_ID_PWM);
 	clock_enable(PERIPH_ID_DPAUX);
 	clock_enable(PERIPH_ID_SOR0);
-
 	udelay(2);
 
 	reset_set_enable(PERIPH_ID_HOST1X, 0);
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list