mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

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 <linux@roeck-us.net> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240224-dt-bindings-hwmon-common-v2-1-b446eecf5480@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
20 lines
474 B
YAML
20 lines
474 B
YAML
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/hwmon/hwmon-common.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Hardware Monitoring Devices Common Properties
|
|
|
|
maintainers:
|
|
- Guenter Roeck <linux@roeck-us.net>
|
|
|
|
properties:
|
|
label:
|
|
description: A descriptive name for this device.
|
|
|
|
shunt-resistor-micro-ohms:
|
|
description: The value of current sense resistor.
|
|
|
|
additionalProperties: true
|