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

dt-bindings: clock: Convert marvell,armada-370-corediv-clock to DT schema

Convert the Marvell Armada 3xx Core Divider clock binding to DT schema
format.

Add the missing "marvell,armada-390-corediv-clock" compatible and
"clock-output-names" property.

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

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
cc332891 ed4ce1d9

+52 -23
+52
Documentation/devicetree/bindings/clock/marvell,armada-370-corediv-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/marvell,armada-370-corediv-clock.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell MVEBU Core Divider Clock 8 + 9 + maintainers: 10 + - Andrew Lunn <andrew@lunn.ch> 11 + - Gregory Clement <gregory.clement@bootlin.com> 12 + 13 + properties: 14 + compatible: 15 + oneOf: 16 + - enum: 17 + - marvell,armada-370-corediv-clock 18 + - marvell,armada-375-corediv-clock 19 + - marvell,armada-380-corediv-clock 20 + - marvell,mv98dx3236-corediv-clock 21 + - items: 22 + - const: marvell,armada-390-corediv-clock 23 + - const: marvell,armada-380-corediv-clock 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + "#clock-cells": 29 + const: 1 30 + 31 + clocks: 32 + maxItems: 1 33 + 34 + clock-output-names: 35 + maxItems: 1 36 + 37 + required: 38 + - compatible 39 + - reg 40 + - "#clock-cells" 41 + - clocks 42 + 43 + additionalProperties: false 44 + 45 + examples: 46 + - | 47 + clock-controller@18740 { 48 + compatible = "marvell,armada-370-corediv-clock"; 49 + reg = <0x18740 0xc>; 50 + #clock-cells = <1>; 51 + clocks = <&pll>; 52 + };
-23
Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt
··· 1 - * Core Divider Clock bindings for Marvell MVEBU SoCs 2 - 3 - The following is a list of provided IDs and clock names on Armada 370/XP: 4 - 0 = nand (NAND clock) 5 - 6 - Required properties: 7 - - compatible : must be "marvell,armada-370-corediv-clock", 8 - "marvell,armada-375-corediv-clock", 9 - "marvell,armada-380-corediv-clock", 10 - "marvell,mv98dx3236-corediv-clock", 11 - 12 - - reg : must be the register address of Core Divider control register 13 - - #clock-cells : from common clock binding; shall be set to 1 14 - - clocks : must be set to the parent's phandle 15 - 16 - Example: 17 - 18 - corediv_clk: corediv-clocks@18740 { 19 - compatible = "marvell,armada-370-corediv-clock"; 20 - reg = <0x18740 0xc>; 21 - #clock-cells = <1>; 22 - clocks = <&pll>; 23 - };