Skip to content

Commit 0c193c2

Browse files
ivoszbgbebarino
authored andcommitted
dt-bindings: clock: actions,owl-cmu: convert to YAML
Convert the Actions Semi Owl CMU bindings to DT schema. Changes during conversion: - Since all Actions Semi Owl SoCs utilize the internal low frequency oscillator as a parent for some clocks, require it. Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20241114072601.265011-1-ivo.ivanov.ivanov1@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 5fbe6f5 commit 0c193c2

File tree

3 files changed

+61
-53
lines changed

3 files changed

+61
-53
lines changed

Documentation/devicetree/bindings/clock/actions,owl-cmu.txt

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/actions,owl-cmu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Actions Semi Owl Clock Management Unit (CMU)
8+
9+
maintainers:
10+
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11+
12+
description: |
13+
The Actions Semi Owl Clock Management Unit generates and supplies clock
14+
to various controllers within the SoC.
15+
16+
See also:
17+
include/dt-bindings/clock/actions,s500-cmu.h
18+
include/dt-bindings/clock/actions,s700-cmu.h
19+
include/dt-bindings/clock/actions,s900-cmu.h
20+
21+
properties:
22+
compatible:
23+
enum:
24+
- actions,s500-cmu
25+
- actions,s700-cmu
26+
- actions,s900-cmu
27+
28+
reg:
29+
maxItems: 1
30+
31+
clocks:
32+
items:
33+
- description: Host oscillator source
34+
- description: Internal low frequency oscillator source
35+
36+
"#clock-cells":
37+
const: 1
38+
39+
"#reset-cells":
40+
const: 1
41+
42+
required:
43+
- compatible
44+
- reg
45+
- clocks
46+
- "#clock-cells"
47+
- "#reset-cells"
48+
49+
additionalProperties: false
50+
51+
examples:
52+
- |
53+
clock-controller@e0160000 {
54+
compatible = "actions,s900-cmu";
55+
reg = <0xe0160000 0x1000>;
56+
clocks = <&hosc>, <&losc>;
57+
#clock-cells = <1>;
58+
#reset-cells = <1>;
59+
};
60+
...

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
19961996
L: linux-actions@lists.infradead.org (moderated for non-subscribers)
19971997
S: Maintained
19981998
F: Documentation/devicetree/bindings/arm/actions.yaml
1999-
F: Documentation/devicetree/bindings/clock/actions,owl-cmu.txt
1999+
F: Documentation/devicetree/bindings/clock/actions,owl-cmu.yaml
20002000
F: Documentation/devicetree/bindings/dma/owl-dma.yaml
20012001
F: Documentation/devicetree/bindings/i2c/i2c-owl.yaml
20022002
F: Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml

0 commit comments

Comments
 (0)