linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: core: Add optional symbolic label to device attributes
@ 2019-08-27  3:35 Phil Reid
  2019-08-27  3:35 ` [PATCH 1/2] dt-binding: iio: Add optional label property Phil Reid
  2019-08-27  3:35 ` [PATCH 2/2] iio: core: Add optional symbolic label to device attributes Phil Reid
  0 siblings, 2 replies; 12+ messages in thread
From: Phil Reid @ 2019-08-27  3:35 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw, robh+dt, mark.rutland, preid,
	linux-iio, devicetree, michal.simek

If a label is defined in the device tree for this device add that
to the device specific attributes. This is useful for userspace to
be able to identify an individual device when multiple identical
chips are present in the system.

Similar to leds, display labels etc.

Phil Reid (2):
  dt-binding: iio: Add optional label property
  iio: core: Add optional symbolic label to device attributes

 Documentation/devicetree/bindings/iio/iio-bindings.txt |  5 +++++
 drivers/iio/industrialio-core.c                        | 17 +++++++++++++++++
 include/linux/iio/iio.h                                |  1 +
 3 files changed, 23 insertions(+)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-09-09  7:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27  3:35 [PATCH 0/2] iio: core: Add optional symbolic label to device attributes Phil Reid
2019-08-27  3:35 ` [PATCH 1/2] dt-binding: iio: Add optional label property Phil Reid
2019-08-27  6:10   ` Michal Simek
2019-08-28  6:09   ` Michal Simek
2019-08-29 23:02     ` Rob Herring
2019-08-30  1:01       ` Phil Reid
2019-08-30 12:34         ` Rob Herring
2019-08-31 10:19           ` Phil Reid
2019-09-08 12:14             ` Jonathan Cameron
2019-08-27  3:35 ` [PATCH 2/2] iio: core: Add optional symbolic label to device attributes Phil Reid
2019-09-08 12:17   ` Jonathan Cameron
2019-09-09  7:45   ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).