]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tegra114: clock: define MIPI calibration peripheral clock
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 25 Dec 2023 15:30:37 +0000 (17:30 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 2 Jan 2024 17:21:24 +0000 (19:21 +0200)
TEGRA114_CLK_MIPI_CAL is a fixed child of PLLP and is used
as clock source of the MIPI PHY calibration mechanism.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/include/asm/arch-tegra114/clock-tables.h
arch/arm/mach-tegra/tegra114/clock.c

index 95fadd0c59416e5a1907a5f3786871d4444d732f..af4d48144a80548106ac15585051b83ef7e9d34e 100644 (file)
@@ -109,7 +109,7 @@ enum periph_id {
        PERIPH_ID_UART3,
 
        /* 56 */
-       PERIPH_ID_RESERVED56,
+       PERIPH_ID_MIPI_CAL,
        PERIPH_ID_EMC,
        PERIPH_ID_USB2,
        PERIPH_ID_USB3,
index 418ad48ddc2facb75db99387eb81c5143ef451e2..2ee755bc649c69788cf6ac4253eabb6b598181c1 100644 (file)
@@ -299,7 +299,7 @@ static s8 periph_id_to_internal_id[PERIPH_ID_COUNT] = {
        PERIPHC_UART3,
 
        /* 56 */
-       NONE(RESERVED56),
+       NONE(MIPI_CAL),
        PERIPHC_EMC,
        NONE(USB2),
        NONE(USB3),
@@ -635,7 +635,6 @@ enum periph_id clk_id_to_periph_id(int clk_id)
        case PERIPH_ID_RESERVED35:
        case PERIPH_ID_RESERVED43:
        case PERIPH_ID_RESERVED45:
-       case PERIPH_ID_RESERVED56:
        case PERIPH_ID_RESERVED76:
        case PERIPH_ID_RESERVED77:
        case PERIPH_ID_RESERVED78: