Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp906238rdb; Fri, 9 Feb 2024 05:02:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IF97LRIf98KZLbUyOuX8KGaJv0KRo//PW5QI7/r6/2IOJT0PNNgJcrt+zHawDSCJ2J41olj X-Received: by 2002:a05:622a:269a:b0:42c:5be1:3933 with SMTP id kd26-20020a05622a269a00b0042c5be13933mr1163793qtb.8.1707483751477; Fri, 09 Feb 2024 05:02:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707483751; cv=pass; d=google.com; s=arc-20160816; b=kDnGFR+VlTOgnoUSBCFVCJtdnwV6+r9BmMRsJSnG/NuFCUUnK+Lcq3Sd1nBUHcCD4c h94ZuoO6JGP2Nk0qTB9RkK0fREPc1iAFT53zok/3Sfl/yXGcP6PozuNN3GdL9J/uMabN bAzb6EBbSpA5kcSm8lsNq7CKm9YbxPP8bcYBQ2Tqoai15oI1QykKbGxVVXdUWWgKzNHF 2M7b9M4LRWdN29EbzJsrjUSsxlCG9aG4Q5tE7ui7n+WUSnTDYxXhmllXDoeXTMKKfICc 7KB0THkasHLkMfBKr6z9YNHkuw8/YSJeA4cTwEycdL+pcX+hd68OdH7mgaGRczO/q+r/ dRww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=koBRC2vHC5l/EMfPG8n4Eafgz25Uj1Kl9qaBZCE0qYo=; fh=XYttRQ5k4CySTwFu5WYW/NrmkaOKQcpL2R8s25r3sNo=; b=RFEdnWhpNZeVtGDF6wNMxb3+4oeoyCAk3EMKt4Dsaq0LD2zaEUw9EhQvRtvn3a6y3b XKJS5tAg5lSsvbzEc/MODxNTFCk11y8o4T6zozwBfnPuLcKRtd+odt5u7NPdne6Dq3yS JOzoyylKuGOaqtxfP71je1miSI1aAOygD1yJSdiwy9LEsybzH1XltHo4MymypQ2xir1C FHyV1nGrTf4KXFpsZrn+zAHQ3cBlvD4Wr7OmwCUH0SksK0PcSQ6S2SacAoIJ25M6/x5S 1rbX8LoZ/i9cywDwDiBTDs5VD6YcyXbeFKGUiREsXWWsJ0qdNruW3rE1eNBL5J+vQA2D 3+KQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CYYxFBJu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-59331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCVLzAh9kqCPboxkodyf1lMwf3KWXqleGgdi0EYeY1RDUhaPqkKO82hGY+oIt28w9Fx4P+AEkpANVEtInsWvTVy5bKkiV+JDfVSNNt06uQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n22-20020ac85a16000000b0042c43a8ce3csi1786621qta.234.2024.02.09.05.02.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 05:02:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59331-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=@gmail.com header.s=20230601 header.b=CYYxFBJu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-59331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 3B6B91C21B09 for ; Fri, 9 Feb 2024 13:02:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 234B5376FB; Fri, 9 Feb 2024 13:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CYYxFBJu" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 B7134376E5; Fri, 9 Feb 2024 13:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707483742; cv=none; b=KL0JVbwLNNvqgwUgQUduy4IF9eidK3D6IaS01TVbrQgooSOK0QYIc5oF4OgGqhMbzgRqQcaLMXkq+NGLRYOoO2DdUbXhBvTJnYzNYIxNa1K5V1zg0XB2Y8/8GN4mWUJZEk14Guy83uRS0JodCu6EkcojnMLuHTtZKpMLmSIfy6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707483742; c=relaxed/simple; bh=ShrkR1d/+57C+ph4fmfFsBp7stRH/DRbVwhenrS8ZT4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=cWkoWCEKK1gtffJh6cYG7bqscYjyY0qzCuhNBvyHPUsYKLvIi8p6sP/B5TBIMzn2n5mPI8oi+LIB/Hj3HzByME4RL6KV70MIepvAZmrF6wPBZDhGUuLED+DmuFGJQMydrW+b3RlbAhlguJEplmxhjBb/v4WDRrRP/VNhZ9R+YlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=CYYxFBJu; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-55ff5f6a610so1110684a12.3; Fri, 09 Feb 2024 05:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707483739; x=1708088539; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=koBRC2vHC5l/EMfPG8n4Eafgz25Uj1Kl9qaBZCE0qYo=; b=CYYxFBJuZRz0E2vaWtmzVJIFBHl2e2FQkLn+/mWNIy3/7wUOFhZ8vkJSvdbgJDdssn B48aVbFNLOVJSTCHUKRC/z68hGPrdBRCu/E0p3MVykNxpUzClYPtCUrSiTxVHdkfB8Fb Yg1UvLSznV+++uFhMRuVlnxgNaJcLJwZdWwZLyVU1vdLVFFSp9S4ql8Kd6vpqtJT9Fvp 8XANhbI/cTCoogISg65+JmncjBJ6q/3OM6gHt2yl74FYF5AQlo1+LOUgxh1c1xNC/ra7 Ui/sFwtJ5qaNiyzBq8tFcr6mHeLnrT0ti3nAiATUByODB8Rc6z7nOY2a6P6wyOyBYQWg 1GwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707483739; x=1708088539; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=koBRC2vHC5l/EMfPG8n4Eafgz25Uj1Kl9qaBZCE0qYo=; b=V4nXEMofaAJi7Vo9/iWNm1+KjVukjxxq3wSICHO38yuof1JNEE+mZ4na02yL3CwsgV hpBAZxZBqYnPRDr0CiwX+EVx7uKNkJ17lWNQVZ7MXC/WBkG0OXDmjXK/q3T9f1EPHYws qpn+AHpMdJ9/4l1UImRdRLQ5vTaV/Ef64cJ+rfCJ5O2db3XuruBNGp2m+FoYEeWbrJc2 azReTm31DNvX7bVr2WTIILTN09Bz8lKoQlatgZM5xR5y4OWyF/LIQMsy1bgBLJjlDLsJ etChT59Yvm8nthClhIqh3yBB4xt2cSOENqK2JKxDO+Kwwbxt1SjLXnOEv3f9FDOgh2Y5 1JhA== X-Gm-Message-State: AOJu0YwOfyT0KglF4cr8nkQdv7XqFP2oSG/u4ackwDnjm0O7wK1iisio 8hYBL2PrNLS2sZoOxGGTEYwfra3bL9asYLHg0NSRLThlsOVzpRDs X-Received: by 2002:aa7:c383:0:b0:560:1c3:e23d with SMTP id k3-20020aa7c383000000b0056001c3e23dmr1399589edq.16.1707483738921; Fri, 09 Feb 2024 05:02:18 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVGtS6HRK/ROjy/1bVrzVpSvSAsxwnTnINr6ZtXSzRGUOxQDaOfXe12gV82LEdhRk86I2d4bcrBc6QAOSyUxezVaPZuxIpTLrXmMk6HGZKSXEvnUhSZrT8GtUWflhOAdb7lFuCU+kTiLHlB5ivCoDooj0mzBCPEP2hwzE8qXDsdnkFXHMKQwsTeeEtr4nJBK+BxdhsKZyD1xEzpANrrVUU9vXU4EhY2BBb+BeldmPJ4xCmerSU+aAbd+DISOMmewCxHTdlji3FBpIOUrB3ThrHlyM55DiQ9OCSn66+gDYSfdiqSNP2mdRN/VvXZRqKuP1cXmLfp3mVsnZSnVFmzFP+fbrnYfgkL4mwfLtb9CqUU6mc5yWQpP46g5D1nIAKCBakkwvZdsRIEtSU= Received: from andrejs-nb.int.toradex.com (77-59-154-235.dclient.hispeed.ch. [77.59.154.235]) by smtp.gmail.com with ESMTPSA id t2-20020aa7d702000000b0056038077ffasm756130edq.38.2024.02.09.05.02.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 05:02:18 -0800 (PST) From: Andrejs Cainikovs To: 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 Subject: [PATCH v1] arm64: dts: ti: k3-am62-main: disable usb lpm Date: Fri, 9 Feb 2024 14:02:12 +0100 Message-Id: <20240209130213.38908-1-andrejs.cainikovs@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 464b7565d085..c49fbce5cb70 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -640,6 +640,8 @@ usb0: usb@31000000 { interrupt-names = "host", "peripheral"; maximum-speed = "high-speed"; dr_mode = "otg"; + snps,usb2-gadget-lpm-disable; + snps,usb2-lpm-disable; }; }; @@ -663,6 +665,8 @@ usb1: usb@31100000 { interrupt-names = "host", "peripheral"; maximum-speed = "high-speed"; dr_mode = "otg"; + snps,usb2-gadget-lpm-disable; + snps,usb2-lpm-disable; }; }; -- 2.34.1