[PATCH 01/10] arm64: Add SOPHGO SOC family Kconfig support
Chen Wang
unicorn_wang at outlook.com
Sun Feb 9 16:38:20 PST 2025
On 2025/2/10 6:06, Alexander Sverdlin wrote:
> First user will be Aarch64 core within SG2000 SoC.
>
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin at gmail.com>
> ---
> arch/arm64/Kconfig.platforms | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 02f9248f7c84..f45f3f05edf8 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -307,6 +307,18 @@ config ARCH_INTEL_SOCFPGA
> Stratix 10 (ex. Altera), Stratix10 Software Virtual Platform,
> Agilex and eASIC N5X.
>
> +config ARCH_SOPHGO
> + bool "Sophgo SoCs"
> + select CLK_SOPHGO_CV1800
> + select MFD_SYSCON
> + select RESET_CONTROLLER
> + help
> + This enables support for Sophgo SoC platform hardware, such as
> + SG2000.
In the long run, ARCH_SOPHGO will be used to enable all arm64 products
under Sophgo (although only SG2000 is seen at present), so it is not
good to limit it to SG2000.
So I suggest you modify the help description here and do not select
these SG2000-specific configurations. The specific configuration can be
enabled in defconfig. Please refer to the similar ARCH_SOPHGO processing
in `arch/riscv/Kconfig.socs`.
Regards,
Chen
> +
> + Enable this option if you are going to boot your dual-ARCH SoC in
> + ARM64 mode.
> +
> config ARCH_STM32
> bool "STMicroelectronics STM32 SoC Family"
> select GPIOLIB
More information about the linux-riscv
mailing list