From: =?UTF-8?Q?Beno=c3=aet_Th=c3=a9baudeau?= Date: Thu, 25 Jan 2018 11:36:39 +0100 Subject: [U-Boot] [PATCH] imx: mx25: Remove SION bit in all pin-mux In-Reply-To: References: <1516805770-6712-1-git-send-email-michael@amarulasolutions.com> <42c042a8-169e-1843-a7f4-a46d4ef60d2a@wsystem.com> <6ab6f607-1736-2123-6387-636c8e452046@wsystem.com> <36da5c7c-beb5-2a9c-90de-a03980631918@wsystem.com> Message-ID: <2b3dab84-55ad-1bf5-61ef-085f763f4aa9@wsystem.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 25/01/2018 at 11:17, Michael Nazzareno Trimarchi wrote: > On Thu, Jan 25, 2018 at 11:02 AM, Benoît Thébaudeau 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