Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 2f1efa5340ef
("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 <nick@khadas.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210604032957.224496-1-xieqinick@gmail.com

authored by

Nick Xie and committed by
Jerome Brunet
8271813e 50cb321f

+6
+6
drivers/clk/meson/g12a.c
··· 4723 4723 [CLKID_SPICC1_SCLK_SEL] = &g12a_spicc1_sclk_sel.hw, 4724 4724 [CLKID_SPICC1_SCLK_DIV] = &g12a_spicc1_sclk_div.hw, 4725 4725 [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, 4726 4732 [CLKID_MIPI_DSI_PXCLK_SEL] = &g12a_mipi_dsi_pxclk_sel.hw, 4727 4733 [CLKID_MIPI_DSI_PXCLK_DIV] = &g12a_mipi_dsi_pxclk_div.hw, 4728 4734 [CLKID_MIPI_DSI_PXCLK] = &g12a_mipi_dsi_pxclk.hw,