staging: mt7621-pci: dt-bindings: add perst-gpio to sample bindings [Linux 5.3]

This Linux kernel change "staging: mt7621-pci: dt-bindings: add perst-gpio to sample bindings" is included in the Linux 5.3 release. This change is authored by Sergio Paracuellos <sergio.paracuellos [at] gmail.com> on Wed Jun 19 09:44:58 2019 +0200. The commit for this change in Linux stable tree is 0148601 (patch).

staging: mt7621-pci: dt-bindings: add perst-gpio to sample bindings

Both driver and device tree have been updated to use GPIO perst.
Update bindings documentation also.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt b/drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt
index 5a6ee41..604ec81 100644
--- a/drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt
+++ b/drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt
@@ -6,6 +6,7 @@ Required properties:
 - reg: Base addresses and lengths of the PCIe subsys and root ports.
 - bus-range: Range of bus numbers associated with this controller.
 - #address-cells: Address representation for root ports (must be 3)
+- perst-gpio: PCIe reset signal line.
 - pinctrl-names : The pin control state names.
 - pinctrl-0: The "default" pinctrl state.
 - #size-cells: Size representation for root ports (must be 2)
@@ -48,6 +49,7 @@ Example for MT7621:
        #address-cells = <3>;
        #size-cells = <2>;

+       perst-gpio = <&gpio 19 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&pcie_pins>;

Leave a Reply

Your email address will not be published. Required fields are marked *