Re: [PATCH v4 1/3] dt-bindings: mmc: sdhci-msm: Add ICE phandle
From: Krzysztof Kozlowski
Date: Mon Mar 02 2026 - 02:49:17 EST
On 02/03/2026 08:45, Neeraj Soni wrote:
>
>
> On 2/19/2026 1:57 PM, Krzysztof Kozlowski wrote:
>> On 19/02/2026 06:38, Neeraj Soni wrote:
>>>>>
>>>>> + - if:
>>>>> + required:
>>>>> + - qcom,ice
>>>>> + then:
>>>>> + properties:
>>>>> + reg-names:
>>>>> + not:
>>>>> + contains:
>>>>> + const: ice
>>>>
>>>> And reg is still 4? This is not correct syntax. You need to define
>>>> proper and final constraints per each device. I would write example, but
>>>> why... more things you could just ignore.
>>>>
>>> I had included changes for reg in v3:
>>> https://lore.kernel.org/all/20260206112053.3287756-2-neeraj.soni@xxxxxxxxxxxxxxxx/
>>>
>>> but those were not reviewed so i assume them to be incorrect and dropped it.
>>> Will fix this in next patch and post.
>>>
>> Patch v3 was also not correct, because SDHCI v5 devices should have 1 or
>> 2 entries, not 1-3 as previous patch said.
>>
> This is not clear to me. Here:
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml#n80
> it says the entries should be 1-4 and there are no v5 specific constraints.
There are, just scroll.
> So i made it 1-3 while adding qcom-ice constraint.
>
Best regards,
Krzysztof