2024-02-26 12:43:08

by Marco Felsch

[permalink] [raw]
Subject: [PATCH v2] dt-bindings: iio: ti,tmp117: add optional label property

Add the support to provide an optional label like we do for ADC
channels to identify the device more easily.

Signed-off-by: Marco Felsch <[email protected]>
---
Hi,

patchset [1] should be applied first to avoid merge conflicts.
[1] https://lore.kernel.org/all/[email protected]/#t

Regards,
Marco

.../devicetree/bindings/iio/temperature/ti,tmp117.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
index 33f2e9c5bd81..58aa1542776b 100644
--- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
+++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
@@ -27,6 +27,9 @@ properties:
vcc-supply:
description: provide VCC power to the sensor.

+ label:
+ description: Unique name to identify which device this is.
+
required:
- compatible
- reg
--
2.39.2