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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: thermal: Convert marvell,armada370-thermal to DT schema

Convert the Marvell Armada 3xx/XP thermal binding to schema.

Drop the AP80x and CP110 as they have long been deprecated and have
been replaced by a new binding.

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20250822225645.766397-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+37 -42
-42
Documentation/devicetree/bindings/thermal/armada-thermal.txt
··· 1 - * Marvell Armada 370/375/380/XP thermal management 2 - 3 - Required properties: 4 - 5 - - compatible: Should be set to one of the following: 6 - * marvell,armada370-thermal 7 - * marvell,armada375-thermal 8 - * marvell,armada380-thermal 9 - * marvell,armadaxp-thermal 10 - * marvell,armada-ap806-thermal 11 - * marvell,armada-ap807-thermal 12 - * marvell,armada-cp110-thermal 13 - 14 - Note: these bindings are deprecated for AP806/CP110 and should instead 15 - follow the rules described in: 16 - Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt 17 - Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt 18 - 19 - - reg: Device's register space. 20 - Two entries are expected, see the examples below. The first one points 21 - to the status register (4B). The second one points to the control 22 - registers (8B). 23 - Note: The compatibles marvell,armada370-thermal, 24 - marvell,armada380-thermal, and marvell,armadaxp-thermal must point to 25 - "control MSB/control 1", with size of 4 (deprecated binding), or point 26 - to "control LSB/control 0" with size of 8 (current binding). All other 27 - compatibles must point to "control LSB/control 0" with size of 8. 28 - 29 - Examples: 30 - 31 - /* Legacy bindings */ 32 - thermal@d0018300 { 33 - compatible = "marvell,armada370-thermal"; 34 - reg = <0xd0018300 0x4 35 - 0xd0018304 0x4>; 36 - }; 37 - 38 - ap_thermal: thermal@6f8084 { 39 - compatible = "marvell,armada-ap806-thermal"; 40 - reg = <0x6f808C 0x4>, 41 - <0x6f8084 0x8>; 42 - };
+37
Documentation/devicetree/bindings/thermal/marvell,armada370-thermal.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/thermal/marvell,armada370-thermal.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell Armada 3xx/XP thermal management 8 + 9 + maintainers: 10 + - Miquel Raynal <miquel.raynal@bootlin.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - marvell,armada370-thermal 16 + - marvell,armada375-thermal 17 + - marvell,armada380-thermal 18 + - marvell,armadaxp-thermal 19 + 20 + reg: 21 + items: 22 + - description: status register (4B) 23 + - description: control register (8B) 24 + 25 + required: 26 + - compatible 27 + - reg 28 + 29 + additionalProperties: false 30 + 31 + examples: 32 + - | 33 + thermal@d0018300 { 34 + compatible = "marvell,armada370-thermal"; 35 + reg = <0xd0018300 0x4>, 36 + <0xd0018304 0x8>; 37 + };