Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2989281rdb; Tue, 13 Feb 2024 03:43:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IG23RfiZV1Svcxg4URndtaQmDS/XQIVWqn4csM/w071OSqFmjnNKFg0u26LINy5KcqvnN5k X-Received: by 2002:ad4:4eef:0:b0:68e:ee98:298c with SMTP id dv15-20020ad44eef000000b0068eee98298cmr902886qvb.65.1707824636277; Tue, 13 Feb 2024 03:43:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707824636; cv=pass; d=google.com; s=arc-20160816; b=hkrcljKWG3/u0FcncBly23IZhf4MB5tECrIn97vJ9hOTDmh9WnTkG5uGRDkb2WGbY2 jU/KSpXUoGDucgMDue1jycEbYcAm3wMvOEFUaakQ0CvIHb5HR+d8yDQiJZK6NhLpujLg RH/p4hrWT9i3z/X9VPLcpCcN39qjCYdI73mTdPQTfIky/8QnOwbQZ21GlnhUU0obsQqX w4oqM13tpj97aw45v2/q2IPudPdtQxb3dDWrXWG/lx8rgqlVV/d48KcYkzKTwvWCu10D OE20OeApBiDIbxi5UmKzRv1HOwrO+St19/rQagEDLrSL3JRE7pJASWpDeQ7kqI5wEumB Ex4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Bp7pG2CUWQYmkgoE1nLhEi74JHI4RrXDPmnEHpNrJ3k=; fh=7/ohz6CbPPajdBo53vyMaeGW5YftZuItBPFlOaqAkgA=; b=BwLO+FjZVQSFeuOi3tnRQr+weaeSzAvEMbLAi3xk/qy8aO3vHiTbn2Gp+UaPwi99J1 aVCK4qkQlDY8Gj4+6haWvhpnUeW6IzDS72tlGLQDiI+O69CJfTgUavGjpDU3FLsJ5XL7 dqUGf89UysOz/B4Mv1Hr49uCke3jS1gAtz1QlHX+WBgStRIXOIGzePg/ECUyxvmvC+Ur /IcBZhXymqxN0dnXXdAzQs2IdrYXhaNLXwxlsuAxYYCH2b70d1hi03zw946SouHHzCFc PzwT1TyIfHkfDoL8MzK+EUhmMNmpzKUD0BeKfa5Ik9CChVG1dbZDYyTVvg3ZUa/y4xkw nRWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=sI3SJIhg; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-63455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63455-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it X-Forwarded-Encrypted: i=2; AJvYcCVWcnj5upYV088u5hgg5nlUb1KPr7RtVqlPA9BgJaYxscAdMPanPRKj+xBr2m252/NT7DsuGkwrFqfgTT/SS6OtA7RKwLPZGV6h5jyQwQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 7-20020a05621420e700b0068d14e993bfsi2699123qvk.85.2024.02.13.03.43.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:43:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=sI3SJIhg; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-63455-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63455-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DE8FC1C25042 for ; Tue, 13 Feb 2024 11:43:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA8CB38DF5; Tue, 13 Feb 2024 11:43:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="sI3SJIhg" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68602381A1; Tue, 13 Feb 2024 11:43:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707824618; cv=none; b=qTdzLk5eTm3Mlq1hcCeC1ddg9YJwikZN8bG9Ojkt+DeayvqDwDSVfV4oBxhXNDoLyAFnFFHaIttMroMbBrDlMuhcRfLDCP1J2Y1h20r43FI0VkR4Ghs0VaTO6m+zwhov5TeW6e2Ttnfppy2A0+Zfo1B/JX1F8PU7R1p2R6L4aMs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707824618; c=relaxed/simple; bh=QppPBZutxxvxsO7CZI8udsyp6dnLPQwivwjRU1FdxFA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fzkvms5lUhbcwR7C++E2vJ3t21G+mNZCqUCIZROrcbPmZjOICkDZiTomKAsK+aohK8v9lp4atF/m8EhZT0p9P0k1lR1jDICtoIXfC1PEkpteYmcRKyDN+mFtevr9dC0SbcqB88uvxJ+wL0lknNdXW5yUClHufovuahWtWaH6QLU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=sI3SJIhg; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb (unknown [5.170.16.17]) by mail11.truemail.it (Postfix) with ESMTPA id 7B8B220A65; Tue, 13 Feb 2024 12:43:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1707824613; bh=Bp7pG2CUWQYmkgoE1nLhEi74JHI4RrXDPmnEHpNrJ3k=; h=From:To:Subject; b=sI3SJIhgbHDwl3u5ptprAx4mv/QomLlV1UL3bGxsM+Uc+ijsQqz6A5hASQcWFCKAS FLHprtLXCKKEJKEKWRqKUFLJFEh//GWc6yXBgJ25pb9QdevosIZCUgTCFp2cQKvwwo m/YwfJzpg4wTj6MPSNmxUDajdFuJk4mcTwSgFi8d0jB4VK9Oc5NtWMOykHEh5SvYLD yPMhJRWrTw7vXQxm2KtkUtuTTc34KJvg6C/uw6tsyYQvzXPxLIFDUPe0Iv4FIvUDjx bdxV3F33fYc+d8Xf7+KHCMcaM5N6jEQ7IdnFdV33sYBuu1gst+uW3HNJMeOkv2LYRz CoKaCcwa6Gb9Q== Date: Tue, 13 Feb 2024 12:43:28 +0100 From: Francesco Dolcini To: Andrejs Cainikovs Cc: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Aswath Govindraju , Sjoerd Simons , Andrejs Cainikovs , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] arm64: dts: ti: k3-am62-main: disable usb lpm Message-ID: <20240213114328.GA6727@francesco-nb> References: <20240209130213.38908-1-andrejs.cainikovs@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240209130213.38908-1-andrejs.cainikovs@gmail.com> On Fri, Feb 09, 2024 at 02:02:12PM +0100, Andrejs Cainikovs wrote: > From: Andrejs Cainikovs > > AM62 USB works with some devices, while failing to operate with others. > > [ 560.189822] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller > [ 560.195631] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2 > [ 574.388509] xhci-hcd xhci-hcd.4.auto: can't setup: -110 > [ 574.393814] xhci-hcd xhci-hcd.4.auto: USB bus 2 deregistered > [ 574.399544] xhci-hcd: probe of xhci-hcd.4.auto failed with error -110 > > This seems to be related to LPM (Link Power Management), and disabling it > turns USB into reliable working state. > > As per AM62 reference manual: > > > 4.8.2.1 USB2SS Unsupported Features > > > > The following features are not supported on this family of devices: > > ... > > - USB 2.0 ECN: Link Power Management (LPM) > > ... > > Fixes: 2240f96cf3cd ("arm64: dts: ti: k3-am62-main: Add support for USB") > Signed-off-by: Andrejs Cainikovs Reviewed-by: Francesco Dolcini Francesco