From: Adam Skladowski <a39.skl@gmail.com> To: unlisted-recipients:; (no To-header on input) Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Adam Skladowski <a39.skl@gmail.com>, Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Amit Kucheria <amitk@kernel.org>, Thara Gopinath <thara.gopinath@gmail.com>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Zhang Rui <rui.zhang@intel.com>, Loic Poulain <loic.poulain@linaro.org>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 03/12] arm64: dts: qcom: sm6115: Add cpufreq-hw support Date: Tue, 29 Nov 2022 21:46:07 +0100 [thread overview] Message-ID: <20221129204616.47006-4-a39.skl@gmail.com> (raw) In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> Add cpufreq-hw node and assign qcom,freq-domain properties to CPUs to enable CPU clock scaling. Signed-off-by: Adam Skladowski <a39.skl@gmail.com> --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 0340ed21be05..2003a2519a54 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -842,6 +842,17 @@ intc: interrupt-controller@f200000 { redistributor-stride = <0x0 0x20000>; interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; }; + + cpufreq_hw: cpufreq@f521000 { + compatible = "qcom,cpufreq-hw"; + reg = <0x0f521000 0x1000>, <0x0f523000 0x1000>; + + reg-names = "freq-domain0", "freq-domain1"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>; + clock-names = "xo", "alternate"; + + #freq-domain-cells = <1>; + }; }; timer { -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Adam Skladowski <a39.skl@gmail.com> Cc: "Rafael J. Wysocki" <rafael@kernel.org>, Amit Kucheria <amitk@kernel.org>, dri-devel@lists.freedesktop.org, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, phone-devel@vger.kernel.org, Daniel Lezcano <daniel.lezcano@linaro.org>, Andy Gross <agross@kernel.org>, Zhang Rui <rui.zhang@intel.com>, devicetree@vger.kernel.org, Thara Gopinath <thara.gopinath@gmail.com>, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Adam Skladowski <a39.skl@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Rob Herring <robh+dt@kernel.org>, ~postmarketos/upstreaming@lists.sr.ht, Sean Paul <sean@poorly.run>, Loic Poulain <loic.poulain@linaro.org>, Bjorn Andersson <andersson@kernel.org>, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, freedreno@lists.freedesktop.org Subject: [PATCH 03/12] arm64: dts: qcom: sm6115: Add cpufreq-hw support Date: Tue, 29 Nov 2022 21:46:07 +0100 [thread overview] Message-ID: <20221129204616.47006-4-a39.skl@gmail.com> (raw) In-Reply-To: <20221129204616.47006-1-a39.skl@gmail.com> Add cpufreq-hw node and assign qcom,freq-domain properties to CPUs to enable CPU clock scaling. Signed-off-by: Adam Skladowski <a39.skl@gmail.com> --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 0340ed21be05..2003a2519a54 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -842,6 +842,17 @@ intc: interrupt-controller@f200000 { redistributor-stride = <0x0 0x20000>; interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; }; + + cpufreq_hw: cpufreq@f521000 { + compatible = "qcom,cpufreq-hw"; + reg = <0x0f521000 0x1000>, <0x0f523000 0x1000>; + + reg-names = "freq-domain0", "freq-domain1"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>; + clock-names = "xo", "alternate"; + + #freq-domain-cells = <1>; + }; }; timer { -- 2.25.1
next prev parent reply other threads:[~2022-11-29 20:47 UTC|newest] Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-29 20:46 [PATCH 00/12] SM6115 DTS changes Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-29 20:46 ` [PATCH 01/12] dt-bindings: display: msm: Replace mdss with display-subsystem Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 15:07 ` Krzysztof Kozlowski 2022-11-30 15:07 ` Krzysztof Kozlowski 2022-11-29 20:46 ` [PATCH 02/12] dt-bindings: thermal: tsens: Add SM6115 compatible Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 15:08 ` Krzysztof Kozlowski 2022-11-30 15:08 ` Krzysztof Kozlowski 2022-11-29 20:46 ` Adam Skladowski [this message] 2022-11-29 20:46 ` [PATCH 03/12] arm64: dts: qcom: sm6115: Add cpufreq-hw support Adam Skladowski 2022-11-29 20:46 ` [PATCH 04/12] arm64: dts: qcom: sm6115: Add TSENS node Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 11:16 ` Konrad Dybcio 2022-11-30 11:16 ` Konrad Dybcio 2022-11-29 20:46 ` [PATCH 05/12] arm64: dts: qcom: sm6115: Add PRNG node Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 11:17 ` Konrad Dybcio 2022-11-30 11:17 ` Konrad Dybcio 2022-11-29 20:46 ` [PATCH 06/12] arm64: dts: qcom: sm6115: Add rpm-stats node Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 11:17 ` Konrad Dybcio 2022-11-30 11:17 ` Konrad Dybcio 2022-11-29 20:46 ` [PATCH 07/12] arm64: dts: qcom: sm6115: Add dispcc node Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 11:18 ` Konrad Dybcio 2022-11-30 11:18 ` Konrad Dybcio 2022-11-29 20:46 ` [PATCH 08/12] arm64: dts: qcom: sm6115: Add mdss/dpu node Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 11:18 ` Konrad Dybcio 2022-11-30 11:18 ` Konrad Dybcio 2022-11-29 20:46 ` [PATCH 09/12] arm64: dts: qcom: sm6115: Add GPI DMA Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 11:19 ` Konrad Dybcio 2022-11-30 11:19 ` Konrad Dybcio 2022-11-29 20:46 ` [PATCH 10/12] arm64: dts: qcom: sm6115: Add i2c/spi nodes Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 15:10 ` Krzysztof Kozlowski 2022-11-30 15:10 ` Krzysztof Kozlowski 2022-11-29 20:46 ` [PATCH 11/12] arm64: dts: qcom: sm6115: Add WCN node Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-29 20:46 ` [PATCH 12/12] arm64: dts: qcom: sm6115: Fallback smmu to qcom generic compatible Adam Skladowski 2022-11-29 20:46 ` Adam Skladowski 2022-11-30 11:20 ` Konrad Dybcio 2022-11-30 11:20 ` Konrad Dybcio
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=20221129204616.47006-4-a39.skl@gmail.com \ --to=a39.skl@gmail.com \ --cc=agross@kernel.org \ --cc=airlied@gmail.com \ --cc=amitk@kernel.org \ --cc=andersson@kernel.org \ --cc=daniel.lezcano@linaro.org \ --cc=daniel@ffwll.ch \ --cc=devicetree@vger.kernel.org \ --cc=dmitry.baryshkov@linaro.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=freedreno@lists.freedesktop.org \ --cc=konrad.dybcio@linaro.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=loic.poulain@linaro.org \ --cc=phone-devel@vger.kernel.org \ --cc=quic_abhinavk@quicinc.com \ --cc=rafael@kernel.org \ --cc=robdclark@gmail.com \ --cc=robh+dt@kernel.org \ --cc=rui.zhang@intel.com \ --cc=sean@poorly.run \ --cc=thara.gopinath@gmail.com \ --cc=~postmarketos/upstreaming@lists.sr.ht \ /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.