linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rohit Athavale <rohit.athavale@xilinx.com>
To: <devel@driverdev.osuosl.org>
Cc: <gregkh@linuxfoundation.org>, <linux-media@vger.kernel.org>,
	<rohit.athavale@xilinx.com>
Subject: [PATCH v2 3/3] Documentation: devicetree: bindings: Add DT binding doc for xm2mvsc driver
Date: Wed, 21 Feb 2018 14:43:16 -0800	[thread overview]
Message-ID: <1519252996-787-4-git-send-email-rohit.athavale@xilinx.com> (raw)
In-Reply-To: <1519252996-787-1-git-send-email-rohit.athavale@xilinx.com>

This commit adds the binding doc for the DT that the driver expects.
Driver has been tested against Zynq US+ board.

Signed-off-by: Rohit Athavale <rohit.athavale@xilinx.com>
---
 .../devicetree/bindings/xm2mvscaler.txt            | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 drivers/staging/xm2mvscale/Documentation/devicetree/bindings/xm2mvscaler.txt

diff --git a/drivers/staging/xm2mvscale/Documentation/devicetree/bindings/xm2mvscaler.txt b/drivers/staging/xm2mvscale/Documentation/devicetree/bindings/xm2mvscaler.txt
new file mode 100644
index 0000000..1f3d805
--- /dev/null
+++ b/drivers/staging/xm2mvscale/Documentation/devicetree/bindings/xm2mvscaler.txt
@@ -0,0 +1,25 @@
+Xilinx M2M Video Scaler
+-----------------------
+This document describes the DT bindings required by the
+Xilinx M2M Video Scaler driver.
+
+Required Properties:
+- compatible		: Must be "xlnx,v-m2m-scaler"
+- reg			: Memory map for module access
+- reset-gpios		: Should contain GPIO reset phandle
+- interrupt-parent	: Interrupt controller the interrupt is routed through
+- interrupts		: Should contain DMA channel interrupt
+- xlnx,scaler-num-taps	: The number of filter taps for scaling filter
+- xlnx,scaler-max-chan	: The maximum number of supported scaling channels
+
+Examples
+---------
+	v_multi_scaler: v_multi_scaler@a0000000 {
+		compatible = "xlnx,v-m2m-scaler";
+		reg = <0x0 0xa0000000 0x0 0x10000>;
+		reset-gpios = <&gpio 78 1>;
+		interrupt-parent = <&gic>;
+		interrupts = <0 89 4>;
+		xlnx,scaler-num-taps = <6>;
+		xlnx,scaler-max-chan = <4>;
+	};
-- 
1.9.1

  parent reply	other threads:[~2018-02-21 23:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-21 22:43 [PATCH v2 0/3] Initial driver support for Xilinx M2M Video Scaler Rohit Athavale
2018-02-21 22:43 ` [PATCH v2 1/3] staging: xm2mvscale: Driver " Rohit Athavale
2018-02-22 13:46   ` Greg KH
2018-03-09 11:57     ` Hans Verkuil
2018-03-20  0:46       ` Rohit Athavale
2018-03-20  1:41         ` Nicolas Dufresne
2018-03-20  7:27           ` Hans Verkuil
2018-02-21 22:43 ` [PATCH v2 2/3] staging: xm2mvscale: Add TODO for the driver Rohit Athavale
2018-02-21 22:43 ` Rohit Athavale [this message]
2018-02-23  0:42 ` [PATCH v2 0/3] Initial driver support for Xilinx M2M Video Scaler Nicolas Dufresne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1519252996-787-4-git-send-email-rohit.athavale@xilinx.com \
    --to=rohit.athavale@xilinx.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).