Skip to content

Commit 1790cd3

Browse files
krzkbroonie
authored andcommitted
dt-bindings: clock: samsung,s2mps11: convert to dtschema
Convert the clock provider of Samsung S2MPS11 family of PMICs to DT schema format. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Acked-by: Stephen Boyd <[email protected]> Message-Id: <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent a7fda04 commit 1790cd3

File tree

3 files changed

+46
-50
lines changed

3 files changed

+46
-50
lines changed

Documentation/devicetree/bindings/clock/samsung,s2mps11.txt

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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,s2mps11.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Samsung S2M and S5M family clock generator block
8+
9+
maintainers:
10+
- Krzysztof Kozlowski <[email protected]>
11+
12+
description: |
13+
This is a part of device tree bindings for S2M and S5M family of Power
14+
Management IC (PMIC).
15+
16+
The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz
17+
outputs. The S2MPS14 provides two (AP/BT) buffered 32.768 KHz outputs.
18+
19+
All available clocks are defined as preprocessor macros in
20+
dt-bindings/clock/samsung,s2mps11.h header.
21+
22+
See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for
23+
additional information and example.
24+
25+
properties:
26+
compatible:
27+
enum:
28+
- samsung,s2mps11-clk
29+
- samsung,s2mps13-clk # S2MPS13 and S2MPS15
30+
- samsung,s2mps14-clk
31+
- samsung,s5m8767-clk
32+
33+
"#clock-cells":
34+
const: 1
35+
36+
clock-output-names:
37+
minItems: 3
38+
maxItems: 3
39+
description: Names for AP, CP and BT clocks.
40+
41+
required:
42+
- compatible
43+
- "#clock-cells"
44+
45+
additionalProperties: false

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16330,7 +16330,7 @@ M: Bartlomiej Zolnierkiewicz <[email protected]>
1633016330
1633116331
1633216332
S: Supported
16333-
F: Documentation/devicetree/bindings/clock/samsung,s2mps11.txt
16333+
F: Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml
1633416334
F: Documentation/devicetree/bindings/mfd/samsung,sec-core.txt
1633516335
F: Documentation/devicetree/bindings/regulator/samsung,s2m*.txt
1633616336
F: Documentation/devicetree/bindings/regulator/samsung,s5m*.txt

0 commit comments

Comments
 (0)