Re: [PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-09 Thread Andrey Smirnov
On Mon, May 8, 2017 at 5:47 PM, Peter Chen wrote: > On Mon, May 08, 2017 at 07:15:01AM -0700, Andrey Smirnov wrote: >> Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent >> registers past offset 0x018, which includes >> MX53_USB_CLKONOFF_CTRL_OFFSET and

Re: [PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-09 Thread Andrey Smirnov
On Mon, May 8, 2017 at 5:47 PM, Peter Chen wrote: > On Mon, May 08, 2017 at 07:15:01AM -0700, Andrey Smirnov wrote: >> Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent >> registers past offset 0x018, which includes >> MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that

Re: [PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-08 Thread Peter Chen
On Mon, May 08, 2017 at 07:15:01AM -0700, Andrey Smirnov wrote: > Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent > registers past offset 0x018, which includes > MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that register on > said platform results in external abort. > >

Re: [PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-08 Thread Peter Chen
On Mon, May 08, 2017 at 07:15:01AM -0700, Andrey Smirnov wrote: > Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent > registers past offset 0x018, which includes > MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that register on > said platform results in external abort. > >

[PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-08 Thread Andrey Smirnov
Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent registers past offset 0x018, which includes MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that register on said platform results in external abort. Fix it by enabling CLKONOFF accessing codepath only for i.MX53. Fixes

[PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-08 Thread Andrey Smirnov
Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent registers past offset 0x018, which includes MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that register on said platform results in external abort. Fix it by enabling CLKONOFF accessing codepath only for i.MX53. Fixes