From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 E8A9B176AA2 for ; Tue, 6 Aug 2024 23:12:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722985933; cv=none; b=ACxtdb90H4bGqHScfhbmeWFsccemDQgQJfZgK3TTNAJufEr2GAX3Cg21r5IeL0DV/QRidrDFJ2qI+DMLcUViNUNdUeM9Oa//qqTPM2wFQjKYTQldRT8XJNB8AU4xYJE+LYEXWk/b64Vx+dM1W8TwtI/FT3Wp+4d+MXjqftuEFBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722985933; c=relaxed/simple; bh=DMq2kJlkEc3xJteWGg2lfmyP+Xvv7Nd115bgNW7YIno=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=su4hnG+a4CqnX5eebT/R6RWpmSfLoDwE2uS8Jf+f8mDB/lmthgTkcjk67Gxo3JC+96bUqX1BSNE3dcGZoTvOV0+f6Q7ZlAx85ka1dcoz/H/uy7LFq6JLWhQjZiVxlpzjymcElz7iTmH5NQH1m3IQqBnY3ch8E0a1Ppbhfxpjb4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=baylibre.com; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1fc587361b6so10325005ad.2 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=t+TYkwg3+Zkh+1tBhfk3OzRky33QSiPL4cT5FtprNAUi8Cu0TunRXR0gMYZvl0u0Oz WasK31seD6mnV5i43ycOCMfukj2pPh1N/o5No9KpwQgdnbrmmyP1Y4V+zWTDz1SoamGZ GHMxBffcFZuHEyozGFbtzPtWBK0RSur5cjgaY0KcmA8qItZ7QBBOr1pMtwBKgxoCmD+D FXD9u0p8mo0gJecN9y2mY6MDhMN83/6P+xFpckkEqTNE3IFiQijHoRmpI8SF1LNgYVn6 a8dXyUfr/083hBJ6wjzeqKD8MLeoE1C+jPWKDGhtVrxYq9z+dVf7DzSzXf34ZeoAbt/H awog== X-Gm-Message-State: AOJu0Yy8HXwAkvB8umIAc5GNX3//R9QI2/BRgYjPke0j9poMm6aZyRO0 td1kriTQFEiqGWLn164z7DIYZcCzESCKxSNZl8PrrLBnNliigjwEq7T2fUViG8k= 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> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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