Re: [PATCH 1/3] ufs: ufs-qcom: Add support for DT-based gear and rate limiting

Krzysztof Kozlowski
2025-07-24T07:49:49Z

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