Re: [PATCH 1/2] dt-bindings: hwmon: ina2xx: Add label property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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@xxxxxxx>
---

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);

Thanks,
Michal




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux