diff mbox series

[v2,6/7] arm64: Add SOPHGO SOC family Kconfig support

Message ID 20250210220951.1248533-7-alexander.sverdlin@gmail.com (mailing list archive)
State Superseded
Headers show
Series arm64 support for Milk-V Duo Module 01 EVB | expand

Commit Message

Alexander Sverdlin Feb. 10, 2025, 10:09 p.m. UTC
First user will be Aarch64 core within SG2000 SoC.

Cc: Chen Wang <unicorn_wang@outlook.com>
Cc: Inochi Amaoto <inochiama@outlook.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
---
Changelog:
v2:
- shortened the help message (mirrored from RiscV ARCH now);
- select ARCH_HAS_RESET_CONTROLLER instead of RESET_CONTROLLER;
- moved CLK_SOPHGO_CV1800 selection into defconfig;

 arch/arm64/Kconfig.platforms | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Chen Wang Feb. 11, 2025, 1:25 a.m. UTC | #1
On 2025/2/11 6:09, Alexander Sverdlin wrote:
> First user will be Aarch64 core within SG2000 SoC.
>
> Cc: Chen Wang <unicorn_wang@outlook.com>
> Cc: Inochi Amaoto <inochiama@outlook.com>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>

Reviewed-by: Chen Wang <unicorn_wang@outlook.com>


> ---
> Changelog:
> v2:
> - shortened the help message (mirrored from RiscV ARCH now);
> - select ARCH_HAS_RESET_CONTROLLER instead of RESET_CONTROLLER;
> - moved CLK_SOPHGO_CV1800 selection into defconfig;
>
>   arch/arm64/Kconfig.platforms | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 02f9248f7c84..21b6a2bfb45a 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -307,6 +307,12 @@ config ARCH_INTEL_SOCFPGA
>   	  Stratix 10 (ex. Altera), Stratix10 Software Virtual Platform,
>   	  Agilex and eASIC N5X.
>   
> +config ARCH_SOPHGO
> +	bool "Sophgo SoCs"
> +	select ARCH_HAS_RESET_CONTROLLER
> +	help
> +	  This enables support for Sophgo SoC platform hardware.
> +
>   config ARCH_STM32
>   	bool "STMicroelectronics STM32 SoC Family"
>   	select GPIOLIB
diff mbox series

Patch

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 02f9248f7c84..21b6a2bfb45a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -307,6 +307,12 @@  config ARCH_INTEL_SOCFPGA
 	  Stratix 10 (ex. Altera), Stratix10 Software Virtual Platform,
 	  Agilex and eASIC N5X.
 
+config ARCH_SOPHGO
+	bool "Sophgo SoCs"
+	select ARCH_HAS_RESET_CONTROLLER
+	help
+	  This enables support for Sophgo SoC platform hardware.
+
 config ARCH_STM32
 	bool "STMicroelectronics STM32 SoC Family"
 	select GPIOLIB