diff options
author | Jan Kotas <jank@cadence.com> | 2018-12-13 13:49:28 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-01-09 20:30:19 +0100 |
commit | 5b42aac8904bfe8fcd65179c0fe71a6a1109ee53 (patch) | |
tree | e64ee1ee1a74228058bbf2ca612e4e27f67dcc56 /Documentation | |
parent | Linux 5.0-rc1 (diff) | |
download | linux-5b42aac8904bfe8fcd65179c0fe71a6a1109ee53.tar.xz linux-5b42aac8904bfe8fcd65179c0fe71a6a1109ee53.zip |
dt-bindings: clk: Add bindings for Fixed MMIO clock
This patch adds a DT binding documentation for Fixed
Memory Mapped IO clocks.
Signed-off-by: Jan Kotas <jank@cadence.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt b/Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt new file mode 100644 index 000000000000..c359367fd1a9 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt @@ -0,0 +1,24 @@ +Binding for simple memory mapped io fixed-rate clock sources. +The driver reads a clock frequency value from a single 32-bit memory mapped +I/O register and registers it as a fixed rate clock. + +It was designed for test systems, like FPGA, not for complete, finished SoCs. + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible : shall be "fixed-mmio-clock". +- #clock-cells : from common clock binding; shall be set to 0. +- reg : Address and length of the clock value register set. + +Optional properties: +- clock-output-names : From common clock binding. + +Example: +sysclock: sysclock@fd020004 { + #clock-cells = <0>; + compatible = "fixed-mmio-clock"; + reg = <0xfd020004 0x4>; +}; |