Re: [PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-09-18 Thread John Youn
On 9/18/2015 11:50 AM, Felipe Balbi wrote: > On Thu, Aug 27, 2015 at 12:10:24AM +, John Youn wrote: >> On 8/20/2015 11:43 AM, Antti Seppälä wrote: >>> This patch switches calls to readl/writel to their >>> dwc2_readl/dwc2_writel equivalents which preserve platform endianness. >>> >>> This

Re: [PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-09-18 Thread Felipe Balbi
On Fri, Sep 18, 2015 at 06:54:56PM +, John Youn wrote: > On 9/18/2015 11:50 AM, Felipe Balbi wrote: > > On Thu, Aug 27, 2015 at 12:10:24AM +, John Youn wrote: > >> On 8/20/2015 11:43 AM, Antti Seppälä wrote: > >>> This patch switches calls to readl/writel to their > >>>

Re: [PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-09-18 Thread Felipe Balbi
On Thu, Aug 27, 2015 at 12:10:24AM +, John Youn wrote: > On 8/20/2015 11:43 AM, Antti Seppälä wrote: > > This patch switches calls to readl/writel to their > > dwc2_readl/dwc2_writel equivalents which preserve platform endianness. > > > > This patch is necessary to access dwc2 registers

Re: [PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-08-26 Thread John Youn
On 8/20/2015 11:43 AM, Antti Seppälä wrote: This patch switches calls to readl/writel to their dwc2_readl/dwc2_writel equivalents which preserve platform endianness. This patch is necessary to access dwc2 registers correctly on big-endian systems such as the mips based SoCs made by Lantiq.

[PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-08-20 Thread Antti Seppälä
This patch switches calls to readl/writel to their dwc2_readl/dwc2_writel equivalents which preserve platform endianness. This patch is necessary to access dwc2 registers correctly on big-endian systems such as the mips based SoCs made by Lantiq. Then dwc2 can be used to replace ifx-hcd driver