Skip to content

Commit 8271813

Browse files
numbqqjbrun3t
authored andcommitted
clk: meson: g12a: Add missing NNA source clocks for g12b
This adds the Neural Network Accelerator source clocks for g12b. Initial support for sm1 already exist in commit 2f1efa5 ("clk: meson: g12a: Add support for NNA CLK source clocks") The sm1 and g12b share the same NNA source clocks. This patch add missing NNA clocks for A311D (g12b). Signed-off-by: Nick Xie <[email protected]> Acked-by: Neil Armstrong <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Signed-off-by: Jerome Brunet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 50cb321 commit 8271813

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/clk/meson/g12a.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4723,6 +4723,12 @@ static struct clk_hw_onecell_data g12b_hw_onecell_data = {
47234723
[CLKID_SPICC1_SCLK_SEL] = &g12a_spicc1_sclk_sel.hw,
47244724
[CLKID_SPICC1_SCLK_DIV] = &g12a_spicc1_sclk_div.hw,
47254725
[CLKID_SPICC1_SCLK] = &g12a_spicc1_sclk.hw,
4726+
[CLKID_NNA_AXI_CLK_SEL] = &sm1_nna_axi_clk_sel.hw,
4727+
[CLKID_NNA_AXI_CLK_DIV] = &sm1_nna_axi_clk_div.hw,
4728+
[CLKID_NNA_AXI_CLK] = &sm1_nna_axi_clk.hw,
4729+
[CLKID_NNA_CORE_CLK_SEL] = &sm1_nna_core_clk_sel.hw,
4730+
[CLKID_NNA_CORE_CLK_DIV] = &sm1_nna_core_clk_div.hw,
4731+
[CLKID_NNA_CORE_CLK] = &sm1_nna_core_clk.hw,
47264732
[CLKID_MIPI_DSI_PXCLK_SEL] = &g12a_mipi_dsi_pxclk_sel.hw,
47274733
[CLKID_MIPI_DSI_PXCLK_DIV] = &g12a_mipi_dsi_pxclk_div.hw,
47284734
[CLKID_MIPI_DSI_PXCLK] = &g12a_mipi_dsi_pxclk.hw,

0 commit comments

Comments
 (0)