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

dt-bindings: clock: intel,stratix10: convert to dtschema

Convert the Intel Stratix 10 clock controller bindings to DT schema format.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Dinh Nguyen
ad7f9f3a abca30aa

+35 -20
-20
Documentation/devicetree/bindings/clock/intc_stratix10.txt
··· 1 - Device Tree Clock bindings for Intel's SoCFPGA Stratix10 platform 2 - 3 - This binding uses the common clock binding[1]. 4 - 5 - [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 6 - 7 - Required properties: 8 - - compatible : shall be 9 - "intel,stratix10-clkmgr" 10 - 11 - - reg : shall be the control register offset from CLOCK_MANAGER's base for the clock. 12 - 13 - - #clock-cells : from common clock binding, shall be set to 1. 14 - 15 - Example: 16 - clkmgr: clock-controller@ffd10000 { 17 - compatible = "intel,stratix10-clkmgr"; 18 - reg = <0xffd10000 0x1000>; 19 - #clock-cells = <1>; 20 - };
+35
Documentation/devicetree/bindings/clock/intel,stratix10.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/intel,stratix10.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Intel SoCFPGA Stratix10 platform clock controller binding 8 + 9 + maintainers: 10 + - Dinh Nguyen <dinguyen@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + const: intel,stratix10-clkmgr 15 + 16 + '#clock-cells': 17 + const: 1 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + required: 23 + - compatible 24 + - reg 25 + - '#clock-cells' 26 + 27 + additionalProperties: false 28 + 29 + examples: 30 + - | 31 + clock-controller@ffd10000 { 32 + compatible = "intel,stratix10-clkmgr"; 33 + reg = <0xffd10000 0x1000>; 34 + #clock-cells = <1>; 35 + };