diff mbox series

[v5,6/6] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

Message ID 20190326143129.2608-7-nava.manne@xilinx.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: Firmware node binding for ZynqMP core | expand

Commit Message

Nava kishore Manne March 26, 2019, 2:31 p.m. UTC
Add documentation to describe Xilinx ZynqMP fpga driver
bindings.

Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
---
Changes for v5:
		-Moved pcap node as a child to firwmare
		 node as suggested by Rob.
Changes for v4:
		-Modified binding description as suggested by Moritz Fischer.
Changes for v3:
		-Removed PCAP as a child node to the FW and Created
		 an independent node since PCAP driver is a consumer
		 not a provider.

 .../bindings/fpga/xlnx,zynqmp-pcap-fpga.txt   | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt

Comments

Rob Herring (Arm) March 28, 2019, 5 p.m. UTC | #1
On Tue, 26 Mar 2019 20:01:29 +0530, Nava kishore Manne wrote:
> Add documentation to describe Xilinx ZynqMP fpga driver
> bindings.
> 
> Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
> ---
> Changes for v5:
> 		-Moved pcap node as a child to firwmare
> 		 node as suggested by Rob.
> Changes for v4:
> 		-Modified binding description as suggested by Moritz Fischer.
> Changes for v3:
> 		-Removed PCAP as a child node to the FW and Created
> 		 an independent node since PCAP driver is a consumer
> 		 not a provider.
> 
>  .../bindings/fpga/xlnx,zynqmp-pcap-fpga.txt   | 25 +++++++++++++++++++
>  1 file changed, 25 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Alan Tull April 1, 2019, 8:50 p.m. UTC | #2
On Thu, Mar 28, 2019 at 12:00 PM Rob Herring <robh@kernel.org> wrote:
>
> On Tue, 26 Mar 2019 20:01:29 +0530, Nava kishore Manne wrote:
> > Add documentation to describe Xilinx ZynqMP fpga driver
> > bindings.
> >
> > Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
> > ---
> > Changes for v5:
> >               -Moved pcap node as a child to firwmare
> >                node as suggested by Rob.
> > Changes for v4:
> >               -Modified binding description as suggested by Moritz Fischer.
> > Changes for v3:
> >               -Removed PCAP as a child node to the FW and Created
> >                an independent node since PCAP driver is a consumer
> >                not a provider.
> >
> >  .../bindings/fpga/xlnx,zynqmp-pcap-fpga.txt   | 25 +++++++++++++++++++
> >  1 file changed, 25 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt
> >
>
> Reviewed-by: Rob Herring <robh@kernel.org>

Acked-by: Alan Tull <atull@kernel.org>
Moritz Fischer April 1, 2019, 10:05 p.m. UTC | #3
On Mon, Apr 01, 2019 at 03:50:08PM -0500, Alan Tull wrote:
> On Thu, Mar 28, 2019 at 12:00 PM Rob Herring <robh@kernel.org> wrote:
> >
> > On Tue, 26 Mar 2019 20:01:29 +0530, Nava kishore Manne wrote:
> > > Add documentation to describe Xilinx ZynqMP fpga driver
> > > bindings.
> > >
> > > Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
> > > ---
> > > Changes for v5:
> > >               -Moved pcap node as a child to firwmare
> > >                node as suggested by Rob.
> > > Changes for v4:
> > >               -Modified binding description as suggested by Moritz Fischer.
> > > Changes for v3:
> > >               -Removed PCAP as a child node to the FW and Created
> > >                an independent node since PCAP driver is a consumer
> > >                not a provider.
> > >
> > >  .../bindings/fpga/xlnx,zynqmp-pcap-fpga.txt   | 25 +++++++++++++++++++
> > >  1 file changed, 25 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt
> > >
> >
> > Reviewed-by: Rob Herring <robh@kernel.org>
> 
> Acked-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt b/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt
new file mode 100644
index 000000000000..3052bf619dd5
--- /dev/null
+++ b/Documentation/devicetree/bindings/fpga/xlnx,zynqmp-pcap-fpga.txt
@@ -0,0 +1,25 @@ 
+Devicetree bindings for Zynq Ultrascale MPSoC FPGA Manager.
+The ZynqMP SoC uses the PCAP (Processor configuration Port) to configure the
+Programmable Logic (PL). The configuration uses  the firmware interface.
+
+Required properties:
+- compatible: should contain "xlnx,zynqmp-pcap-fpga"
+
+Example for full FPGA configuration:
+
+	fpga-region0 {
+		compatible = "fpga-region";
+		fpga-mgr = <&zynqmp_pcap>;
+		#address-cells = <0x1>;
+		#size-cells = <0x1>;
+	};
+
+	firmware {
+		zynqmp_firmware: zynqmp-firmware {
+			compatible = "xlnx,zynqmp-firmware";
+			method = "smc";
+			zynqmp_pcap: pcap {
+				compatible = "xlnx,zynqmp-pcap-fpga";
+			};
+		};
+	};