[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3268b95b-dc1d-4711-a81b-42f39ca40f9c@linaro.org>
Date: Thu, 21 Dec 2023 13:11:40 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Michal Simek <michal.simek@....com>, linux-kernel@...r.kernel.org,
monstr@...str.eu, michal.simek@...inx.com, git@...inx.com
Cc: Conor Dooley <conor+dt@...nel.org>, Guenter Roeck <linux@...ck-us.net>,
Jean Delvare <jdelvare@...e.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
linux-hwmon@...r.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: hwmon: ina2xx: Add label property
On 21/12/2023 12:24, Michal Simek wrote:
>
>
> On 12/21/23 10:06, Krzysztof Kozlowski wrote:
>> On 20/12/2023 14:12, Michal Simek wrote:
>>> Add a label property to allow a custom name to be used for identifying
>>> a device on the board. This is useful when multiple devices are present on
>>> the same board. Similar change was done by commit ffae65fb1ae4
>>> ("dt-bindings: spi: spi-cadence: Add label property").
>>>
>>> Signed-off-by: Michal Simek <michal.simek@....com>
>>> ---
>>>
>>> zcu102 is using this feature
>>
>> Is the driver or driver core parsing it?
>
> I see that functions to be in hwmon and iio cores.
>
> drivers/hwmon/hwmon.c:820: err = device_property_read_string(dev, "label",
> &label);
>
> drivers/iio/industrialio-core.c:1914: fwnode_property_read_string(fwnode,
> "label", &indio_dev->label);
I wonder why it is not in bindings/iio/common.yaml...
Best regards,
Krzysztof
Powered by blists - more mailing lists