Skip to content

Commit 2227e73

Browse files
committed
dt-bindings: soc: amlogic: convert clk-measure.txt to dt-schema
Convert the Amlogic Internal Clock Measurer bindings to dt-schema. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230209-b4-amlogic-bindings-convert-take2-v1-2-c4fe9049def9@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent fe15c26 commit 2227e73

2 files changed

Lines changed: 40 additions & 21 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-clk-measure.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Amlogic Internal Clock Measurer
8+
9+
description:
10+
The Amlogic SoCs contains an IP to measure the internal clocks.
11+
The precision is multiple of MHz, useful to debug the clock states.
12+
13+
maintainers:
14+
- Neil Armstrong <neil.armstrong@linaro.org>
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- amlogic,meson-gx-clk-measure
20+
- amlogic,meson8-clk-measure
21+
- amlogic,meson8b-clk-measure
22+
- amlogic,meson-axg-clk-measure
23+
- amlogic,meson-g12a-clk-measure
24+
- amlogic,meson-sm1-clk-measure
25+
26+
reg:
27+
maxItems: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
33+
unevaluatedProperties: false
34+
35+
examples:
36+
- |
37+
clock-measure@8758 {
38+
compatible = "amlogic,meson-gx-clk-measure";
39+
reg = <0x8758 0x10>;
40+
};

Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)