RE: [PATCH 3/3] powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board

2011-12-26 Thread Vinh Huu Tuong Nguyen
; Jiri Kosina; Lucas De Marchi; Ayman El-Khashab; linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org Subject: Re: [PATCH 3/3] powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board On Tue, Dec 20, 2011 at 11:47 PM, Vinh Huu Tuong Nguyen wrote: >> + >> +       mtdcr

Re: [PATCH 3/3] powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board

2011-12-21 Thread Josh Boyer
On Tue, Dec 20, 2011 at 11:47 PM, Vinh Huu Tuong Nguyen wrote: >> + >> +       mtdcri(SDR0, port->sdr_base + PESDRn_RCSSET, >> +               mfdcri(SDR0, port->sdr_base + PESDRn_RCSSET) | >> +               (PESDRx_RCSSET_RSTGU | PESDRx_RCSSET_RSTPYN)); >> + >> +       /* Poll for PHY reset */ >

RE: [PATCH 3/3] powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board

2011-12-20 Thread Vinh Huu Tuong Nguyen
; Paul Mackerras; Matt Porter; Kumar Gala; Paul Gortmaker; Anton Blanchard; Dave Kleikamp; Grant Likely; Tony Breeds; Rob Herring; Jiri Kosina; Lucas De Marchi; Ayman El-Khashab; linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org Subject: Re: [PATCH 3/3] powerpc/44x: Add support PCI-E for

Re: [PATCH 3/3] powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board

2011-12-20 Thread Josh Boyer
On Tue, Dec 20, 2011 at 7:44 AM, Vinh Nguyen Huu Tuong wrote: > This patch extends PCI-E driver to support PCI-E for APM821xx SoC on > Bluestone board. > > Signed-off-by: Vinh Nguyen Huu Tuong > +static int apm821xx_pciex_init_port_hw(struct ppc4xx_pciex_port *port) > +{ > +       u32 val; > +

[PATCH 3/3] powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board

2011-12-20 Thread Vinh Nguyen Huu Tuong
This patch extends PCI-E driver to support PCI-E for APM821xx SoC on Bluestone board. Signed-off-by: Vinh Nguyen Huu Tuong --- arch/powerpc/platforms/44x/Kconfig |1 + arch/powerpc/sysdev/ppc4xx_pci.c | 109 +++- arch/powerpc/sysdev/ppc4xx_pci.h |4 +