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 D2530C52D6F for ; Tue, 6 Aug 2024 23:17:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eHvOUHVF484pqpTWXJ5WHdMzkUytQAD/PfLI3ruJQWY=; b=Ghx3ya0CW73zQzGZ0j18u4Jb6w NLsq4lCH2OZ26OhPoL5/9XqzaDJm4b9ugoSnB5C8V2kkq4uHDVf2ePJRtwxi0T+wKtAuR9bE9H6fT zoTMyp/AX9o6kg0mBEfH00JbrXKU2TveZbnAFw3anhwe+1j1uQbInD/HiCUe7BRJwixZ5pmAHJQgf kksWTNGPre3I2f8h5ZoT4NCwWVnUBNdctr5ncMx+EqPrOgFuKjzrdzBxi06GxcD297E7XmNSyV3o8 H1R0tx3FD7JcLHW1PyrNk0JplBhw/p+mhifL9mbee8EBN2JI/YRIx9PynDtQaXwsB/zvy/rImvMYA NTMRisUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbTR2-00000003I1N-0cFr; Tue, 06 Aug 2024 23:17:44 +0000 Received: from mail-pl1-f176.google.com ([209.85.214.176]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbTLg-00000003GOk-1eHC for linux-arm-kernel@lists.infradead.org; Tue, 06 Aug 2024 23:12:14 +0000 Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1fc6ee64512so10487075ad.0 for ; Tue, 06 Aug 2024 16:12:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722985931; x=1723590731; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eHvOUHVF484pqpTWXJ5WHdMzkUytQAD/PfLI3ruJQWY=; b=By2cqOqa16rLM1Bz1pEuUj/qJJhOtUMnWUKLGo9LeWFYrx9jZ7XgBzjiDvI2Mmt83a P3Z6vf7T3IPTsrrYC+KDCTatnEWn3RPEE6HDT0DkdC/pvgmbeeWqqbzyBBZoUHt1VXEC qJ1LIufreIfixy0pRFfaA6rbjJeMb03VHS/1w2sZls9lOrCBlcEgy38milXEcG3b7iV1 ux3nXXQfyBRNT66z7rMPcsKEz48PPMXibNrEkRtYUaOw5Whj+nHXtmcnxXfzzZiqj2O6 P3O5YItuepxI7JfMUhAsT5IWpdhGIH01z85WeFTHZBZYJJk7YRbOj76vbycBom1uxp5I LCjA== X-Forwarded-Encrypted: i=1; AJvYcCV+sBHbSdv0ZZsBgb/lNrsgkIpzP1E8e3TJW+/eYzPObu01Ll3SBQYvzOPdUrcF9FQVtHPhN8oR/wCwNl1Lb837HrxVYSElX751GQyfPJKKqZ9R1Ik= X-Gm-Message-State: AOJu0YyoSYe9iUsKaFHecjng3c9Vn8lXmv4UDuzTAnkf9IAuGJvI4bLD hh8PMw0U0UR47XWAl8/BAqbbeaYMe5FBPr8TYAk6kZcMKbIK5EOe5x1gT4bGcC0= X-Google-Smtp-Source: AGHT+IF2XISxsT4sWuNj0HiPdnmOuYV/EBGKNkRQQ9vxykYCJEvdbZRwIein/pB/lPLA/oDfnX4Bdw== X-Received: by 2002:a17:903:2442:b0:1fd:78dd:8578 with SMTP id d9443c01a7336-1ff574e27femr154538155ad.55.1722985931220; Tue, 06 Aug 2024 16:12:11 -0700 (PDT) Received: from localhost ([71.212.170.185]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ff59058512sm92713685ad.135.2024.08.06.16.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Aug 2024 16:12:10 -0700 (PDT) From: Kevin Hilman To: =?utf-8?Q?Th=C3=A9o?= Lebrun , Roger Quadros , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Chen , Pawel Laszczak , Mathias Nyman , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?Q?Gr=C3=A9gory?= Clement , Thomas Petazzoni , Conor Dooley Subject: Re: [PATCH v5 00/12] Fix USB suspend on TI J7200 (cdns3-ti, cdns3, xhci) In-Reply-To: References: <20240726-s2r-cdns-v5-0-8664bfb032ac@bootlin.com> <37760e53-4e0d-4275-8497-1b51dcf72d5a@kernel.org> Date: Tue, 06 Aug 2024 16:12:09 -0700 Message-ID: <7h7cctw8ja.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240806_161212_491192_C2BDB521 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. 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 Th=C3=A9o Lebrun writes: [...] > Some TI platforms cannot tell, before going to suspend, if their USB > controller will reset. Suspend behavior is defined by (at least) two > features: > > - Power domains. See arch/arm64/boot/dts/ti/k3-j7200-main.dtsi: > > usbss0: cdns-usb@4104000 { > compatible =3D "ti,j7200-usb", "ti,j721e-usb"; > // ... > power-domains =3D <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>; > // ... > }; > > This `power-domains` property implies that even s2idle will reset > the controller. minor but important clarification: not *will* reset, but *might* reset the = controller. Kevin