From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Tull Subject: [PATCH v20 03/10] add bindings document for altera freeze bridge Date: Mon, 17 Oct 2016 11:09:34 -0500 Message-ID: <20161017160941.4205-4-atull@opensource.altera.com> References: <20161017160941.4205-1-atull@opensource.altera.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20161017160941.4205-1-atull@opensource.altera.com> Sender: linux-kernel-owner@vger.kernel.org To: Rob Herring Cc: Frank Rowand , Mark Rutland , Greg Kroah-Hartman , Moritz Fischer , Ian Campbell , Jon Masters , Michal Simek , Jonathan Corbet , Cyril Chemparathy , Matthew Gerlach , Dinh Nguyen , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, delicious.quinoa@gmail.com, Alan Tull List-Id: devicetree@vger.kernel.org Add bindings document for the Altera Freeze Bridge. A Freeze Bridge is used to gate traffic to/from a region of a FPGA such that that region can be reprogrammed. The Freeze Bridge exist in FPGA fabric that is not currently being reconfigured. Signed-off-by: Alan Tull Signed-off-by: Matthew Gerlach --- v19: Added in v19 of patchset, uses fpga image info struct v20: fix one underscore to hyphen --- .../bindings/fpga/altera-freeze-bridge.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/altera-freeze-bridge.txt diff --git a/Documentation/devicetree/bindings/fpga/altera-freeze-bridge.txt b/Documentation/devicetree/bindings/fpga/altera-freeze-bridge.txt new file mode 100644 index 0000000..f8e288c7 --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/altera-freeze-bridge.txt @@ -0,0 +1,23 @@ +Altera Freeze Bridge Controller Driver + +The Altera Freeze Bridge Controller manages one or more freeze bridges. +The controller can freeze/disable the bridges which prevents signal +changes from passing through the bridge. The controller can also +unfreeze/enable the bridges which allows traffic to pass through the +bridge normally. + +Required properties: +- compatible : Should contain "altr,freeze-bridge-controller" +- regs : base address and size for freeze bridge module + +Optional properties: +- bridge-enable : 0 if driver should disable bridge at startup + 1 if driver should enable bridge at startup + Default is to leave bridge in current state. + +Example: + freeze-controller@100000450 { + compatible = "altr,freeze-bridge-controller"; + regs = <0x1000 0x10>; + bridge-enable = <0>; + }; -- 2.10.1