mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
dt-bindings: hwmon: convert lantiq-cputemp to yaml
Convert the Lantiq cpu temperature sensor bindings to yaml format. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250814080708.3054732-1-olek2@wp.pl Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
a6461d2039
commit
fd1a9a68e6
2 changed files with 30 additions and 10 deletions
30
Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
Normal file
30
Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/hwmon/lantiq,cputemp.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Lantiq cpu temperature sensor
|
||||
|
||||
maintainers:
|
||||
- Florian Eckert <fe@dev.tdt.de>
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
const: lantiq,cputemp
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
cputemp@103040 {
|
||||
compatible = "lantiq,cputemp";
|
||||
reg = <0x103040 0x4>;
|
||||
};
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Lantiq cpu temperature sensor
|
||||
|
||||
Requires node properties:
|
||||
- compatible value :
|
||||
"lantiq,cputemp"
|
||||
|
||||
Example:
|
||||
cputemp@0 {
|
||||
compatible = "lantiq,cputemp";
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue