clk: meson: axg: Remove MIPI enable clock gate
authorRemi Pommarel <repk@triplefau.lt>
Mon, 9 Mar 2020 21:01:56 +0000 (22:01 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Tue, 9 Feb 2021 12:32:59 +0000 (13:32 +0100)
On AXG platforms HHI_MIPI_CNTL0 is part of the MIPI/PCIe analog PHY
region and is not related to clock one and can be removed from it.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/axg.c
drivers/clk/meson/axg.h

index 0e44695b8772defee1aa35b6c8647fe52fe6e720..2ad3801398dc114d660be253f1cb98dbf9f9f3be 100644 (file)
@@ -1879,7 +1879,6 @@ static MESON_GATE(axg_mmc_pclk, HHI_GCLK_MPEG2, 11);
 static MESON_GATE(axg_vpu_intr, HHI_GCLK_MPEG2, 25);
 static MESON_GATE(axg_sec_ahb_ahb3_bridge, HHI_GCLK_MPEG2, 26);
 static MESON_GATE(axg_gic, HHI_GCLK_MPEG2, 30);
-static MESON_GATE(axg_mipi_enable, HHI_MIPI_CNTL0, 29);
 
 /* Always On (AO) domain gates */
 
@@ -1974,7 +1973,6 @@ static struct clk_hw_onecell_data axg_hw_onecell_data = {
                [CLKID_PCIE_REF]                = &axg_pcie_ref.hw,
                [CLKID_PCIE_CML_EN0]            = &axg_pcie_cml_en0.hw,
                [CLKID_PCIE_CML_EN1]            = &axg_pcie_cml_en1.hw,
-               [CLKID_MIPI_ENABLE]             = &axg_mipi_enable.hw,
                [CLKID_GEN_CLK_SEL]             = &axg_gen_clk_sel.hw,
                [CLKID_GEN_CLK_DIV]             = &axg_gen_clk_div.hw,
                [CLKID_GEN_CLK]                 = &axg_gen_clk.hw,
@@ -2115,7 +2113,6 @@ static struct clk_regmap *const axg_clk_regmaps[] = {
        &axg_pcie_ref,
        &axg_pcie_cml_en0,
        &axg_pcie_cml_en1,
-       &axg_mipi_enable,
        &axg_gen_clk_sel,
        &axg_gen_clk_div,
        &axg_gen_clk,
index 481b307ea3cbbb95c8d929f06ea9bfe94e733a96..23ea87964af29a0b450360c7e8547b8b67bfb9a1 100644 (file)
@@ -16,7 +16,6 @@
  * Register offsets from the data sheet must be multiplied by 4 before
  * adding them to the base address to get the right value.
  */
-#define HHI_MIPI_CNTL0                 0x00
 #define HHI_GP0_PLL_CNTL               0x40
 #define HHI_GP0_PLL_CNTL2              0x44
 #define HHI_GP0_PLL_CNTL3              0x48