dt-bindings: fpga: Consolidate bridge properties
authorMoritz Fischer <mdf@kernel.org>
Wed, 21 Feb 2018 17:33:06 +0000 (09:33 -0800)
committerMoritz Fischer <mdf@kernel.org>
Wed, 24 Jul 2019 21:19:15 +0000 (14:19 -0700)
Consolidate bridge properties in a single file, instead of duplicating
the same optional property over and over again.

Acked-by: Alan Tull <atull@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Documentation/devicetree/bindings/fpga/altera-fpga2sdram-bridge.txt
Documentation/devicetree/bindings/fpga/altera-freeze-bridge.txt
Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt
Documentation/devicetree/bindings/fpga/fpga-bridge.txt [new file with mode: 0644]
Documentation/devicetree/bindings/fpga/xilinx-pr-decoupler.txt

index 817a8d4bf9037ef136fb980c90fb30621047201a..5dd0ff0f7b4efec5940e7e0efdf2081420fd4066 100644 (file)
@@ -3,10 +3,7 @@ Altera FPGA To SDRAM Bridge Driver
 Required properties:
 - compatible           : Should contain "altr,socfpga-fpga2sdram-bridge"
 
-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.
+See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
 
 Example:
        fpga_bridge3: fpga-bridge@ffc25080 {
index f8e288c71b2decf719dc7c6f7c8504170c56ca50..8b26fbcff3c62b06090b970a1cfa8a8f1a614012 100644 (file)
@@ -10,10 +10,7 @@ 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.
+See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
 
 Example:
        freeze-controller@100000450 {
index 6406f9337eeba24ddc45a67f349b0ec54bb91b2b..68cce3945b103d49bd8b41e7ab7991d087502186 100644 (file)
@@ -9,10 +9,7 @@ Required properties:
 - resets       : Phandle and reset specifier for this bridge's reset
 - clocks       : Clocks used by this 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 its current state.
+See Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
 
 Example:
        fpga_bridge0: fpga-bridge@ff400000 {
diff --git a/Documentation/devicetree/bindings/fpga/fpga-bridge.txt b/Documentation/devicetree/bindings/fpga/fpga-bridge.txt
new file mode 100644 (file)
index 0000000..72e0691
--- /dev/null
@@ -0,0 +1,13 @@
+FPGA Bridge Device Tree Binding
+
+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:
+       fpga_bridge3: fpga-bridge@ffc25080 {
+               compatible = "altr,socfpga-fpga2sdram-bridge";
+               reg = <0xffc25080 0x4>;
+               bridge-enable = <0>;
+       };
index 8dcfba926bc78c7d577ef0491a062b0c6e741ad9..4284d293fa6135bf757d53f2bc8faeb29b86e8e2 100644 (file)
@@ -18,12 +18,8 @@ Required properties:
 - clocks               : input clock to IP
 - clock-names          : should contain "aclk"
 
-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.
-
-See Documentation/devicetree/bindings/fpga/fpga-region.txt for generic bindings.
+See Documentation/devicetree/bindings/fpga/fpga-region.txt and
+Documentation/devicetree/bindings/fpga/fpga-bridge.txt for generic bindings.
 
 Example:
        fpga-bridge@100000450 {