From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: David Wronek <davidwronek@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Avri Altman <avri.altman@wdc.com>,
Bart Van Assche <bvanassche@acm.org>,
Joe Mason <buddyjojo06@outlook.com>
Cc: cros-qcom-dts-watchers@chromium.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org,
linux-scsi@vger.kernel.org, hexdump0815@googlemail.com,
~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org
Subject: Re: [PATCH 5/7] arm64: dts: qcom: sc7180: Add UFS nodes
Date: Mon, 9 Oct 2023 23:12:34 +0200 [thread overview]
Message-ID: <c69dc6e0-30a8-460c-a718-99874b543534@linaro.org> (raw)
In-Reply-To: <20231007140053.1731245-6-davidwronek@gmail.com>
On 10/7/23 15:58, David Wronek wrote:
> Add the UFS and QMP PHY nodes for the Qualcomm SC7180 SoC.
>
> Signed-off-by: David Wronek <davidwronek@gmail.com>
> ---
> arch/arm64/boot/dts/qcom/sc7180.dtsi | 70 ++++++++++++++++++++++++++++
> 1 file changed, 70 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> index 11f353d416b4..9f18be4fd61a 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> @@ -1532,6 +1532,76 @@ mmss_noc: interconnect@1740000 {
> qcom,bcm-voters = <&apps_bcm_voter>;
> };
>
> + ufs_mem_hc: ufshc@1d84000 {
> + compatible = "qcom,sc7180-ufshc", "qcom,ufshc",
> + "jedec,ufs-2.0";
> + reg = <0 0x01d84000 0 0x3000>,
> + <0 0x01d90000 0 0x8000>;
> + reg-names = "std", "ice";
Recently the ICE was separated into its own node
> + interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
> + phys = <&ufs_mem_phy>;
> + phy-names = "ufsphy";
> + lanes-per-direction = <1>;
> + power-domains = <&gcc UFS_PHY_GDSC>;
> + #reset-cells = <1>;
> + resets = <&gcc GCC_UFS_PHY_BCR>;
> + reset-names = "rst";
> +
> + iommus = <&apps_smmu 0xa0 0x0>;
> +
> + clock-names =
> + "core_clk",
Remove the newline after the =, here and below
> + "bus_aggr_clk",
> + "iface_clk",
> + "core_clk_unipro",
> + "ref_clk",
> + "tx_lane0_sync_clk",
> + "rx_lane0_sync_clk",
> + "ice_core_clk";
> + clocks =
> + <&gcc GCC_UFS_PHY_AXI_CLK>,
> + <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
> + <&gcc GCC_UFS_PHY_AHB_CLK>,
> + <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
> + <&rpmhcc RPMH_CXO_CLK>,
> + <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
> + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
> + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
> + freq-table-hz =
> + <50000000 200000000>,
> + <0 0>,
> + <0 0>,
> + <37500000 150000000>,
> + <0 0>,
> + <0 0>,
> + <0 0>,
> + <0 300000000>;
> +
> + interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>,
> + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
Please make the <s align and use QCOM_ICC_TAG_ALWAYS from
include/dt-bindings/interconnect/qcom,icc.h like in sa8775p.dtsi
> + interconnect-names = "ufs-ddr", "cpu-ufs";
> +
> + status = "disabled";
> + };
> +
> + ufs_mem_phy: phy@1d87000 {
> + compatible = "qcom,sc7180-qmp-ufs-phy";
> + reg = <0 0x01d87000 0 0x1000>;
> +
> + clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
> + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
Please align the <s
Konrad
next prev parent reply other threads:[~2023-10-09 21:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-07 13:58 [PATCH 0/7] Add UFS support for SC7180/SM7125 David Wronek
2023-10-07 13:58 ` [PATCH 1/7] dt-bindings: ufs: qcom: Add SC7180 compatible string David Wronek
2023-10-09 8:44 ` Krzysztof Kozlowski
2023-10-07 13:58 ` [PATCH 2/7] dt-bindings: phy: Add QMP UFS PHY compatible for SC7180 David Wronek
2023-10-09 8:44 ` Krzysztof Kozlowski
2023-10-07 13:58 ` [PATCH 3/7] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 9S David Wronek
2023-10-09 8:45 ` Krzysztof Kozlowski
2023-10-07 13:58 ` [PATCH 4/7] phy: qcom: qmp-ufs: Add SC7180 support David Wronek
2023-10-07 13:58 ` [PATCH 5/7] arm64: dts: qcom: sc7180: Add UFS nodes David Wronek
2023-10-09 21:12 ` Konrad Dybcio [this message]
2023-10-07 13:58 ` [PATCH 6/7] arm64: dts: qcom: sm7125-xiaomi-common: " David Wronek
2023-10-09 21:15 ` Konrad Dybcio
2023-10-07 13:58 ` [PATCH 7/7] arm64: dts: qcom: Add support for Xiaomi Redmi Note 9S David Wronek
2023-10-09 21:16 ` 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=c69dc6e0-30a8-460c-a718-99874b543534@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=alim.akhtar@samsung.com \
--cc=andersson@kernel.org \
--cc=avri.altman@wdc.com \
--cc=buddyjojo06@outlook.com \
--cc=bvanassche@acm.org \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=davidwronek@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=hexdump0815@googlemail.com \
--cc=kishon@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mani@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=vkoul@kernel.org \
--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: 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;
as well as URLs for NNTP newsgroup(s).