From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Abel Vesa <abel.vesa@linaro.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Herring <robh@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
"vkoul@kernel.org" <vkoul@kernel.org>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: Re: [PATCH 02/10] arm64: dts: qcom: Add base SM8550 dtsi
Date: Thu, 17 Nov 2022 13:50:38 +0100 [thread overview]
Message-ID: <4fec7b4e-432f-8aa9-3218-2df96d880dc1@linaro.org> (raw)
In-Reply-To: <20221116103146.2556846-3-abel.vesa@linaro.org>
On 16/11/2022 11:31, Abel Vesa wrote:
> Add base dtsi for SM8550 SoC and includes base description of
> CPUs, GCC, RPMHCC, UART, interrupt controller, TLMM, reserved
> memory, RPMh PD, TCSRCC, ITS, IPCC, AOSS QMP, LLCC, cpufreq,
> interconnect, thermal sensor, cpu cooling maps and SMMU nodes
> which helps boot to shell with console on boards with this SoC.
>
> Co-developed-by: Neil Armstrong <neil.armstrong@linaro.org>
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8550.dtsi | 3986 ++++++++++++++++++++++++++
> 1 file changed, 3986 insertions(+)
> create mode 100644 arch/arm64/boot/dts/qcom/sm8550.dtsi
>
Thank you for your patch. There is something to discuss/improve.
> +
> + pmu@240b6400 {
> + compatible = "qcom,sm8550-cpu-bwmon", "qcom,msm8998-bwmon";
> + reg = <0x0 0x240b6400 0x0 0x600>;
> + interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
> + interconnects = <&gem_noc MASTER_APPSS_PROC 3 &gem_noc SLAVE_LLCC 3>;
> +
> + operating-points-v2 = <&cpu_bwmon_opp_table>;
> +
> + cpu_bwmon_opp_table: opp-table {
> + compatible = "operating-points-v2";
> +
> + opp-0 {
> + opp-peak-kBps = <4577000>;
> + };
> + opp-1 {
> + opp-peak-kBps = <7110000>;
> + };
> + opp-2 {
> + opp-peak-kBps = <9155000>;
> + };
> + opp-3 {
> + opp-peak-kBps = <12298000>;
> + };
> + opp-4 {
> + opp-peak-kBps = <14236000>;
> + };
> + opp-5 {
> + opp-peak-kBps = <16265000>;
> + };
> + };
> + };
> +
> + pmu@24091000 {
Nodes should be ordered by the address. Mostly they are, but at least
BWMONs are not.
> + compatible = "qcom,sm8550-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
> + reg = <0x0 0x24091000 0x0 0x1000>;
> + interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
> + interconnects = <&mc_virt MASTER_LLCC 3 &mc_virt SLAVE_EBI1 3>;
> +
> + operating-points-v2 = <&llcc_bwmon_opp_table>;
> +
> + llcc_bwmon_opp_table: opp-table {
> + compatible = "operating-points-v2";
> +
> + opp-0 {
> + opp-peak-kBps = <2086000>;
> +
Drop empty lines here and in places below.
> + };
> + opp-1 {
> + opp-peak-kBps = <2929000>;
> +
> + };
> + opp-2 {
> + opp-peak-kBps = <5931000>;
> +
> + };
> + opp-3 {
> + opp-peak-kBps = <6515000>;
> +
> + };
> + opp-4 {
> + opp-peak-kBps = <7980000>;
> +
> + };
> + opp-5 {
> + opp-peak-kBps = <10437000>;
> +
> + };
> + opp-6 {
> + opp-peak-kBps = <12157000>;
> +
> + };
> + opp-7 {
> + opp-peak-kBps = <14060000>;
> +
> + };
> + opp-8 {
> + opp-peak-kBps = <16113000>;
> +
> + };
> + };
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-11-17 12:50 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 10:31 [PATCH 00/10] Add base device tree files for SM8550 Abel Vesa
2022-11-16 10:31 ` [PATCH 01/10] dt-bindings: arm: qcom: Document SM8550 SoC and boards Abel Vesa
2022-11-16 13:10 ` Krzysztof Kozlowski
2022-11-16 10:31 ` [PATCH 02/10] arm64: dts: qcom: Add base SM8550 dtsi Abel Vesa
2022-11-16 11:02 ` Konrad Dybcio
2022-11-16 11:28 ` Konrad Dybcio
2022-11-17 12:50 ` Krzysztof Kozlowski [this message]
2022-11-16 10:31 ` [PATCH 03/10] arm64: dts: qcom: Add pm8010 pmic dtsi Abel Vesa
2022-11-16 11:06 ` Konrad Dybcio
2022-11-17 12:51 ` Krzysztof Kozlowski
2022-11-18 14:58 ` Neil Armstrong
2022-11-18 14:59 ` Krzysztof Kozlowski
2022-11-21 13:29 ` neil.armstrong
2022-11-21 13:50 ` Krzysztof Kozlowski
2022-11-16 10:31 ` [PATCH 04/10] arm64: dts: qcom: Add PM8550 " Abel Vesa
2022-11-16 11:07 ` Konrad Dybcio
2022-11-16 10:31 ` [PATCH 05/10] arm64: dts: qcom: Add PM8550b " Abel Vesa
2022-11-16 11:07 ` Konrad Dybcio
2022-11-16 10:31 ` [PATCH 06/10] arm64: dts: qcom: Add PM8550ve " Abel Vesa
2022-11-16 11:07 ` Konrad Dybcio
2022-11-16 10:31 ` [PATCH 07/10] arm64: dts: qcom: Add PM8550vs " Abel Vesa
2022-11-16 11:08 ` Konrad Dybcio
2022-11-16 10:31 ` [PATCH 08/10] arm64: dts: qcom: Add PMK8550 " Abel Vesa
2022-11-16 11:09 ` Konrad Dybcio
2022-11-16 10:31 ` [PATCH 09/10] arm64: dts: qcom: Add PMR735d " Abel Vesa
2022-11-16 11:09 ` Konrad Dybcio
2022-11-16 10:31 ` [PATCH 10/10] arm64: dts: qcom: Add base SM8550 MTP dts Abel Vesa
2022-11-16 11:14 ` Konrad Dybcio
2022-11-17 12:53 ` Krzysztof Kozlowski
2022-11-18 11:08 ` kernel test robot
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=4fec7b4e-432f-8aa9-3218-2df96d880dc1@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=abel.vesa@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=vkoul@kernel.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®