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@xxxxxxxxxx> --- .../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 This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel