dt-bindings: amlogic: Add Internal Clock Measurer bindings
authorNeil Armstrong <narmstrong@baylibre.com>
Sun, 18 Nov 2018 13:53:10 +0000 (14:53 +0100)
committerKevin Hilman <khilman@baylibre.com>
Thu, 29 Nov 2018 00:55:35 +0000 (16:55 -0800)
The Amlogic Meson SoCs embeds a clock measurer IP to measure the internal
clock paths frequencies.

Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt b/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt
new file mode 100644 (file)
index 0000000..205a54b
--- /dev/null
@@ -0,0 +1,18 @@
+Amlogic Internal Clock Measurer
+===============================
+
+The Amlogic SoCs contains an IP to measure the internal clocks.
+The precision is multiple of MHz, useful to debug the clock states.
+
+Required properties:
+- compatible: Shall contain one of the following :
+                       "amlogic,meson-gx-clk-measure" for GX SoCs
+                       "amlogic,meson8-clk-measure" for Meson8 SoCs
+                       "amlogic,meson8b-clk-measure" for Meson8b SoCs
+- reg: base address and size of the Clock Measurer register space.
+
+Example:
+       clock-measure@8758 {
+               compatible = "amlogic,meson-gx-clk-measure";
+               reg = <0x0 0x8758 0x0 0x10>;
+       };