public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Michal Simek <michal.simek@amd.com>,
	"Rob Herring (Arm)" <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: xilinx: Drop "label" property on dlg,slg7xl45106
Date: Wed, 17 Dec 2025 13:44:02 +0100	[thread overview]
Message-ID: <0400eb44-4200-452e-9d1f-d1851f661cb8@kernel.org> (raw)
In-Reply-To: <8c50d838-2f41-4539-bc96-ccdc521c8014@kernel.org>

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

  reply	other threads:[~2025-12-17 12:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-16 17:59 [PATCH] arm64: dts: xilinx: Drop "label" property on dlg,slg7xl45106 Rob Herring (Arm)
2025-12-17 12:38 ` Michal Simek
2025-12-17 12:42   ` Krzysztof Kozlowski
2025-12-17 12:44     ` Krzysztof Kozlowski [this message]
2025-12-17 20:41   ` Rob Herring
2025-12-18 14:15     ` Michal Simek
2025-12-19 14:48       ` Rob Herring
2026-01-06 11:33 ` Michal Simek

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=0400eb44-4200-452e-9d1f-d1851f661cb8@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@amd.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