This patchset adds the Neural Network Accelerator source clocks present
on the Amlogic SM1 SoCs family.
Dmitry Shmidt (2):
dt-bindings: clk: g12a-clkc: Add NNA CLK Source clock IDs
clk: meson: g12a: Add support for NNA CLK source clocks
drivers/clk/meson/g12a.c | 119 ++++++++++++++++++++++++++
drivers/clk/meson/g12a.h | 7 +-
include/dt-bindings/clock/g12a-clkc.h | 2 +
3 files changed, 127 insertions(+), 1 deletion(-)
--
2.22.0
From: Dmitry Shmidt <[email protected]>
This adds the Neural Network Accelerator IP source clocks.
Signed-off-by: Dmitry Shmidt <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
---
include/dt-bindings/clock/g12a-clkc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-bindings/clock/g12a-clkc.h
index b0d65d73db96..40d49940d8a8 100644
--- a/include/dt-bindings/clock/g12a-clkc.h
+++ b/include/dt-bindings/clock/g12a-clkc.h
@@ -145,5 +145,7 @@
#define CLKID_CPU3_CLK 255
#define CLKID_SPICC0_SCLK 258
#define CLKID_SPICC1_SCLK 261
+#define CLKID_NNA_AXI_CLK 264
+#define CLKID_NNA_CORE_CLK 267
#endif /* __G12A_CLKC_H */
--
2.22.0
On Wed, 10 Jun 2020 10:30:11 +0200, Neil Armstrong wrote:
> From: Dmitry Shmidt <[email protected]>
>
> This adds the Neural Network Accelerator IP source clocks.
>
> Signed-off-by: Dmitry Shmidt <[email protected]>
> Signed-off-by: Neil Armstrong <[email protected]>
> ---
> include/dt-bindings/clock/g12a-clkc.h | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <[email protected]>
On Wed 10 Jun 2020 at 10:30, Neil Armstrong <[email protected]> wrote:
> This patchset adds the Neural Network Accelerator source clocks present
> on the Amlogic SM1 SoCs family.
>
> Dmitry Shmidt (2):
> dt-bindings: clk: g12a-clkc: Add NNA CLK Source clock IDs
> clk: meson: g12a: Add support for NNA CLK source clocks
>
> drivers/clk/meson/g12a.c | 119 ++++++++++++++++++++++++++
> drivers/clk/meson/g12a.h | 7 +-
> include/dt-bindings/clock/g12a-clkc.h | 2 +
> 3 files changed, 127 insertions(+), 1 deletion(-)
Applied, Thx