
On 25/01/2018 at 11:17, Michael Nazzareno Trimarchi wrote:
On Thu, Jan 25, 2018 at 11:02 AM, Benoît Thébaudeau benoit@wsystem.com wrote:
You said that setting SION only for a UART is enough to trigger your USB issue. Of course, there is no reason to set SION by default for a UART, but I was thinking about a possible link between UART and USB, as this behavior is very strange. Which USB host port are use using with the problematic pen drive, and with which PHY (SoC-internal/external, bus)? Have you checked that this port is properly configured for this PHY and PWR/OC (on/off + polarity) in both U-Boot and Linux? For instance, if this port is configured to use OC but no OC signal
Nothing of above is connected. Pen drive is in the linux thread described in the commit message. All the usb stack is fully functional with a lot of pen drive. OC, PWR are not managed on USB/serial ehci port so they are not involved and I can check. I have posted some patches on linux mailing list to fix minor stuff. Let's say any permutation bit on phy configuration does not solve the problem. It's not a problem of usb suspend etc. I think that approch should be:
- align the pin mux mx25 file to the other architecture. So drop all
the sion bit expect for the one where we know that silicon is buggy
- apply SION when is needed in the board that are already in uboot
- send patches on pin mux for board that are in mainline and we can test
On my side. I will restrict the change on my board to full isolate the configuration. Force the reset of SION bit anyway in linux if this solve.
Agree?
Looks good to me.
Benoît