mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 04:46:30 -04:00
dt-bindings: hwmon: chipcap2: Add label property
Add support for an optional label property similar to other hwmon devices. This allows, in case of boards with multiple CHIPCAP2 sensors, to assign distinct names to each instance. Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260625160423.17882-1-flaviu.nistor@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
committed by
Guenter Roeck
parent
bee42c6311
commit
aa28a6c3a2
@@ -45,6 +45,8 @@ properties:
|
||||
- const: low
|
||||
- const: high
|
||||
|
||||
label: true
|
||||
|
||||
vdd-supply:
|
||||
description:
|
||||
Dedicated, controllable supply-regulator to reset the device and
|
||||
@@ -55,6 +57,9 @@ required:
|
||||
- reg
|
||||
- vdd-supply
|
||||
|
||||
allOf:
|
||||
- $ref: hwmon-common.yaml#
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
@@ -72,6 +77,7 @@ examples:
|
||||
<5 IRQ_TYPE_EDGE_RISING>,
|
||||
<6 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupt-names = "ready", "low", "high";
|
||||
label = "Room";
|
||||
vdd-supply = <®_vdd>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user