Message ID | 20250209220646.1090868-2-alexander.sverdlin@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | arm64 support for Milk-V Duo Module 01 EVB | expand |
Context | Check | Description |
---|---|---|
bjorn/pre-ci_am | success | Success |
bjorn/build-rv32-defconfig | success | build-rv32-defconfig |
bjorn/build-rv64-clang-allmodconfig | success | build-rv64-clang-allmodconfig |
bjorn/build-rv64-gcc-allmodconfig | success | build-rv64-gcc-allmodconfig |
bjorn/build-rv64-nommu-k210-defconfig | success | build-rv64-nommu-k210-defconfig |
bjorn/build-rv64-nommu-k210-virt | success | build-rv64-nommu-k210-virt |
bjorn/checkpatch | success | checkpatch |
bjorn/dtb-warn-rv64 | success | dtb-warn-rv64 |
bjorn/header-inline | success | header-inline |
bjorn/kdoc | success | kdoc |
bjorn/module-param | success | module-param |
bjorn/verify-fixes | success | verify-fixes |
bjorn/verify-signedoff | success | verify-signedoff |
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@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
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. + + 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
First user will be Aarch64 core within SG2000 SoC. Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> --- arch/arm64/Kconfig.platforms | 12 ++++++++++++ 1 file changed, 12 insertions(+)