Skip to content

Commit 8585ffe

Browse files
AnimeshAgarwal28bebarino
authored andcommitted
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 <[email protected]> Signed-off-by: Animesh Agarwal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent b33037a commit 8585ffe

File tree

2 files changed

+35
-22
lines changed

2 files changed

+35
-22
lines changed

Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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 <[email protected]>
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+
};

0 commit comments

Comments
 (0)