Skip to content

Commit 2ad72b1

Browse files
superna9999jbrun3t
authored andcommitted
dt-bindings: clock: amlogic: convert amlogic,gxbb-clkc.txt to dt-schema
Convert the Amlogic Clock Controller bindings to dt-schema. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20230706-b4-amlogic-bindings-convert-take2-v3-1-f63de6f12dcc@linaro.org Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
1 parent 4638263 commit 2ad72b1

File tree

2 files changed

+37
-53
lines changed

2 files changed

+37
-53
lines changed

Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt

Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/amlogic,gxbb-clkc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Amlogic Clock Controller
8+
9+
maintainers:
10+
- Neil Armstrong <neil.armstrong@linaro.org>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- amlogic,gxbb-clkc
16+
- amlogic,gxl-clkc
17+
- amlogic,axg-clkc
18+
- amlogic,g12a-clkc
19+
- amlogic,g12b-clkc
20+
- amlogic,sm1-clkc
21+
22+
clocks:
23+
maxItems: 1
24+
25+
clock-names:
26+
const: xtal
27+
28+
'#clock-cells':
29+
const: 1
30+
31+
required:
32+
- compatible
33+
- clocks
34+
- clock-names
35+
- '#clock-cells'
36+
37+
additionalProperties: false

0 commit comments

Comments
 (0)