[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a759f9fb-8e91-42ed-8709-b45281b8e964@kernel.org>
Date: Thu, 24 Jul 2025 09:49:43 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Ram Kumar Dwivedi <quic_rdwivedi@...cinc.com>, mani@...nel.org,
alim.akhtar@...sung.com, avri.altman@....com, bvanassche@....org,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
andersson@...nel.org, konradybcio@...nel.org,
James.Bottomley@...senPartnership.com, martin.petersen@...cle.com,
agross@...nel.org
Cc: linux-arm-msm@...r.kernel.org, linux-scsi@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] ufs: ufs-qcom: Add support for DT-based gear and rate
limiting
On 22/07/2025 18:11, Ram Kumar Dwivedi wrote:
> +static void ufs_qcom_parse_limits(struct ufs_qcom_host *host)
> +{
> + struct ufs_host_params *host_params = &host->host_params;
> + struct device_node *np = host->hba->dev->of_node;
> + u32 hs_gear, hs_rate = 0;
> +
> + if (!np)
> + return;
> +
> + if (!of_property_read_u32(np, "limit-hs-gear", &hs_gear)) {
You cannot use ABI before you document it. Read submitting patches in DT.
Best regards,
Krzysztof
Powered by blists - more mailing lists