Re: [PATCH 2/2] dt-bindings: qcom: qcom,ids: Remove unneeded ID constants
From: Krzysztof Kozlowski
Date: Wed Nov 25 2026 - 06:06:19 EST
On 25/11/2026 12:03, Konrad Dybcio wrote:
>>
>> True, not ABI in meaning something agreed between DTS and driver, but
>> the values are used by bootloader, DTS and the driver, so I would just
>> leave them as is. I rather care about not growing this for newer platforms.
>
> Right, but they are compared against a hardware readout of a
> well-defined value, not against made-up indices (i.e. these are
> not bindings). I really don't like this ending up with 2 files
> doing the same thing.
Not two files doing the same, but one for legacy and one for new.
OK, let's drop the bindings, but then what do you put into the drivers?
Hard-coded values duplicating another hard-coded values from DTS header?
Best regards,
Krzysztof