Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Aleksander Jan Bajkowski and committed by
Guenter Roeck
fd1a9a68 a6461d20

+30 -10
+30
Documentation/devicetree/bindings/hwmon/lantiq,cputemp.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/hwmon/lantiq,cputemp.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Lantiq cpu temperature sensor 8 + 9 + maintainers: 10 + - Florian Eckert <fe@dev.tdt.de> 11 + 12 + properties: 13 + compatible: 14 + const: lantiq,cputemp 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + required: 20 + - compatible 21 + - reg 22 + 23 + additionalProperties: false 24 + 25 + examples: 26 + - | 27 + cputemp@103040 { 28 + compatible = "lantiq,cputemp"; 29 + reg = <0x103040 0x4>; 30 + };
-10
Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
··· 1 - Lantiq cpu temperature sensor 2 - 3 - Requires node properties: 4 - - compatible value : 5 - "lantiq,cputemp" 6 - 7 - Example: 8 - cputemp@0 { 9 - compatible = "lantiq,cputemp"; 10 - };