On 10/07/2025 02:20, ksk4725@coasia.com wrote:
quoted hunk ↗ jump to hunk
From: Hakyeong Kim <redacted>
Add initial clock support for ARTPEC-8 SoC which is required
for enabling basic clock management.
Add clock support for below CMU block in ARTPEC-8 SoC:
- CMU_IMEM
Signed-off-by: Ravi Patel <redacted>
Signed-off-by: Hakyeong Kim <redacted>
---
drivers/clk/samsung/Kconfig | 8 ++++
drivers/clk/samsung/Makefile | 1 +
drivers/clk/samsung/clk-artpec8.c | 62 +++++++++++++++++++++++++++++++
3 files changed, 71 insertions(+)
create mode 100644 drivers/clk/samsung/clk-artpec8.c
diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig
index 76a494e95027..289591b403ad 100644
--- a/drivers/clk/samsung/Kconfig
+++ b/drivers/clk/samsung/Kconfig
@@ -13,6 +13,7 @@ config COMMON_CLK_SAMSUNG
select EXYNOS_5420_COMMON_CLK if ARM && SOC_EXYNOS5420
select EXYNOS_ARM64_COMMON_CLK if ARM64 && ARCH_EXYNOS
select TESLA_FSD_COMMON_CLK if ARM64 && ARCH_TESLA_FSD
+ select ARTPEC8_COMMON_CLK if ARM64 && ARCH_ARTPEC8
Here and:
quoted hunk ↗ jump to hunk
config S3C64XX_COMMON_CLK
bool "Samsung S3C64xx clock controller support" if COMPILE_TEST
@@ -102,3 +103,10 @@ config TESLA_FSD_COMMON_CLK
help
Support for the clock controller present on the Tesla FSD SoC.
Choose Y here only if you build for this SoC.
+
+config ARTPEC8_COMMON_CLK
here, place it before EXYNOS_3250_COMMON_CLK.
+ bool "Axis ARTPEC-8 clock controller support" if COMPILE_TEST
+ depends on COMMON_CLK_SAMSUNG
+ help
Best regards,
Krzysztof