Re: [PATCH] pci: imx: use reset-gpios if defined by device-tree

2021-07-06 Thread Tim Harvey
On Sat, Jul 3, 2021 at 4:35 AM Soeren Moch wrote: > > Hi Tim, > > On 01.07.21 19:34, Tim Harvey wrote: > > If reset-gpio is defined by device-tree use that instead of a > > board-specific function to toggle PCI reset. > For me it looks like this: There is a common function that handles the > reset

Re: [PATCH] pci: imx: use reset-gpios if defined by device-tree

2021-07-03 Thread Soeren Moch
Hi Tim, On 01.07.21 19:34, Tim Harvey wrote: > If reset-gpio is defined by device-tree use that instead of a > board-specific function to toggle PCI reset. For me it looks like this: There is a common function that handles the reset. The only exception being your boards, which override this functi

[PATCH] pci: imx: use reset-gpios if defined by device-tree

2021-07-01 Thread Tim Harvey
If reset-gpio is defined by device-tree use that instead of a board-specific function to toggle PCI reset. The presense of 'reset-gpio' in the device-tree will override calling the weak imx6_pcie_toggle_reset function therefore I've Cc'd all the board maintainers who rely on that function here as