Skip to content

Commit ae910bf

Browse files
krzkbebarino
authored andcommitted
dt-bindings: clock: samsung: convert Exynos5250 to dtschema
Convert Samsung Exynos5250 clock controller bindings to DT schema format using json-schema. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Sam Protsenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 6880d94 commit ae910bf

File tree

3 files changed

+47
-41
lines changed

3 files changed

+47
-41
lines changed

Documentation/devicetree/bindings/clock/exynos5250-clock.txt

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Samsung Exynos SoC clock controller
8+
9+
maintainers:
10+
- Chanwoo Choi <[email protected]>
11+
- Krzysztof Kozlowski <[email protected]>
12+
- Sylwester Nawrocki <[email protected]>
13+
- Tomasz Figa <[email protected]>
14+
15+
description: |
16+
All available clocks are defined as preprocessor macros in
17+
dt-bindings/clock/ headers.
18+
19+
properties:
20+
compatible:
21+
const: samsung,exynos5250-clock
22+
23+
clocks:
24+
maxItems: 4
25+
26+
"#clock-cells":
27+
const: 1
28+
29+
reg:
30+
maxItems: 1
31+
32+
required:
33+
- compatible
34+
- "#clock-cells"
35+
- reg
36+
37+
additionalProperties: false
38+
39+
examples:
40+
- |
41+
#include <dt-bindings/clock/exynos5250.h>
42+
clock: clock-controller@10010000 {
43+
compatible = "samsung,exynos5250-clock";
44+
reg = <0x10010000 0x30000>;
45+
#clock-cells = <1>;
46+
};

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16394,6 +16394,7 @@ L: [email protected]
1639416394
S: Supported
1639516395
T: git git://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk.git
1639616396
F: Documentation/devicetree/bindings/clock/exynos*.txt
16397+
F: Documentation/devicetree/bindings/clock/samsung,*.yaml
1639716398
F: Documentation/devicetree/bindings/clock/samsung,s3c*
1639816399
F: Documentation/devicetree/bindings/clock/samsung,s5p*
1639916400
F: drivers/clk/samsung/

0 commit comments

Comments
 (0)