From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4BA0CC433F5 for ; Thu, 5 May 2022 05:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QCTJwn42oo3XOhiqu03+8qAZ6BJUKN2ZV7uK3B6aK8E=; b=y1J2/P+Yean5BE v8Yphx6hW8VdzwxMfz7iIq8Lii3D6VCZMGPBR54fTnqf3U0PR9FXnUlImgNu6ioo07NLLChre0x10 BZnfm/9V0EAl8KeQdJVmOJSRNBHPYOG1p+zW8OgU5kW11GrNL70obCJup22sBIHycK2sffnNPgPfa oDF8Lp0IiRHFjunuerTupT52192gGjMHflStdKmdrVL75KzrXEncjRHb0K2Zhj03XpGHe400UY7f8 eyPeFhpNDKXd8DKsDELOpxR1STHUnRaPvPM+h8PG+1EiZrzHA8oddnpJiIFlBU9i243B4hnp2dzVH Vn9utu3pLNDaSFB4/bow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmUEV-00E48m-3P; Thu, 05 May 2022 05:40:59 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmUER-00E48C-OL for linux-arm-kernel@lists.infradead.org; Thu, 05 May 2022 05:40:57 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5165CB8293D; Thu, 5 May 2022 05:40:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DB92C385AC; Thu, 5 May 2022 05:40:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651729252; bh=6rNz/rAh5GUYA3xXTwAANGJImRwp3TAysJ7QXpVM5hw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MPA9UE6vm64Vw+ZCYiXCW2xrr9eyCL00lpD4EZjeo3ry8nd8QEMRqcskt9CBfWmJX vl0HrMRmSkQgav9yDFWfQUo1lW1dqejYHuvDyJZydsiZ3LG032D8GDSJA8ZIqlQWwh JAihdYzDazJyxDyJbWVuO3gkx3Dac3NB/9fiTcFFKrAQBVFMwCzKhy/aS8orQKu8ZA ucbddMyjFT2BcrMiueBfckY0rJFZlQ3xxCtFGqBk8l0/59AT0As/sOVxJumQFf4UNp JkDUXhGHUmcTG+vSDpI3L39hG2uuM6eLfOvHxhmu4dD/dh5FGt4DL5QWXeW5Ln06/1 tLI8v6TULTo/A== Date: Thu, 5 May 2022 13:40:29 +0800 From: Shawn Guo To: Mark Brown Cc: Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx6qdl-udoo: Disable USB host to work around boot issues Message-ID: <20220505054029.GY14615@dragon> References: <20220501174713.103449-1-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220501174713.103449-1-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220504_224055_978790_2C90766B X-CRM114-Status: GOOD ( 22.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, May 01, 2022 at 06:47:13PM +0100, Mark Brown wrote: > Attempting to boot my Udoo Dual and Quad with mainline hangs during boot > after printing: > > [ 3.270471] imx_usb 2184000.usb: No over current polarity defined > [ 3.922502] mxs_phy 20c9000.usbphy: Data pin can't make good contact. > [ 3.940097] imx_usb 2184200.usb: No over current polarity defined > > where imx_usb 2184200.usb is usbh1 in the DT. Adding debug prints to the > code seems to show that we lock up at the first read in usbmisc_imx6q_init() > which in combination with the above logging about the USB controllers > suggests that we lock up on the first read in usbmisc_imx6q_init(). Looking > at some of the other i.MX6 boards and the warning messages that are being > printed suggests that there is bitrot in the DTS for the device so disable > it for now, with it disabled the board boots successfully. Clearly this is > not a real fix, but it does allow some use of the board with mainline. > > Similar behaviour is seen all the way back as far as v4.19, I tried going > back to when the board was added but had toolchain issues. Vendor provided > binaries seem fine on the boards so it seems likely that the hardware is > fine and the issue is with some combination of the DT and kernel. This > should obviously be resolved properly but for now this at least allows > the kernel to boot with reduced functionality on these systems. > > Signed-off-by: Mark Brown Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel