Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Lucas Stach
Am Donnerstag, den 04.10.2018, 15:25 +0200 schrieb Philipp Zabel: > On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > > When the root complex suspends it

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Lucas Stach
Am Donnerstag, den 04.10.2018, 15:25 +0200 schrieb Philipp Zabel: > On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > > When the root complex suspends it

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Philipp Zabel
On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > When the root complex suspends it must send a PME_Turn_Off TLP. > > > Implement this by asserting the

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Philipp Zabel
On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > When the root complex suspends it must send a PME_Turn_Off TLP. > > > Implement this by asserting the

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Leonard Crestez
On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > When the root complex suspends it must send a PME_Turn_Off TLP. > > Implement this by asserting the "turnoff" reset. > > > > +static void imx6_pcie_pm_turnoff(struct

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Leonard Crestez
On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > When the root complex suspends it must send a PME_Turn_Off TLP. > > Implement this by asserting the "turnoff" reset. > > > > +static void imx6_pcie_pm_turnoff(struct

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Lucas Stach
Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > When the root complex suspends it must send a PME_Turn_Off TLP. > Implement this by asserting the "turnoff" reset. > > On imx7d this is functionality is part of the SRC and exposed through > the linux reset-controller subsystem. On

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Lucas Stach
Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > When the root complex suspends it must send a PME_Turn_Off TLP. > Implement this by asserting the "turnoff" reset. > > On imx7d this is functionality is part of the SRC and exposed through > the linux reset-controller subsystem. On

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-02 Thread Lorenzo Pieralisi
On Mon, Oct 01, 2018 at 10:53:48PM +0300, Leonard Crestez wrote: > When the root complex suspends it must send a PME_Turn_Off TLP. > Implement this by asserting the "turnoff" reset. > > On imx7d this is functionality is part of the SRC and exposed through > the linux reset-controller subsystem.

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-02 Thread Lorenzo Pieralisi
On Mon, Oct 01, 2018 at 10:53:48PM +0300, Leonard Crestez wrote: > When the root complex suspends it must send a PME_Turn_Off TLP. > Implement this by asserting the "turnoff" reset. > > On imx7d this is functionality is part of the SRC and exposed through > the linux reset-controller subsystem.

[PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-01 Thread Leonard Crestez
When the root complex suspends it must send a PME_Turn_Off TLP. Implement this by asserting the "turnoff" reset. On imx7d this is functionality is part of the SRC and exposed through the linux reset-controller subsystem. On imx6 equivalent bits are in the IOMUXC GPR area which the imx6-pcie

[PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-01 Thread Leonard Crestez
When the root complex suspends it must send a PME_Turn_Off TLP. Implement this by asserting the "turnoff" reset. On imx7d this is functionality is part of the SRC and exposed through the linux reset-controller subsystem. On imx6 equivalent bits are in the IOMUXC GPR area which the imx6-pcie