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

dt-bindings: clock: Convert qca,ath79-pll to DT schema

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

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
3849ceec 71b80a33

+70 -33
-33
Documentation/devicetree/bindings/clock/qca,ath79-pll.txt
··· 1 - Binding for Qualcomm Atheros AR7xxx/AR9XXX PLL controller 2 - 3 - The PPL controller provides the 3 main clocks of the SoC: CPU, DDR and AHB. 4 - 5 - Required Properties: 6 - - compatible: has to be "qca,<soctype>-pll" and one of the following 7 - fallbacks: 8 - - "qca,ar7100-pll" 9 - - "qca,ar7240-pll" 10 - - "qca,ar9130-pll" 11 - - "qca,ar9330-pll" 12 - - "qca,ar9340-pll" 13 - - "qca,qca9550-pll" 14 - - reg: Base address and size of the controllers memory area 15 - - clock-names: Name of the input clock, has to be "ref" 16 - - clocks: phandle of the external reference clock 17 - - #clock-cells: has to be one 18 - 19 - Optional properties: 20 - - clock-output-names: should be "cpu", "ddr", "ahb" 21 - 22 - Example: 23 - 24 - pll-controller@18050000 { 25 - compatible = "qca,ar9132-pll", "qca,ar9130-pll"; 26 - reg = <0x18050000 0x20>; 27 - 28 - clock-names = "ref"; 29 - clocks = <&extosc>; 30 - 31 - #clock-cells = <1>; 32 - clock-output-names = "cpu", "ddr", "ahb"; 33 - };
+70
Documentation/devicetree/bindings/clock/qca,ath79-pll.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/qca,ath79-pll.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Atheros ATH79 PLL controller 8 + 9 + maintainers: 10 + - Alban Bedel <albeu@free.fr> 11 + - Antony Pavlov <antonynpavlov@gmail.com> 12 + 13 + description: > 14 + The PLL controller provides the 3 main clocks of the SoC: CPU, DDR and AHB. 15 + 16 + properties: 17 + compatible: 18 + oneOf: 19 + - items: 20 + - const: qca,ar9132-pll 21 + - const: qca,ar9130-pll 22 + - items: 23 + - enum: 24 + - qca,ar7100-pll 25 + - qca,ar7240-pll 26 + - qca,ar9130-pll 27 + - qca,ar9330-pll 28 + - qca,ar9340-pll 29 + - qca,qca9530-pll 30 + - qca,qca9550-pll 31 + - qca,qca9560-pll 32 + 33 + reg: 34 + maxItems: 1 35 + 36 + clock-names: 37 + items: 38 + - const: ref 39 + 40 + clocks: 41 + maxItems: 1 42 + 43 + '#clock-cells': 44 + const: 1 45 + 46 + clock-output-names: 47 + items: 48 + - const: cpu 49 + - const: ddr 50 + - const: ahb 51 + 52 + required: 53 + - compatible 54 + - reg 55 + - clock-names 56 + - clocks 57 + - '#clock-cells' 58 + 59 + additionalProperties: false 60 + 61 + examples: 62 + - | 63 + clock-controller@18050000 { 64 + compatible = "qca,ar9132-pll", "qca,ar9130-pll"; 65 + reg = <0x18050000 0x20>; 66 + clock-names = "ref"; 67 + clocks = <&extosc>; 68 + #clock-cells = <1>; 69 + clock-output-names = "cpu", "ddr", "ahb"; 70 + };