[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8c50d838-2f41-4539-bc96-ccdc521c8014@kernel.org>
Date: Wed, 17 Dec 2025 13:42:28 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Michal Simek <michal.simek@....com>, "Rob Herring (Arm)"
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: xilinx: Drop "label" property on
dlg,slg7xl45106
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.
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
Powered by blists - more mailing lists