[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tlkv63ccpnti367am47ymhaw3agjnyuonqstgtfaazhhptvgsp@q4wzuzdph323>
Date: Wed, 13 Aug 2025 21:42:26 -0500
From: Bjorn Andersson <andersson@...nel.org>
To: Harrison Vanderbyl <harrison.vanderbyl@...il.com>
Cc: marcus@...gul.ch, kirill@...ins.ky, vkoul@...nel.org,
kishon@...nel.org, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
mani@...nel.org, alim.akhtar@...sung.com, avri.altman@....com, bvanassche@....org,
agross@...nel.org, linux-arm-msm@...r.kernel.org, linux-phy@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH 3/3] dts: describe x1e80100 ufs
On Thu, Aug 14, 2025 at 10:59:04AM +1000, Harrison Vanderbyl wrote:
Welcome to LKML, Harrison. Some small things to improve.
Please extend the subject prefix to match other changes in the files of
each patch, e.g. this one would be "arm64: dts: qcom: x1e80100: ".
"git log --oneline -- file" is your friend here.
> Describe device tree entry for x1e80100 ufs device
A blank line here please.
> Signed-off-by: Harrison Vanderbyl <harrison.vanderbyl@...il.com>
> ---
> arch/arm64/boot/dts/qcom/x1e80100.dtsi | 91 ++++++++++++++++++++++++++
> 1 file changed, 91 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
> index a9a7bb676c6f..effa776e3dd0 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
> +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
> @@ -2819,6 +2819,97 @@ tsens3: thermal-sensor@...4000 {
> #thermal-sensor-cells = <1>;
> };
>
> +
Watch out for unnecessary white spaces, we want to keep things neat and
tidy.
> + ufs_mem_hc: ufs@...4000 {
Please place nodes sorted based on address, then name, then label (i.e.
in this case, only address).
> + compatible = "qcom,x1e80100-ufshc",
> + "qcom,ufshc", "jedec,ufs-2.0";
This line break is a bit weird, please indent it.
Regards,
Bjorn
> + reg = <0 0x01d84000 0 0x3000>;
> +
> +
> + interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
> +
> + phys = <&ufs_mem_phy>;
> + phy-names = "ufsphy";
> +
> + lanes-per-direction = <2>;
> +
> + #reset-cells = <1>;
> + resets = <&gcc GCC_UFS_PHY_BCR>;
> +
> + reset-gpios = <&tlmm 238 GPIO_ACTIVE_LOW>;
> + reset-names = "rst";
> +
> + power-domains = <&gcc GCC_UFS_PHY_GDSC>;
> +
> + iommus = <&apps_smmu 0x1a0 0x0>;
> +
> + clock-names = "core_clk",
> + "bus_aggr_clk",
> + "iface_clk",
> + "core_clk_unipro",
> + "ref_clk",
> + "tx_lane0_sync_clk",
> + "rx_lane0_sync_clk",
> + "rx_lane1_sync_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_RX_SYMBOL_1_CLK>;
> +
> + freq-table-hz = <100000000 403000000>,
> + <0 0>,
> + <0 0>,
> + <100000000 403000000>,
> + <100000000 403000000>,
> + <0 0>,
> + <0 0>,
> + <0 0>;
> +
> + interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS
> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
> + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
> + &config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ALWAYS>;
> + interconnect-names = "ufs-ddr", "cpu-ufs";
> +
> + qcom,ice = <&ice>;
> +
> + status = "disabled";
> + };
> +
> + ufs_mem_phy: phy@...0000 {
> + compatible = "qcom,x1e80100-qmp-ufs-phy";
> + reg = <0 0x01d80000 0 0x2000>;
> +
> + clocks = <&rpmhcc RPMH_CXO_CLK>,
> + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
> +
> + clock-names = "ref",
> + "ref_aux",
> + "qref";
> +
> + power-domains = <&gcc GCC_UFS_PHY_GDSC>;
> +
> + resets = <&ufs_mem_hc 0>;
> + reset-names = "ufsphy";
> +
> + #phy-cells = <0>;
> +
> + status = "disabled";
> + };
> +
> + ice: crypto@...0000 {
> + compatible = "qcom,x1e80100-inline-crypto-engine",
> + "qcom,inline-crypto-engine";
> + reg = <0 0x1d88000 0 0x8000>;
> +
> + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
> + };
> +
> usb_1_ss0_hsphy: phy@...000 {
> compatible = "qcom,x1e80100-snps-eusb2-phy",
> "qcom,sm8550-snps-eusb2-phy";
> --
> 2.48.1
>
Powered by blists - more mailing lists