Received: by 2002:ab2:5182:0:b0:1f4:61d5:3ad4 with SMTP id x2csp69398lqi; Fri, 5 Apr 2024 09:59:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxitaNk6U06CAxldYRLZgUch0a2dnpF+0Fyrk0SNjFIo3fwdXAp9VkI8OJmvmgXnbGXN0g5cOglY+YyZLy0Z8uWZk+eQyHG6IvCklNcg== X-Google-Smtp-Source: AGHT+IGAhcN1zQAcWaXHNkzNRkz+qXbVzlaFuEzoY5M7MqWcwI07o5bP+etewPZyVZi08okVkItQ X-Received: by 2002:ac8:5a95:0:b0:432:b42b:c5a4 with SMTP id c21-20020ac85a95000000b00432b42bc5a4mr1532441qtc.53.1712336364461; Fri, 05 Apr 2024 09:59:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712336364; cv=pass; d=google.com; s=arc-20160816; b=prl/xXwZX9KdNMgaV2tCeuzOc86VSXMw8AvqRT1T4UlNWQb2sR95hCzpi/VW+9YlK5 8aJqxW7y5ESS4f3+asPxn7LNxJ2EfTAO2Z9tpyexufbLAo1/cGLhahc7BFB8qKNnDItc JTsbxlMhTo5fP7JWXcHLKdOCtLm0ya73exrn5O2mLGjsSuopgGsIs5fpbLK9iZD+cQlz sDgCEDla0piw5gvI6Jenl7+LDG1VN4IUXPWQXCxGlv+x+Nku/IlI37efvpWzvewUy/Hp 2Bu0OJgtK0cKWgU4A+La3KMGO3DFi/RucQQH3v1owIrK/8AzWAYmWIndf4QPfjqK/UgR nWMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JhpcHXtkXRtem0OaJeR9dhwohBARSQHbfkr0AFg2aj4=; fh=t2Xwgk5RanfJPbICiUtUmjH2Q9qB6cWD9yDE14CrBzc=; b=A3FN+xObsJ309lNCMUWihUiOk0Wk3hdYt06Veg8yFER4tvSqH4EY7MewjoCiiYfh0h hZTjWfPEThWqymK8h256MlwSPQe+zFXVWp4TeGA+lFur9GYc5lKdFS/1hpE+vrJCSxVw +DQJsIjPM+V+Knzm5ot35l1jTnYY9hvqzu6k2tAYtv2l+t16xvvk3AZV3KNLfNNm377B tpQ47RW0kmva6SX5G1eH0q331dcmZ9X/lhkZXJNlQYn632sai//92nK3YUfousfEsJ7C 4gLR7he78+eUFCtHTlChwkuk3aJoVSwNJQBsi41b6KjvWz72tQrHo70eplRnr02RQOWR hQbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lP+u2JXZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d21-20020ac85ad5000000b004346094de7dsi1473931qtd.338.2024.04.05.09.59.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 09:59:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133377-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=lP+u2JXZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133377-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 F072E1C22D61 for ; Fri, 5 Apr 2024 16:59:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33580171674; Fri, 5 Apr 2024 16:59:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lP+u2JXZ" 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 4A464171654; Fri, 5 Apr 2024 16:59:14 +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=1712336354; cv=none; b=WsgGmPNuI0gLeOup8bH4VVxiyrVToUSlRAl0a5je3jMscdoRZtRinIkkcePhdsGaugaBLit9ygXKAbaHuCdaSVVeAxDEx0fhxj3Iy0NLDDe04A1Lq+IXTV3WB6B9VbRjOj75Z8xAeY9xiE0H0Bh9BzVEZMD6OSgOS9K7x8m3aUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712336354; c=relaxed/simple; bh=d/B9BUVScbOGJpc3/gnx1X+oCXRIadBU2xdDvQPlLYA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eVjVXsS4FRwGFQksLL3cTFHV2dVTTI5+BkpV3XbcqvwiK+1xXZomgNYtAtmVFqXCoOQ8ldsiW8T26g7orQkIdDL/HA0stwLq0loSN0v5hk/ZIuOWljM8r6FzKAKXb/+FtmTlNJfihKRbI6ot6Mxr7xItuZwic96+ZcloPz+3hU0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lP+u2JXZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AF4EC433F1; Fri, 5 Apr 2024 16:59:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712336354; bh=d/B9BUVScbOGJpc3/gnx1X+oCXRIadBU2xdDvQPlLYA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lP+u2JXZ9n8HUkFq4xNM0Ac+TW30ZZYeMNJSfpYqo4IUEy4JAzMYGqerY5AW/9VWP Kcd1UD3ByKFFaHpA0x1F+um1ud6Z78Q15h6CH3TXq52yZaYBYRD0x/EsypM0TflpqT cDPU8kFs7QA0/ChNKfaZcMBWgYywX0zAsDzwTxnnra1rHnj9cY5PwWmTbRWWh8k7r3 8jTZRdMdCPVF1XicJyCuO4ET5XK8kdGhCpbgE3eiVXf0Dfx5I85nryWJSNyBY4E2f0 m6hnSRRZwRN1BM9/muMUrH0XdGn+Fv+nzr6aBbHDY8nvDfAaxIMocW4oTVB+LrQ1CR YDXWG6in03LRA== Date: Fri, 5 Apr 2024 22:29:10 +0530 From: Vinod Koul To: Wayne Chang Cc: jonathanh@nvidia.com, thierry.reding@gmail.com, jckuo@nvidia.com, kishon@kernel.org, gregkh@linuxfoundation.org, linux-phy@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 1/2] phy: tegra: xusb: Add API to retrieve the port number of phy Message-ID: References: <20240307030328.1487748-1-waynec@nvidia.com> <20240307030328.1487748-2-waynec@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240307030328.1487748-2-waynec@nvidia.com> On 07-03-24, 11:03, Wayne Chang wrote: > This patch introduces a new API, tegra_xusb_padctl_get_port_number, > to the Tegra XUSB Pad Controller driver. This API is used to identify > the USB port that is associated with a given PHY. > > The function takes a PHY pointer for either a USB2 PHY or USB3 PHY as input > and returns the corresponding port number. If the PHY pointer is invalid, > it returns -ENODEV. Acked-by: Vinod Koul -- ~Vinod