Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp485214lqp; Thu, 21 Mar 2024 07:12:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWd5THu1jwN+CJwLGT9rxa7sKe/DbMWNtZdskNtZekdUm0NYNLx1KJpWoaSDZMWGvSct6+gNQfrKLTRnMX5JKnrTIEm+RXRedQ6w57LGA== X-Google-Smtp-Source: AGHT+IH2klShZxQj6mjCC3QAzvQYdycxjRFLcf80sZJjhokMI5sWjaRytWe3ZxGwmjnCICXhP82G X-Received: by 2002:a05:6a20:bcaf:b0:1a3:4c69:6030 with SMTP id fx47-20020a056a20bcaf00b001a34c696030mr4636320pzb.54.1711030348699; Thu, 21 Mar 2024 07:12:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711030348; cv=pass; d=google.com; s=arc-20160816; b=m133lOjOuCGyi2LWYRtsVCHcE4K3ULMlSRtIvCtZs98xM7hqXU89y1rlDZgNS637vZ npWCZpsppRIOzwURS2O2C4MN/lDCSwSOBxT4brbeuUTx6UnbiEvjmF4RlmqZRQmwStM1 zVRRubStzrxKNSZfMYwS/lEv/27/j2Akfwl4eiih2xWGOPvhkuWmNVKyvuzlMW37uEda /HgvwyKBIV05TuhTxcQYCK7Mx8TQVZo/GmCIA5yV01o1d5mWj1vTDqM6BCVPobhFUSSY vtwKrSY09jQZvJZDoqWZ5+4ux+eU4TUhcowEaq8xbKqPICU3LnUynSH9u9o2olxkYKpR +hkg== 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; bh=ulRvH/J3oN1D4B5gf33kHkr7GoeTqM/zO899GQ+Crfw=; fh=+/JBeCU3BNLiqkFk5sRaIi5+2QYXjsrnp3oug0m5ZME=; b=RJjIHj9jYhsfwYsxqkBTOe5Ww7T4MeQUn5GprUR/5c5wAssJ6r3QafbFT+AFxdgnjD 83SE080hlf9C3H74pxQorn7TLPw5tVDBmSw1DwXabF+tZRxAQdF3lUsV60bzjdyI2rEZ tiHuy5/Vj650+sp2+E0IqOKfLiBJAxf1kXVGn4riKtaHwx/wmGWWY/FeAI4zvMw0t85g qHi2M1N5pn3RVYulls6q0dkFjxnCgeIuzY4Yr1KMSrGjae8/hmvuR9IJznWCqhOimVLR V6x4u9bGlok1eS+l9dZ0gnHIRR3ZrMNMcuOjdJ8Y+uBSaLmi9sL0OfQHhm952iVpysA9 aVOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-110126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110126-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f15-20020a056a0022cf00b006e795688a84si3773000pfj.261.2024.03.21.07.12.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 07:12:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-110126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110126-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1D668B2124B for ; Thu, 21 Mar 2024 14:12:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4ACAE84FD4; Thu, 21 Mar 2024 14:12:19 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 64B8A84FC4 for ; Thu, 21 Mar 2024 14:12:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711030338; cv=none; b=TmYQOr8WbH9pR+HnuF1oAy+2VobN5MpFzlBGWxg908q1YxDcJZD8NVF0ocqNlmZaIxH2hFghhwqKp4RFwlxAmECxy4/oo2Sldl+JL0XNCD8nxRF0dsy5WM4frNHLCfdZi6kvlbIl34qAKBlxl/qvmiAZBAFiSYbri4dYkbFXWV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711030338; c=relaxed/simple; bh=hYKb+B81JZWuRL8wHIsxuFruFkxryc76n9zuvVbBsYo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nedFt0os0+ghilMSOkrXqVZCLTE5vdaoEqhy5gDDnPnr3dcRCvRi0Sol6a3I+W1N/UJLyxvHLSU6NT8tGG40dk18vBoOsCAzxjKHUQrNe0GgenAyzKpxlHEOr+0jLd+T9mRKxSMc8f2IdrjKrMkAD5myl7t7WlcDjCT/tivstMI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rnJ9D-0007Gf-1R; Thu, 21 Mar 2024 15:11:59 +0100 Received: from [2a0a:edc0:0:b01:1d::7b] (helo=bjornoya.blackshift.org) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnJ99-007fFS-Hl; Thu, 21 Mar 2024 15:11:55 +0100 Received: from pengutronix.de (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 215602A8CE9; Thu, 21 Mar 2024 14:11:55 +0000 (UTC) Date: Thu, 21 Mar 2024 15:11:54 +0100 From: Marc Kleine-Budde To: Shengjiu Wang Cc: abelvesa@kernel.org, peng.fan@nxp.com, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, shengjiu.wang@gmail.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] clk: imx: imx8mp: Add pm_runtime support for power saving Message-ID: <20240321-banjo-glider-767ee4368dc0-mkl@pengutronix.de> References: <1711026842-7268-1-git-send-email-shengjiu.wang@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6tie6ol7qkt2yffl" Content-Disposition: inline In-Reply-To: <1711026842-7268-1-git-send-email-shengjiu.wang@nxp.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --6tie6ol7qkt2yffl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21.03.2024 21:14:02, Shengjiu Wang wrote: > Add pm_runtime support for power saving. In pm runtime suspend > state the registers will be reseted, so add registers save > in pm runtime suspend and restore them in pm runtime resume. >=20 > Signed-off-by: Shengjiu Wang > Reviewed-by: Peng Fan > --- > changes in v4: > - use struct clk_hw_onecell_data clk_data in priv struct Well done! Looks good to me! For the data structures: Reviewed-by: Marc Kleine-Budde Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung N=C3=BCrnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | --6tie6ol7qkt2yffl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUEC6huC2BN0pvD5fKDiiPnotvG8FAmX8QCcACgkQKDiiPnot vG9N5Qf+MFE6Uwi/4mzSsaklYvqgzCsLgerxRmozvrrscwMpR53/I0SsCtgThCiR pXeTSrtU6V2UqSOz7ncrh8KgDET9uzkHHy565JS4jiTVIMgfZ5JfD8GBIHOw8sxc 5ZNrefSDFD8sKP4PbQy4rSmzpk8knh7wbmLI1U+hCfyeYqcUD+rG314XsR7hk0EK gsVyZtiQuV6bLzbUeqMHQRE4r+yXRAaWAq8dcR1Itthb1rsHAvqDxmUCIE9jIWaL MfwLXLRkNdycxtXJPvEO2sDu8yYpagL7zTwJHS8c5X9YPAeSTwhxmlo3jc83GK5o G6QyJYf7lw8YD70L7D8Ais5glkwVAw== =WMvz -----END PGP SIGNATURE----- --6tie6ol7qkt2yffl--