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

dt-bindings: clock: nxp,lpc3220-usb-clk: Convert bindings to dtschema

Convert the NXP LPC32xx USB Clock Controller bindings to yaml format.

Cc: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
Link: https://lore.kernel.org/r/20240730141338.46234-1-animeshagarwal28@gmail.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Animesh Agarwal and committed by
Stephen Boyd
8585ffef b33037a0

+35 -22
-22
Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
··· 1 - NXP LPC32xx USB Clock Controller 2 - 3 - Required properties: 4 - - compatible: should be "nxp,lpc3220-usb-clk" 5 - - reg: should contain clock controller registers location and length 6 - - #clock-cells: must be 1, the cell holds id of a clock provided by the 7 - USB clock controller 8 - 9 - Examples: 10 - 11 - usb { 12 - #address-cells = <1>; 13 - #size-cells = <1>; 14 - compatible = "simple-bus"; 15 - ranges = <0x0 0x31020000 0x00001000>; 16 - 17 - usbclk: clock-controller@f00 { 18 - compatible = "nxp,lpc3220-usb-clk"; 19 - reg = <0xf00 0x100>; 20 - #clock-cells = <1>; 21 - }; 22 - };
+35
Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.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/nxp,lpc3220-usb-clk.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NXP LPC32xx USB Clock Controller 8 + 9 + maintainers: 10 + - Animesh Agarwal <animeshagarwal28@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + const: nxp,lpc3220-usb-clk 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + '#clock-cells': 20 + const: 1 21 + 22 + required: 23 + - compatible 24 + - reg 25 + - '#clock-cells' 26 + 27 + additionalProperties: false 28 + 29 + examples: 30 + - | 31 + clock-controller@f00 { 32 + compatible = "nxp,lpc3220-usb-clk"; 33 + reg = <0xf00 0x100>; 34 + #clock-cells = <1>; 35 + };