From patchwork Fri Feb 23 13:12:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 13569143 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 15D43C5478C for ; Fri, 23 Feb 2024 14:20:46 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y8fN5WzPbfbTyMP+/QYG4NRcdi40WGJxVJY8GShxqn8=; b=ZVtZdIuUThq0Kh wMoAmDTavG8BxcdEDPwtRyclTV6jbZU/CTc33Ba4RyFIla9yV7nfgaN7VNl3kkvZQhwgjTZ3NBvzg lVYXkKHxxZklSq6GVtL4tuL0ZCmALyPrK7r1aslszPa5OUp4LBQ21Vd+B/xdxu86bSk2xlxmq6kJs cJtvpUkTMEqv5HDMVo1tS/ea9EbRbCjANZG1r5mBf8FpQ8r3fVB7H14AKXPK5xnWNtP+zHT2VptcF i8IgwVqToP1sgHGXyEUjQkLnWYbXbs6jR29maN2dq7TSO/qMYVndIyk54To0INcw38APE+aul3V28 Ic6HtlN/hYxH2FQr0ZfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdWPt-00000009jrd-1rMN; Fri, 23 Feb 2024 14:20:45 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdVMU-00000009TxH-25f9 for linux-arm-kernel@lists.infradead.org; Fri, 23 Feb 2024 13:13:14 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 99686634AC; Fri, 23 Feb 2024 13:13:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03E29C433F1; Fri, 23 Feb 2024 13:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708693987; bh=Ia7B/FTNmnvsDKGGZT1idUgrWrwpUdfNfZY24Zv7oDU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=a6aJ29r6nAdNSOo01176zFTLT14uB9a8Hzs4cH7RkF5ocw1z80qpCd15z9vBXrjV5 UpNPBi0k9ZIOWQ4pR1VeFEbIIA/bSAE4CmWSLvC4kTgJkMwL2qxCnwAnVxfdF/2NYc f6fTaCpEiDOV1fmgf+EPvNYTEXPdkPcR9Fq5920hGvHeqT+022mQSiD62gwgrpFk7H kjFt80mBLystV/B/iAUDUkjLpxEoRaGbey4QEddOzzt7zRw+iPGdPFmSr1cdyhw1Kj NdIXTDUBWbOPlm5jA9dSUlxWdwVzQbvS+bT12cCRsxZGvpt61tXfoxv6OCCg+ipRG0 u+m+h/1yhqm/w== From: Roger Quadros Date: Fri, 23 Feb 2024 15:12:41 +0200 Subject: [PATCH v5 4/4] arm64: dts: ti: k3-am62a: Disable USB LPM MIME-Version: 1.0 Message-Id: <20240223-b4-for-v6-5-am62-usb-typec-dt-v5-4-4b5854d17d18@kernel.org> References: <20240223-b4-for-v6-5-am62-usb-typec-dt-v5-0-4b5854d17d18@kernel.org> In-Reply-To: <20240223-b4-for-v6-5-am62-usb-typec-dt-v5-0-4b5854d17d18@kernel.org> To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: Andrew Davis , b-liu@ti.com, srk@ti.com, r-gunasekaran@ti.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Quadros X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1242; i=rogerq@kernel.org; h=from:subject:message-id; bh=Ia7B/FTNmnvsDKGGZT1idUgrWrwpUdfNfZY24Zv7oDU=; b=owEBbQKS/ZANAwAIAdJaa9O+djCTAcsmYgBl2JnQic6W1dmFUnWohl3Du6PlUiOwrkRvkqRwX hoBvVdq5GmJAjMEAAEIAB0WIQRBIWXUTJ9SeA+rEFjSWmvTvnYwkwUCZdiZ0AAKCRDSWmvTvnYw kz9UD/0cevH5+QTgEEpTt9ewCR0vTKFFEpHjrEpAWuD6h+dlLH0g7ZLvkprg9yPtl3W/KJF1L7+ xPuFFIqaY8VDYKi8jM1LLFoPFOozrC8lxDizkvZXN13pdJPoOUevQ5ecjO8vwIRFg6CsiJWJNlp FBhD3k4c3kNhg52YUcENxbxG+00TXztjko2tAEw5WWEqThWAAy3KoStSP5y2SjYybfWR7VSqwmg rrS2s3A9eO+eYOm7rBwW6FdF2R7nnDSwR99BKfOhT1Am81o5iJn1pZQAcCfqHIgrA+qAOeNv5Ls NVLWsAm4g7WuSx+MJpRS891IBPMNkNfeGrvGqoX+tVV4UYPbRf1RS5UF5eprNvijk9MWP/lY4zD xMtp4Y+FPz5rgIo0oY7wclqRRqq+D++xtKHYybkqtovXNvTZTa7eBLgi8mwucxwaG0g1vTw7Qic B0QtybIkP44LRmQ+I2prRvep9JNQPK1ndlimk072UaUHqyqx2ATYuo45qBDXIe/l8O1G8bmwB2R BQetzd6xFHV83QQvldm1DvdhHaCs4ph3HUmfpHieIfU7S9OODP42OSOpAYcsG3Vmb62ZzDuQ+f1 SL+6HGALxrYuUk3LfQ2Nzfzrw0UkRHo1/8FXWIqv/PXvXV1KWa0PiJgO/DTztwCVZ0aub5l3mQl vqGHwhI088ZKRxg== X-Developer-Key: i=rogerq@kernel.org; a=openpgp; fpr=412165D44C9F52780FAB1058D25A6BD3BE763093 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240223_051311_028923_E407F40F X-CRM114-Status: GOOD ( 10.04 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org As per AM62A TRM [1] USB Link Power Management (LPM) feature is not supported. Disable it else it may cause enumeration failure on some devices. > 4.9.2.1 USB2SS Unsupported Features > The following features are not supported on this family of devices: > ... > - USB 2.0 ECN: Link Power Management (LPM) > ... [1] - https://www.ti.com/lit/pdf/spruj16 Signed-off-by: Roger Quadros --- Changelog: v5: new patch --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index a158df0d0ba6..adaf578280f9 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -621,6 +621,8 @@ usb0: usb@31000000 { interrupt-names = "host", "peripheral"; maximum-speed = "high-speed"; dr_mode = "otg"; + snps,usb2-gadget-lpm-disable; + snps,usb2-lpm-disable; }; }; @@ -644,6 +646,8 @@ usb1: usb@31100000 { interrupt-names = "host", "peripheral"; maximum-speed = "high-speed"; dr_mode = "otg"; + snps,usb2-gadget-lpm-disable; + snps,usb2-lpm-disable; }; };