2020-06-10 08:36:33

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 0/2] clk: meson: g12a: Add the NNA source clocks

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


2020-06-10 14:02:00

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: clk: g12a-clkc: Add NNA CLK Source clock IDs

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

2020-06-17 22:20:35

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: clk: g12a-clkc: Add NNA CLK Source clock IDs

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]>

2020-06-24 10:15:30

by Jerome Brunet

[permalink] [raw]
Subject: Re: [PATCH 0/2] clk: meson: g12a: Add the NNA source clocks


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