[PATCH] arm64: dts: xilinx: Drop "label" property on dlg,slg7xl45106

Krzysztof Kozlowski krzk at kernel.org
Wed Dec 17 04:44:02 PST 2025


On 17/12/2025 13:42, Krzysztof Kozlowski wrote:
> On 17/12/2025 13:38, Michal Simek wrote:
>>
>>
>> On 12/16/25 18:59, Rob Herring (Arm) wrote:
>>> The "label" property is not documented for the dlg,slg7xl45106. Nor is
>>> it common to use for GPIO controllers. So drop it.
>>>
>>
>> Correct it is not documented but it is at least used in Linux also by
>> drivers/gpio/gpio-mmio.c:810:	err = device_property_read_string(dev, "label", 
>> &label);
>>
>> which is also not documented in DT binding.
>>
>> I don't have a problem with it because I can't see it used anywhere.
>>
>> But there are other devices where label is the part of binding. And IMHO this 
>> should be more generic property.
> 
> No, please read the EXPLICIT comment:
> 
> "+	 * This property *must not* be used in device-tree sources, it's only"
> 
> It was added only for ACPI.

Uh, my bad, the comment is above "gpio-mmio,base", not "label", but I
have impression it was applicable to label as well. Maybe that's not the
case...

> 
> We have indeed the problem with documenting disallowed ABI for cases
> where drivers use fwnode/device_property(). So far I insisted on
> comments, but as we can see people can just ignore the comments and
> still use something explicitly disallowed.
> 
> Rob,
> 
> Would it be okay to add for such cases "label: false" in the binding to
> mark that this is not ABI for DT?
> 
> Best regards,
> Krzysztof


Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list