clk: meson: g12a: add missing SD_EMMC_A controller gates
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 20 Apr 2020 13:46:30 +0000 (15:46 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 28 Apr 2020 08:23:10 +0000 (10:23 +0200)
Add missing SD_EMMC_A controller gates needed for probe of the A
controller, otherwise leading to a freeze of the SoC after b3d69aa596.

Fixes: b3d69aa596 ("clk: meson: reset mmc clock on probe")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/g12a.c

index c1976aa..6089f84 100644 (file)
@@ -112,6 +112,7 @@ static struct meson_gate gates[NUM_CLKS] = {
        MESON_GATE(CLKID_I2C, HHI_GCLK_MPEG0, 9),
        MESON_GATE(CLKID_UART0, HHI_GCLK_MPEG0, 13),
        MESON_GATE(CLKID_SPICC1, HHI_GCLK_MPEG0, 14),
+       MESON_GATE(CLKID_SD_EMMC_A, HHI_GCLK_MPEG0, 4),
        MESON_GATE(CLKID_SD_EMMC_B, HHI_GCLK_MPEG0, 25),
        MESON_GATE(CLKID_SD_EMMC_C, HHI_GCLK_MPEG0, 26),
        MESON_GATE(CLKID_ETH, HHI_GCLK_MPEG1, 3),
@@ -127,6 +128,7 @@ static struct meson_gate gates[NUM_CLKS] = {
        MESON_GATE(CLKID_FCLK_DIV4, HHI_FIX_PLL_CNTL1, 21),
        MESON_GATE(CLKID_FCLK_DIV5, HHI_FIX_PLL_CNTL1, 22),
        MESON_GATE(CLKID_FCLK_DIV7, HHI_FIX_PLL_CNTL1, 23),
+       MESON_GATE(CLKID_SD_EMMC_A_CLK0, HHI_SD_EMMC_CLK_CNTL, 7),
        MESON_GATE(CLKID_SD_EMMC_B_CLK0, HHI_SD_EMMC_CLK_CNTL, 23),
        MESON_GATE(CLKID_SD_EMMC_C_CLK0, HHI_NAND_CLK_CNTL, 7),
        MESON_GATE(CLKID_VPU_0, HHI_VPU_CLK_CNTL, 8),