From: Stephan Gerhold <stephan.gerhold@kernkonzept.com> To: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Andy Gross <agross@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephan Gerhold <stephan@gerhold.net>, Stephan Gerhold <stephan.gerhold@kernkonzept.com> Subject: [PATCH 8/8] ARM: mach-qcom: Add support for MSM8909 Date: Tue, 5 Jul 2022 16:35:23 +0200 [thread overview] Message-ID: <20220705143523.3390944-9-stephan.gerhold@kernkonzept.com> (raw) In-Reply-To: <20220705143523.3390944-1-stephan.gerhold@kernkonzept.com> 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(+) 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 = { -- 2.30.2
WARNING: multiple messages have this Message-ID (diff)
From: Stephan Gerhold <stephan.gerhold@kernkonzept.com> To: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Andy Gross <agross@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephan Gerhold <stephan@gerhold.net>, Stephan Gerhold <stephan.gerhold@kernkonzept.com> Subject: [PATCH 8/8] ARM: mach-qcom: Add support for MSM8909 Date: Tue, 5 Jul 2022 16:35:23 +0200 [thread overview] Message-ID: <20220705143523.3390944-9-stephan.gerhold@kernkonzept.com> (raw) In-Reply-To: <20220705143523.3390944-1-stephan.gerhold@kernkonzept.com> 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(+) 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 = { -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-07-05 14:35 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-05 14:35 [PATCH 0/8] soc: qcom: Add compatibles for MSM8909 Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 14:35 ` [PATCH 1/8] dt-bindings: soc: qcom: smd-rpm: Add MSM8909 Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 18:08 ` Krzysztof Kozlowski 2022-07-05 18:08 ` Krzysztof Kozlowski 2022-07-05 14:35 ` [PATCH 2/8] soc: qcom: smd-rpm: Add compatible for MSM8909 Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 14:35 ` [PATCH 3/8] dt-bindings: power: qcom-rpmpd: Add MSM8909 power domains Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 18:08 ` Krzysztof Kozlowski 2022-07-05 18:08 ` Krzysztof Kozlowski 2022-07-05 14:35 ` [PATCH 4/8] soc: qcom: rpmpd: Add compatible for MSM8909 Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 14:35 ` [PATCH 5/8] dt-bindings: soc: qcom: spm: Add MSM8909 CPU compatible Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 18:08 ` Krzysztof Kozlowski 2022-07-05 18:08 ` Krzysztof Kozlowski 2022-07-05 14:35 ` [PATCH 6/8] soc: qcom: spm: Add CPU data for MSM8909 Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 14:35 ` [PATCH 7/8] dt-bindings: arm: cpus: Document "qcom,msm8909-smp" enable-method Stephan Gerhold 2022-07-05 14:35 ` Stephan Gerhold 2022-07-05 18:09 ` Krzysztof Kozlowski 2022-07-05 18:09 ` Krzysztof Kozlowski 2022-07-05 14:35 ` Stephan Gerhold [this message] 2022-07-05 14:35 ` [PATCH 8/8] ARM: mach-qcom: Add support for MSM8909 Stephan Gerhold 2022-07-06 13:39 ` Konrad Dybcio 2022-07-06 13:39 ` Konrad Dybcio 2022-07-19 4:48 ` (subset) [PATCH 0/8] soc: qcom: Add compatibles " Bjorn Andersson 2022-07-19 4:48 ` Bjorn Andersson
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220705143523.3390944-9-stephan.gerhold@kernkonzept.com \ --to=stephan.gerhold@kernkonzept.com \ --cc=agross@kernel.org \ --cc=bjorn.andersson@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=robh+dt@kernel.org \ --cc=stephan@gerhold.net \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.