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

dt-bindings: clock: Convert moxa,moxart-clock to DT schema

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250630232644.3700781-1-robh@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
f2cb67d7 ce2930ae

+39 -49
-48
Documentation/devicetree/bindings/clock/moxa,moxart-clock.txt
··· 1 - Device Tree Clock bindings for arch-moxart 2 - 3 - This binding uses the common clock binding[1]. 4 - 5 - [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 6 - 7 - MOXA ART SoCs allow to determine PLL output and APB frequencies 8 - by reading registers holding multiplier and divisor information. 9 - 10 - 11 - PLL: 12 - 13 - Required properties: 14 - - compatible : Must be "moxa,moxart-pll-clock" 15 - - #clock-cells : Should be 0 16 - - reg : Should contain registers location and length 17 - - clocks : Should contain phandle + clock-specifier for the parent clock 18 - 19 - Optional properties: 20 - - clock-output-names : Should contain clock name 21 - 22 - 23 - APB: 24 - 25 - Required properties: 26 - - compatible : Must be "moxa,moxart-apb-clock" 27 - - #clock-cells : Should be 0 28 - - reg : Should contain registers location and length 29 - - clocks : Should contain phandle + clock-specifier for the parent clock 30 - 31 - Optional properties: 32 - - clock-output-names : Should contain clock name 33 - 34 - 35 - For example: 36 - 37 - clk_pll: clk_pll@98100000 { 38 - compatible = "moxa,moxart-pll-clock"; 39 - #clock-cells = <0>; 40 - reg = <0x98100000 0x34>; 41 - }; 42 - 43 - clk_apb: clk_apb@98100000 { 44 - compatible = "moxa,moxart-apb-clock"; 45 - #clock-cells = <0>; 46 - reg = <0x98100000 0x34>; 47 - clocks = <&clk_pll>; 48 - };
+38
Documentation/devicetree/bindings/clock/moxa,moxart-clock.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/moxa,moxart-clock.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: MOXA ART Clock Controllers 8 + 9 + maintainers: 10 + - Krzysztof Kozlowski <krzk@kernel.org> 11 + 12 + description: 13 + MOXA ART SoCs allow to determine PLL output and APB frequencies by reading 14 + registers holding multiplier and divisor information. 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - moxa,moxart-apb-clock 20 + - moxa,moxart-pll-clock 21 + 22 + "#clock-cells": 23 + const: 0 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + clocks: 29 + maxItems: 1 30 + 31 + clock-output-names: true 32 + 33 + additionalProperties: false 34 + 35 + required: 36 + - compatible 37 + - "#clock-cells" 38 + - reg
+1 -1
MAINTAINERS
··· 2884 2884 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 2885 2885 S: Odd Fixes 2886 2886 F: Documentation/devicetree/bindings/arm/moxart.yaml 2887 - F: Documentation/devicetree/bindings/clock/moxa,moxart-clock.txt 2887 + F: Documentation/devicetree/bindings/clock/moxa,moxart-clock.yaml 2888 2888 F: arch/arm/boot/dts/moxa/ 2889 2889 F: drivers/clk/clk-moxart.c 2890 2890