diff mbox series

[8/8] ARM: mach-qcom: Add support for MSM8909

Message ID 20220705143523.3390944-9-stephan.gerhold@kernkonzept.com (mailing list archive)
State Accepted
Headers show
Series soc: qcom: Add compatibles for MSM8909 | expand

Commit Message

Stephan Gerhold July 5, 2022, 2:35 p.m. UTC
Add a Kconfig entry for MSM8909 and the "qcom,msm8909-smp" CPU
enable-method. The ARM Cortex-A7 cores are booted just like on MSM8226.

Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
---
 arch/arm/mach-qcom/Kconfig   | 4 ++++
 arch/arm/mach-qcom/platsmp.c | 1 +
 2 files changed, 5 insertions(+)

Comments

Konrad Dybcio July 6, 2022, 1:39 p.m. UTC | #1
On 5.07.2022 16:35, Stephan Gerhold wrote:
> Add a Kconfig entry for MSM8909 and the "qcom,msm8909-smp" CPU
> enable-method. The ARM Cortex-A7 cores are booted just like on MSM8226.
> 
> Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
>  arch/arm/mach-qcom/Kconfig   | 4 ++++
>  arch/arm/mach-qcom/platsmp.c | 1 +
>  2 files changed, 5 insertions(+)
> 
> diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
> index 109e126f7271..12a812e61c16 100644
> --- a/arch/arm/mach-qcom/Kconfig
> +++ b/arch/arm/mach-qcom/Kconfig
> @@ -20,6 +20,10 @@ config ARCH_MSM8X60
>  	bool "Enable support for MSM8X60"
>  	select CLKSRC_QCOM
>  
> +config ARCH_MSM8909
> +	bool "Enable support for MSM8909"
> +	select HAVE_ARM_ARCH_TIMER
> +
>  config ARCH_MSM8916
>  	bool "Enable support for MSM8916"
>  	select HAVE_ARM_ARCH_TIMER
> diff --git a/arch/arm/mach-qcom/platsmp.c b/arch/arm/mach-qcom/platsmp.c
> index 65a0d5ce2bb3..5d2f386a46d8 100644
> --- a/arch/arm/mach-qcom/platsmp.c
> +++ b/arch/arm/mach-qcom/platsmp.c
> @@ -384,6 +384,7 @@ static const struct smp_operations qcom_smp_cortex_a7_ops __initconst = {
>  #endif
>  };
>  CPU_METHOD_OF_DECLARE(qcom_smp_msm8226, "qcom,msm8226-smp", &qcom_smp_cortex_a7_ops);
> +CPU_METHOD_OF_DECLARE(qcom_smp_msm8909, "qcom,msm8909-smp", &qcom_smp_cortex_a7_ops);
>  CPU_METHOD_OF_DECLARE(qcom_smp_msm8916, "qcom,msm8916-smp", &qcom_smp_cortex_a7_ops);
>  
>  static const struct smp_operations qcom_smp_kpssv1_ops __initconst = {
>
diff mbox series

Patch

diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
index 109e126f7271..12a812e61c16 100644
--- a/arch/arm/mach-qcom/Kconfig
+++ b/arch/arm/mach-qcom/Kconfig
@@ -20,6 +20,10 @@  config ARCH_MSM8X60
 	bool "Enable support for MSM8X60"
 	select CLKSRC_QCOM
 
+config ARCH_MSM8909
+	bool "Enable support for MSM8909"
+	select HAVE_ARM_ARCH_TIMER
+
 config ARCH_MSM8916
 	bool "Enable support for MSM8916"
 	select HAVE_ARM_ARCH_TIMER
diff --git a/arch/arm/mach-qcom/platsmp.c b/arch/arm/mach-qcom/platsmp.c
index 65a0d5ce2bb3..5d2f386a46d8 100644
--- a/arch/arm/mach-qcom/platsmp.c
+++ b/arch/arm/mach-qcom/platsmp.c
@@ -384,6 +384,7 @@  static const struct smp_operations qcom_smp_cortex_a7_ops __initconst = {
 #endif
 };
 CPU_METHOD_OF_DECLARE(qcom_smp_msm8226, "qcom,msm8226-smp", &qcom_smp_cortex_a7_ops);
+CPU_METHOD_OF_DECLARE(qcom_smp_msm8909, "qcom,msm8909-smp", &qcom_smp_cortex_a7_ops);
 CPU_METHOD_OF_DECLARE(qcom_smp_msm8916, "qcom,msm8916-smp", &qcom_smp_cortex_a7_ops);
 
 static const struct smp_operations qcom_smp_kpssv1_ops __initconst = {