Skip to content

Commit d590900

Browse files
krzkgroeck
authored andcommitted
dt-bindings: hwmon: add common properties
Add a common hwmon schema for two properties: 1. "label", because Linux hwmon core code parses it. 2. "shunt-resistor-micro-ohms", because several devices already use it. Acked-by: Guenter Roeck <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent cb72229 commit d590900

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/hwmon/hwmon-common.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Hardware Monitoring Devices Common Properties
8+
9+
maintainers:
10+
- Guenter Roeck <[email protected]>
11+
12+
properties:
13+
label:
14+
description: A descriptive name for this device.
15+
16+
shunt-resistor-micro-ohms:
17+
description: The value of current sense resistor.
18+
19+
additionalProperties: true

0 commit comments

Comments
 (0)