},
};
+static struct clk_gate axg_spicc_0 = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 8,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "axg_spicc_0",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
+
+static struct clk_gate axg_spicc_1 = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 15,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "axg_spicc_1",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
/* Everything Else (EE) domain gates */
static MESON_GATE(axg_ddr, HHI_GCLK_MPEG0, 0);
static MESON_GATE(axg_audio_locker, HHI_GCLK_MPEG0, 2);
static MESON_GATE(axg_isa, HHI_GCLK_MPEG0, 5);
static MESON_GATE(axg_pl301, HHI_GCLK_MPEG0, 6);
static MESON_GATE(axg_periphs, HHI_GCLK_MPEG0, 7);
-static MESON_GATE(axg_spicc_0, HHI_GCLK_MPEG0, 8);
+//static MESON_GATE(axg_spicc_0, HHI_GCLK_MPEG0, 8);
static MESON_GATE(axg_i2c, HHI_GCLK_MPEG0, 9);
static MESON_GATE(axg_rng0, HHI_GCLK_MPEG0, 12);
static MESON_GATE(axg_uart0, HHI_GCLK_MPEG0, 13);
static MESON_GATE(axg_mipi_dsi_phy, HHI_GCLK_MPEG0, 14);
-static MESON_GATE(axg_spicc_1, HHI_GCLK_MPEG0, 15);
+//static MESON_GATE(axg_spicc_1, HHI_GCLK_MPEG0, 15);
static MESON_GATE(axg_pcie_a, HHI_GCLK_MPEG0, 16);
static MESON_GATE(axg_pcie_b, HHI_GCLK_MPEG0, 17);
static MESON_GATE(axg_hiu_reg, HHI_GCLK_MPEG0, 19);
/* Everything Else (EE) domain gates */
+static struct clk_gate g12a_spicc_0 = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 8,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "g12a_spicc_0",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
+
+static struct clk_gate g12a_spicc_1 = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 14,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "g12a_spicc_1",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
static MESON_GATE(g12a_ddr, HHI_GCLK_MPEG0, 0);
static MESON_GATE(g12a_dos, HHI_GCLK_MPEG0, 1);
static MESON_GATE(g12a_alocker, HHI_GCLK_MPEG0, 2);
static MESON_GATE(g12a_isa, HHI_GCLK_MPEG0, 5);
static MESON_GATE(g12a_pl301, HHI_GCLK_MPEG0, 6);
static MESON_GATE(g12a_periphs, HHI_GCLK_MPEG0, 7);
-static MESON_GATE(g12a_spicc_0, HHI_GCLK_MPEG0, 8);
+//static MESON_GATE(g12a_spicc_0, HHI_GCLK_MPEG0, 8);
static MESON_GATE(g12a_i2c, HHI_GCLK_MPEG0, 9);
static MESON_GATE(g12a_sana, HHI_GCLK_MPEG0, 10);
static MESON_GATE(g12a_sd, HHI_GCLK_MPEG0, 11);
static MESON_GATE(g12a_rng0, HHI_GCLK_MPEG0, 12);
static MESON_GATE(g12a_uart0, HHI_GCLK_MPEG0, 13);
-static MESON_GATE(g12a_spicc_1, HHI_GCLK_MPEG0, 14);
+//static MESON_GATE(g12a_spicc_1, HHI_GCLK_MPEG0, 14);
static MESON_GATE(g12a_hiu_reg, HHI_GCLK_MPEG0, 19);
static MESON_GATE(g12a_mipi_dsi_phy, HHI_GCLK_MPEG0, 20);
static MESON_GATE(g12a_assist_misc, HHI_GCLK_MPEG0, 23);
},
};
+static struct clk_gate gxl_spicc = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 8,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "gxl_spicc",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
+
/* Everything Else (EE) domain gates */
static MESON_GATE(gxl_ddr, HHI_GCLK_MPEG0, 0);
static MESON_GATE(gxl_dos, HHI_GCLK_MPEG0, 1);
static MESON_GATE(gxl_isa, HHI_GCLK_MPEG0, 5);
static MESON_GATE(gxl_pl301, HHI_GCLK_MPEG0, 6);
static MESON_GATE(gxl_periphs, HHI_GCLK_MPEG0, 7);
-static MESON_GATE(gxl_spicc, HHI_GCLK_MPEG0, 8);
+//static MESON_GATE(gxl_spicc, HHI_GCLK_MPEG0, 8);
static MESON_GATE(gxl_i2c, HHI_GCLK_MPEG0, 9);
static MESON_GATE(gxl_sana, HHI_GCLK_MPEG0, 10);
static MESON_GATE(gxl_smart_card, HHI_GCLK_MPEG0, 11);
},
};
+static struct clk_gate meson8b_spicc = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 8,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "meson8b_spicc",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
+
/* Everything Else (EE) domain gates */
static MESON_GATE(meson8b_ddr, HHI_GCLK_MPEG0, 0);
static MESON_GATE(meson8b_isa, HHI_GCLK_MPEG0, 5);
static MESON_GATE(meson8b_pl301, HHI_GCLK_MPEG0, 6);
static MESON_GATE(meson8b_periphs, HHI_GCLK_MPEG0, 7);
-static MESON_GATE(meson8b_spicc, HHI_GCLK_MPEG0, 8);
+//static MESON_GATE(meson8b_spicc, HHI_GCLK_MPEG0, 8);
static MESON_GATE(meson8b_i2c, HHI_GCLK_MPEG0, 9);
static MESON_GATE(meson8b_sar_adc, HHI_GCLK_MPEG0, 10);
static MESON_GATE(meson8b_smart_card, HHI_GCLK_MPEG0, 11);
static MESON_GATE(txlx_isa, HHI_GCLK_MPEG0, 5);
static MESON_GATE(txlx_pl301, HHI_GCLK_MPEG0, 6);
static MESON_GATE(txlx_periphs, HHI_GCLK_MPEG0, 7);
-static MESON_GATE(txlx_spicc_0, HHI_GCLK_MPEG0, 8);
+//static MESON_GATE(txlx_spicc_0, HHI_GCLK_MPEG0, 8);
static MESON_GATE(txlx_i2c, HHI_GCLK_MPEG0, 9);
static MESON_GATE(txlx_sana, HHI_GCLK_MPEG0, 10);
static MESON_GATE(txlx_smart_card, HHI_GCLK_MPEG0, 11);
static MESON_GATE(txlx_rng0, HHI_GCLK_MPEG0, 12);
static MESON_GATE(txlx_uart0, HHI_GCLK_MPEG0, 13);
-static MESON_GATE(txlx_spicc_1, HHI_GCLK_MPEG0, 14);
+//static MESON_GATE(txlx_spicc_1, HHI_GCLK_MPEG0, 14);
static MESON_GATE(txlx_stream, HHI_GCLK_MPEG0, 15);
static MESON_GATE(txlx_async_fifo, HHI_GCLK_MPEG0, 16);
static MESON_GATE(txlx_hiu_reg, HHI_GCLK_MPEG0, 19);
static MESON_GATE(txlx_ao_iface, HHI_GCLK_AO, 3);
static MESON_GATE(txlx_ao_i2c, HHI_GCLK_AO, 4);
+static struct clk_gate txlx_spicc_0 = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 8,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "txlx_spicc_0",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
+
+static struct clk_gate txlx_spicc_1 = {
+ .reg = (void *)HHI_GCLK_MPEG0,
+ .bit_idx = 14,
+ .lock = &clk_lock,
+ .hw.init = &(struct clk_init_data){
+ .name = "txlx_spicc_1",
+ .ops = &clk_gate_ops,
+ .parent_names = (const char *[]){ "clk81" },
+ .num_parents = 1,
+ .flags = 0,
+ },
+};
+
/* Array of all clocks provided by this provider */
static struct clk_hw *txlx_clk_hws[] = {