]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: t20/t30: swap host1x and disp1 clock parents
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 14 Feb 2023 17:35:24 +0000 (19:35 +0200)
committerTom <twarren@nvidia.com>
Thu, 23 Feb 2023 19:55:36 +0000 (12:55 -0700)
According to mainline clock tables and TRM HOST1X
parent is PLLC, while DISP1 usually uses PLLP as
parent clock.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF T30
Tested-by: Robert Eckelmann <longnoserob@gmail.com> # ASUS TF101 T20
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30
Tested-by: Thierry Reding <treding@nvidia.com> # Beaver T30
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Tom <twarren@nvidia.com>
arch/arm/mach-tegra/tegra20/clock.c
arch/arm/mach-tegra/tegra30/clock.c

index 8c127430aada7bbedd290c17de7b7048d8bf6395..0316073d1a2b3f3e1557901d7c6c87ba3dcb2118 100644 (file)
@@ -760,8 +760,8 @@ struct periph_clk_init periph_clk_init_table[] = {
        { PERIPH_ID_SBC2, CLOCK_ID_PERIPH },
        { PERIPH_ID_SBC3, CLOCK_ID_PERIPH },
        { PERIPH_ID_SBC4, CLOCK_ID_PERIPH },
-       { PERIPH_ID_HOST1X, CLOCK_ID_PERIPH },
-       { PERIPH_ID_DISP1, CLOCK_ID_CGENERAL },
+       { PERIPH_ID_HOST1X, CLOCK_ID_CGENERAL },
+       { PERIPH_ID_DISP1, CLOCK_ID_PERIPH },
        { PERIPH_ID_NDFLASH, CLOCK_ID_PERIPH },
        { PERIPH_ID_SDMMC1, CLOCK_ID_PERIPH },
        { PERIPH_ID_SDMMC2, CLOCK_ID_PERIPH },
index 04ad5c504ddac8266135f28613c897518b7491f2..e5c2fd542ceda67599b495ea371a14d55f8150f0 100644 (file)
@@ -799,8 +799,8 @@ struct periph_clk_init periph_clk_init_table[] = {
        { PERIPH_ID_SBC4, CLOCK_ID_PERIPH },
        { PERIPH_ID_SBC5, CLOCK_ID_PERIPH },
        { PERIPH_ID_SBC6, CLOCK_ID_PERIPH },
-       { PERIPH_ID_HOST1X, CLOCK_ID_PERIPH },
-       { PERIPH_ID_DISP1, CLOCK_ID_CGENERAL },
+       { PERIPH_ID_HOST1X, CLOCK_ID_CGENERAL },
+       { PERIPH_ID_DISP1, CLOCK_ID_PERIPH },
        { PERIPH_ID_NDFLASH, CLOCK_ID_PERIPH },
        { PERIPH_ID_SDMMC1, CLOCK_ID_PERIPH },
        { PERIPH_ID_SDMMC2, CLOCK_ID_PERIPH },