]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
staging: dt-bindings: Add doc about APF
authorMichal Simek <michal.simek@xilinx.com>
Thu, 18 Oct 2018 09:09:47 +0000 (11:09 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Mar 2019 13:47:12 +0000 (14:47 +0100)
Add DT binding doc to APF folder.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/staging/apf/dt-binding.txt [new file with mode: 0644]

diff --git a/drivers/staging/apf/dt-binding.txt b/drivers/staging/apf/dt-binding.txt
new file mode 100644 (file)
index 0000000..fd73725
--- /dev/null
@@ -0,0 +1,17 @@
+* Xilinx APF xlnk driver
+
+Required properties:
+- compatible: Should be "xlnx,xlnk"
+- clock-names: List of clock names
+- clocks: List of clock sources corresponding to the clock names
+
+The number of elements on the clock-names and clocks lists should be the same.
+If there are no controllable clocks, the xlnk node should be omitted from the
+devicetree.
+
+Example:
+       xlnk {
+               compatible = "xlnx,xlnk-1.0";
+               clock-names = "clk166", "clk150", "clk100", "clk200";
+               clocks = <&clkc 15>, <&clkc 16>, <&clkc 17>, <&clkc 18>;
+       };