clk: meson: g12a: Add support for NNA CLK source clocks
authorDmitry Shmidt <dimitrysh@google.com>
Wed, 10 Jun 2020 08:30:12 +0000 (10:30 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Fri, 19 Jun 2020 15:16:39 +0000 (17:16 +0200)
commit2f1efa5340eff9af36c9a7347bb97abd726128a0
tree2d18fd003d9442809eb1c559cfa6ad0cda8df4e6
parentdf06230106e95347ec613f1707a704b04737c59b
clk: meson: g12a: Add support for NNA CLK source clocks

This adds the Neural Network Accelerator source clocks hierarchy, it's
2 simple composite clocks to feed the AXI interface and the Core of
the Neural Network Accelerator IP.

This IP is only present on the Amlogic SM1 SoCs family.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200610083012.5024-3-narmstrong@baylibre.com
drivers/clk/meson/g12a.c
drivers/clk/meson/g12a.h