OSDN Git Service

staging: mt7621-dts: add general pcie reset line to pcie bindings
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 12 Feb 2019 08:19:19 +0000 (09:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Feb 2019 10:13:08 +0000 (11:13 +0100)
Add general pci reset line to pcie bindings to use reset_control properly
in driver code.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/mt7621.dtsi

index 851b035..6aff368 100644 (file)
 
                status = "disabled";
 
-               resets = <&rstctrl 24 &rstctrl 25 &rstctrl 26>;
-               reset-names = "pcie0", "pcie1", "pcie2";
+               resets = <&rstctrl 23 &rstctrl 24 &rstctrl 25 &rstctrl 26>;
+               reset-names = "pcie", "pcie0", "pcie1", "pcie2";
                clocks = <&clkctrl 24 &clkctrl 25 &clkctrl 26>;
                clock-names = "pcie0", "pcie1", "pcie2";
                phys = <&pcie0_port>, <&pcie1_port>, <&pcie2_port>;