Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp447407rdh; Wed, 14 Feb 2024 01:25:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVIY40SvaU/2FIm1RD+20/iudsW6XgcvGn8lyGIokX1abgyYuF2YxzGwAxEkBg93kAiw2LqQTMctumh3mn7frnKRefmb/usJiC0AD1vNg== X-Google-Smtp-Source: AGHT+IEGtZ2xh9jHZ8LC6DWnRu+IA6oiZazlYPeUef0gkIDlXOcLL9mr2dAmOlt1ugz7j/gfhG3i X-Received: by 2002:a0d:dd09:0:b0:604:3df:1720 with SMTP id g9-20020a0ddd09000000b0060403df1720mr2027795ywe.15.1707902759215; Wed, 14 Feb 2024 01:25:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707902759; cv=pass; d=google.com; s=arc-20160816; b=E+EgEsN/AEY+KuH9+50WkpgmWoQdiMbldh9qUcg9RXdvVoJeaYQ7708h11lpoaPnH5 fVl0+WmfAJYUAKGDurwiDBAWWKg5OL/N3suv6zvlBnSvchNj6NMu7DxR6kGsy+bvHUrf mTwR185apkSp+PHgosFQS8Ehh+zChtSZABGa7ZtlJPcqxulHmopuVKzgYS1eNHZSJ8q6 v7b0esi6YA3BQ/s8kh5Z+byRnWuKmIe1Y9nf0lFfj6C/eZ0fVNbsTkakjKNEOfL8DW41 SN2X78mUDkQD5W/pEBuHRQimLG0W+O1P1G37jmu0ev4d10ETp37jRiCQL7Z9Sod7pT+T zRyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=59alDhl59mZGOYSbX/sGA0okwvMUPC8BhvXPc0jobSI=; fh=P0sFB2gFPrsCMk9imgJ3e/EZRYsSc76DIZxtXXObKJk=; b=WPDlqBjyjczdfTGtdnnt2XCYqgyMFckQ5fzFy57TvsatlkMpFjp6iNKTpH7CyMIkzW /htTm6n12yDi28wWDISTiZvFYWChMp6jt4RrEVtbsJ1D2QO4QLKqCUs3Pthaed2DjOUT kRKaiq3AMB8YqD6u0SasWVgJevjgoem1iqo/68y2UgaI/zQ2XaLCvcKgemWQQVv2UrGA XGJDNBkDysxo0JHoDR4EQzCjKJJs1DWE2t5f4ShSEy56irCu508/+v/3AhGQgWZOK3P4 nvEFFI+PHX5Mpfusonf7DUGcLjnfqkMtSVu8FUZBQNwMXLV4otQHjfS+OgTpWF4A1uOk 3iDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f1Dyi4h1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCW1goQbfA8YDJMr5sZ3STibSI38YeLwsoQ/qWy0hRIVeD8pT3rVXDW1qEtX68D3h1Y5+vEHh8/CTX44mbxGiOsQSHYcNpdd+Ov5nn2ajg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i14-20020ac85c0e000000b0042dae87d1e6si3514462qti.450.2024.02.14.01.25.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 01:25:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64956-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=@kernel.org header.s=k20201202 header.b=f1Dyi4h1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 C61381C20D1B for ; Wed, 14 Feb 2024 09:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B88D012B82; Wed, 14 Feb 2024 09:25:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="f1Dyi4h1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3B9C168BC; Wed, 14 Feb 2024 09:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707902731; cv=none; b=nALOStXMX5dEXdC1GF6v/QNqOJW29ebdso8VD+Em7GO5Xk0GoPBwMx5NHr1BNOx217SmjMaA77nn3yKgoFnzsfcLr1xd0LppINvqPk4K7q+PwD9dMqIWw3Fyz9dU8Z+sr87KlDNW51NK7jVhsTNYmVzuq3zIcHgVZ5cIY5/5qCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707902731; c=relaxed/simple; bh=1Sxlw3DtRHuf/+Tg21dw2Havl+gSDlEajrxvtNXrd24=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CLpKDzdLGKVqJy+x/HS2EEtM8kh7smUq3C5h4q+lhXLAHNEbd+AovD3RhwbNLMdLfjL9we4L02aqeVeEgj7XnT87YjhVYwV3VvyT47W3q5sfXQK5a2FE3ObZGyZJZt928/19sA1boHCJN8+q0qCc3wfSENQV9/7FTV5QhHw+v4w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=f1Dyi4h1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6782FC433F1; Wed, 14 Feb 2024 09:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707902731; bh=1Sxlw3DtRHuf/+Tg21dw2Havl+gSDlEajrxvtNXrd24=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=f1Dyi4h1lddcPnpZvA7OTRd+buAWhbnKUUuqixk424akMnmEN4iZ74PNi4FuEn0rJ 23/2YheISdo2HTLE9XYZ8dncxaDDDD/O2euCTjPU3ZjR16ZaK/zqBkNC9/tCPrS97O fLH6KR1Y0a8DjGJojnGklo56I1z4+cOmdwEXZn7JKNUmlmaeBeH1QxbHFvSJ9gTene 2BN30q5cPV9hG4U4InvnjJast3eA9+QSKgUNTKF4IiC2cfvDukmeSISKm5jNmrfN5g UdOo04qH+ihhW0jnsBPFESEBfnOQCJYc8xXadBMvKP+D2vKeyX16oad/age2C10HGr sGKnco2WhpVLg== Message-ID: <8fc9bac2-d0ce-4c24-b88b-fab1f65dcf37@kernel.org> Date: Wed, 14 Feb 2024 11:25:24 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] arm64: dts: ti: k3-am62-main: disable usb lpm Content-Language: en-US To: Andrejs Cainikovs , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Aswath Govindraju , Sjoerd Simons Cc: Andrejs Cainikovs , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240209130213.38908-1-andrejs.cainikovs@gmail.com> From: Roger Quadros In-Reply-To: <20240209130213.38908-1-andrejs.cainikovs@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/02/2024 15:02, 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: Roger Quadros