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

dt-bindings: clock: Convert TI-NSPIRE clocks to DT schema

Convert the TI-NSPIRE clock bindings 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/20250521210750.60759-1-robh@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
f139defc bb214886

+33 -24
+33
Documentation/devicetree/bindings/clock/lsi,nspire-cx-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/lsi,nspire-cx-clock.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI-NSPIRE Clocks 8 + 9 + maintainers: 10 + - Daniel Tang <dt.tangr@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - lsi,nspire-cx-ahb-divider 16 + - lsi,nspire-classic-ahb-divider 17 + - lsi,nspire-cx-clock 18 + - lsi,nspire-classic-clock 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + clocks: 24 + maxItems: 1 25 + 26 + '#clock-cells': 27 + const: 0 28 + 29 + additionalProperties: false 30 + 31 + required: 32 + - compatible 33 + - reg
-24
Documentation/devicetree/bindings/clock/nspire-clock.txt
··· 1 - TI-NSPIRE Clocks 2 - 3 - Required properties: 4 - - compatible: Valid compatible properties include: 5 - "lsi,nspire-cx-ahb-divider" for the AHB divider in the CX model 6 - "lsi,nspire-classic-ahb-divider" for the AHB divider in the older model 7 - "lsi,nspire-cx-clock" for the base clock in the CX model 8 - "lsi,nspire-classic-clock" for the base clock in the older model 9 - 10 - - reg: Physical base address of the controller and length of memory mapped 11 - region. 12 - 13 - Optional: 14 - - clocks: For the "nspire-*-ahb-divider" compatible clocks, this is the parent 15 - clock where it divides the rate from. 16 - 17 - Example: 18 - 19 - ahb_clk { 20 - #clock-cells = <0>; 21 - compatible = "lsi,nspire-cx-clock"; 22 - reg = <0x900B0000 0x4>; 23 - clocks = <&base_clk>; 24 - };