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

dt-bindings: mips: Add Loongson-2K1000 reset support

Switch the DT binding to a YAML schema to enable the DT validation.

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Qing Zhang and committed by
Thomas Bogendoerfer
75d4a175 a8f4fcdd

+38
+38
Documentation/devicetree/bindings/mips/loongson/ls2k-reset.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: "http://devicetree.org/schemas/mips/loongson/ls2k-reset.yaml#" 5 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 + 7 + title: Loongson 2K1000 PM Controller 8 + 9 + maintainers: 10 + - Qing Zhang <zhangqing@loongson.cn> 11 + 12 + description: | 13 + This controller can be found in Loongson-2K1000 Soc systems. 14 + 15 + properties: 16 + compatible: 17 + const: loongson,ls2k-pm 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + required: 23 + - compatible 24 + - reg 25 + 26 + additionalProperties: false 27 + 28 + examples: 29 + - | 30 + bus { 31 + #address-cells = <2>; 32 + #size-cells = <2>; 33 + pm: reset-controller@1fe07000 { 34 + compatible = "loongson,ls2k-pm"; 35 + reg = <0 0x1fe07000 0 0x422>; 36 + }; 37 + }; 38 + ...