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

dt-bindings: clock: Convert lsi,axm5516-clks to DT schema

Convert the Intel/LSI AXM5516 clock binding to DT schema format. It's
a straight forward conversion.

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

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
bb214886 46dba2e6

+43 -29
-29
Documentation/devicetree/bindings/clock/lsi,axm5516-clks.txt
··· 1 - AXM5516 clock driver bindings 2 - ----------------------------- 3 - 4 - Required properties : 5 - - compatible : shall contain "lsi,axm5516-clks" 6 - - reg : shall contain base register location and length 7 - - #clock-cells : shall contain 1 8 - 9 - The consumer specifies the desired clock by having the clock ID in its "clocks" 10 - phandle cell. See <dt-bindings/clock/lsi,axxia-clock.h> for the list of 11 - supported clock IDs. 12 - 13 - Example: 14 - 15 - clks: clock-controller@2010020000 { 16 - compatible = "lsi,axm5516-clks"; 17 - #clock-cells = <1>; 18 - reg = <0x20 0x10020000 0 0x20000>; 19 - }; 20 - 21 - serial0: uart@2010080000 { 22 - compatible = "arm,pl011", "arm,primecell"; 23 - reg = <0x20 0x10080000 0 0x1000>; 24 - interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; 25 - clocks = <&clks AXXIA_CLK_PER>; 26 - clock-names = "apb_pclk"; 27 - }; 28 - }; 29 -
+43
Documentation/devicetree/bindings/clock/lsi,axm5516-clks.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright 2025 LSI 3 + %YAML 1.2 4 + --- 5 + $id: http://devicetree.org/schemas/clock/lsi,axm5516-clks.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: LSI AXM5516 Clock Controller 9 + 10 + maintainers: 11 + - Anders Berg <anders.berg@lsi.com> 12 + 13 + description: 14 + See <dt-bindings/clock/lsi,axxia-clock.h> for the list of supported clock IDs. 15 + 16 + properties: 17 + compatible: 18 + const: lsi,axm5516-clks 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + '#clock-cells': 24 + const: 1 25 + 26 + required: 27 + - compatible 28 + - reg 29 + - '#clock-cells' 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + bus { 36 + #address-cells = <2>; 37 + #size-cells = <1>; 38 + clock-controller@2010020000 { 39 + compatible = "lsi,axm5516-clks"; 40 + #clock-cells = <1>; 41 + reg = <0x20 0x10020000 0x20000>; 42 + }; 43 + };