Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp323651rdh; Wed, 7 Feb 2024 06:02:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGs9EOa8QxTCmFAaNu1JwAOoVnhgqsh0686tS+4y/G8gELhU+Pjyj9WeqI1ZjYKF7LN+A0R X-Received: by 2002:aa7:c991:0:b0:55f:6b8:b2fb with SMTP id c17-20020aa7c991000000b0055f06b8b2fbmr4291008edt.1.1707314551999; Wed, 07 Feb 2024 06:02:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707314551; cv=pass; d=google.com; s=arc-20160816; b=J4LNsxc8dLFu3maL+nKuDSNptb3pvSCAK3LPhpek0DUVwIMV8i5ji+Oeqw89UtA47X DcmXzpIO3XimJoTv5OWZ5venPHkIS/5QEiBAL4+vHmtG0b3RVSNc7B3ME52UpFPIWkRh oh+Kfdonz28b2TbMHGyXhLB/BRCedsZCJrDggd/Br7NCltVgWSRg3r2CvR3e/6yCh2Zi GHLQws8NZJ+DeZJMbSToI6GI90dCNUJ2fqFv0GjT/JPe8vGO3g7uSUlnOKWQDOySVnbU RDUxILpHy4raioQMGZVCh+3pC6saA/mukRpD9nZ75xl1KE2NjkrKLowqqIcE8sf9dtoy 7TsQ== 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=n6GixkO6A9de8J677p2Vg3GMEjZiPu9IhRLkRoiBWPs=; fh=Q0F1cht+52mmwZ8gbquGef8y+4muKIZ0EFNy+c44hRs=; b=H/psaDS04JfCjGPAbiE0ex3RtClLDG/tILh6FenuJQwMzSqvwQ8bPc3uNQ89sd+PA7 +P31IgaH7OO6v9YYWGH+EmXdh/rrkE3lOF3UAlZ0WEmRdC66t7xfDDyBQ+EAWG9eOeSe bJjIbxPwJ3vaqvGceLmyAU7XTJnsLunmLTf2laF0w/aFGvZt3xSb3oqnfnPR2EsYInTr /6Gszu6CZ6kP91nFPnEreAExeKCF72AmGzm26YASX+4Lr4h8xnVMG0kBlLk3SbGIicuv gtWdK8KQyvMJQSXf75vK79mbrFWvOgFa4msJgmeI7srjZaz3RKvQC2YvhYW5d6CNkZS+ QgpQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=slFWABO9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56594-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXs0WhonCjVDE+REQ52AIKoRMnIWAj+/wlenpOny55/tnOHeIKJxN93B4Gb6vfuq5NgnzVnEuDZMlp1QUfLAIDAuj28Gv8XJQp2vLRewA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r4-20020a056402034400b0055eef1ceb3dsi916975edw.197.2024.02.07.06.02.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:02:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=slFWABO9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56594-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56594-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 170D61F22807 for ; Wed, 7 Feb 2024 14:02:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2CD67E76E; Wed, 7 Feb 2024 14:01:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="slFWABO9" 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 0EC5D77630 for ; Wed, 7 Feb 2024 14:01:35 +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=1707314496; cv=none; b=lTj5oM+FrXjTjZndDch4Mqi8/vtYtsikoe7prA+dx+Ze2ht/v3zhPDc3lcR5+VP+iVssbKs0P7VBmR0RNy1FkPAN7muBYsNPxZBzHldEtwUtXM88TFH46yvJC+A40FTqz1FloZFbUw/0b4n72vhTJiAwOlpF0HVnLOT/TL2aOYI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707314496; c=relaxed/simple; bh=DBW93eoiTOGNMTaQDIpoBf6GGb16/dyPd9SHQcXcCiM=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=DGbw8V0uQycHSmJz8k0iYNNifDU+kYevXgmkInm8p3AcRzQVc7Or98k7NrC+8sGLrS2Wvhx8+NRjB3Fbk58OqH9wBD+2lDXPJhb7APTZyvR3RtlMEL6JgbNqHXzhsowKsO5uuV4S7601MYh6fnVFnzkoUy+i8Ln7BDXw+1FMUa8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=slFWABO9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B24DCC433F1; Wed, 7 Feb 2024 14:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707314495; bh=DBW93eoiTOGNMTaQDIpoBf6GGb16/dyPd9SHQcXcCiM=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=slFWABO9qFaXy85EHmRnfvVNbLeVSRQdFtUArjUkxzvnsQWXm9E4oWmzZ9LU+0t8c pIMwdvzEBCsT+I5wdLOCpqmzWd4UDGFfGgS6MA9vuGCMD9cWbtca2IFelDU6HF/3Ao Z6TIv2fn2GzKTEyRuwkk24XIaTeSuwBR9IJLjfUB5FLcJGlfxxJUda4qKkLvrDFuki QG/N5LmAahnQRSHS56YwMz+Tr/0uBJQySP1eFjonUsx75LPAsXhv88ZSeV+KSN6r/e n1/8QRQksbMbdZwhZYtt6uws/1mFcpGB0f4I0bvqk7Z/Jupg67NrRLRB7zeRmFGDCC KId9lB1NV2Shw== From: Vinod Koul To: kishon@kernel.org, Thomas Richard Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, gregory.clement@bootlin.com, thomas.petazzoni@bootlin.com, theo.lebrun@bootlin.com, u-kumar1@ti.com In-Reply-To: <20240125171754.773909-1-thomas.richard@bootlin.com> References: <20240125171754.773909-1-thomas.richard@bootlin.com> Subject: Re: [PATCH] phy: ti: gmii-sel: add resume support Message-Id: <170731449338.147119.13043324915980323672.b4-ty@kernel.org> Date: Wed, 07 Feb 2024 15:01:33 +0100 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Thu, 25 Jan 2024 18:17:54 +0100, Thomas Richard wrote: > The resume callback restores the submode of each PHY. > > It uses the submode stored in struct phy_gmii_sel_phy_priv (variable > phy_if_mode). The submode was saved by the set_mode PHY operation. > > Applied, thanks! [1/1] phy: ti: gmii-sel: add resume support commit: dc7c77bd79ffbd4c2840354a5da4b08781cb1ee8 Best regards, -- ~Vinod