From: Krzysztof Kozlowski <krzk@kernel.org>
To: Nitin Rawat <quic_nitirawa@quicinc.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Avri Altman <avri.altman@wdc.com>,
Bart Van Assche <bvanassche@acm.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Andy Gross <agross@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
Subject: Re: [PATCH 0/2] dt-bindings: ufs: qcom: Split SC7280 and similar into separate file
Date: Wed, 30 Jul 2025 16:25:06 +0200 [thread overview]
Message-ID: <6ebe7084-bb00-4fac-b64d-e08e188f3005@kernel.org> (raw)
In-Reply-To: <df8b3c85-d572-4cee-863b-35fe6a5ed9ff@quicinc.com>
On 30/07/2025 15:53, Nitin Rawat wrote:
>
>
> On 7/30/2025 6:05 PM, Krzysztof Kozlowski wrote:
>> The binding for Qualcomm SoC UFS controllers grew and it will grow
>> further. It already includes several conditionals, partially for
>> difference in handling encryption block (ICE, either as phandle or as IO
>> address space) but it will further grow for MCQ.
>>
>> See also: lore.kernel.org/r/20250730082229.23475-1-quic_rdwivedi@quicinc.com
>>
>> The question is whether SM8650 and SM8750 should have their own schemas,
>> but based on bindings above I think all devices here have MCQ?
>>
>> Best regards,
>> Krzysztof
>>
>
>
> Hi Krzysztof,
>
> If I understand correctly, you're splitting the YAML files based on MCQ
> (Multi-Circular Queue) support:
Not entirely, I don't know which devices support MCQ. I split based on
common parts in the binding.
>
> -qcom,sc7280-ufshc.yaml includes targets that support MCQ
> -qcom,ufs-common.yaml includes common properties
> -qcom,ufs.yaml includes targets that do not support MCQ
>
>
> In future, if a new property applies to both some MCQ and some
> non-MCQ targets, we would need to update both YAML files. In the current
No
> implementation, we handle such cases using if-else conditions to include
> the new property.
Hm?
>
> For reference, only SM8650 and SM8750 currently support MCQ, though more
> targets may be added later.
Are you sure? Are you claiming that SM8550 hardware does not support MCQ?
>
> Regarding the patch
> lore.kernel.org/r/20250730082229.23475-1-quic_rdwivedi@quicinc.com,
> instead of using two separate YAML files, we could use if-else
> conditions to differentiate the reg and reg-name properties between MCQ
> targets (SM8650 and SM8750) and non-MCQ targets (all others).
It's a mess already and you want to make it messy. I already responded
on that.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-07-30 14:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 12:35 Krzysztof Kozlowski
2025-07-30 12:35 ` [PATCH 1/2] dt-bindings: ufs: qcom: Split common part to qcom,ufs-common.yaml Krzysztof Kozlowski
2025-07-30 12:35 ` [PATCH 2/2] dt-bindings: ufs: qcom: Split SC7280 and similar Krzysztof Kozlowski
2025-07-30 13:53 ` [PATCH 0/2] dt-bindings: ufs: qcom: Split SC7280 and similar into separate file Nitin Rawat
2025-07-30 14:25 ` Krzysztof Kozlowski [this message]
2025-07-31 6:55 ` Krzysztof Kozlowski
2025-07-31 8:39 ` Ram Kumar Dwivedi
2025-07-31 6:59 ` Nitin Rawat
2025-07-31 7:04 ` Krzysztof Kozlowski
2025-07-31 14:09 ` Manivannan Sadhasivam
2025-07-31 14:53 ` Krzysztof Kozlowski
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=6ebe7084-bb00-4fac-b64d-e08e188f3005@kernel.org \
--to=krzk@kernel.org \
--cc=agross@kernel.org \
--cc=alim.akhtar@samsung.com \
--cc=andersson@kernel.org \
--cc=avri.altman@wdc.com \
--cc=bvanassche@acm.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mani@kernel.org \
--cc=quic_nitirawa@quicinc.com \
--cc=quic_rdwivedi@quicinc.com \
--cc=robh@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®