Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp744929rdb; Thu, 22 Feb 2024 20:11:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZG/ZuoA+6SkUlUeEMfsPhyZVVGZLLZC8vr7bd7gqQBLwzKCj0aNBaA/WsAAdXSv5rnRUSXJ+xA4Dr345g2v9Ko0PDOY9yMfT0pYXX2g== X-Google-Smtp-Source: AGHT+IFBgDDnNkD5tWK4wkwijBhvKSlRG8I/SxfyXwOafHpIhhlnkZ1sVlqWtWo4MT02DMSgACKd X-Received: by 2002:a05:6808:10cd:b0:3c0:347c:556b with SMTP id s13-20020a05680810cd00b003c0347c556bmr1091182ois.28.1708661518169; Thu, 22 Feb 2024 20:11:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708661518; cv=pass; d=google.com; s=arc-20160816; b=LvlzNmZ7DvWh+JeBoxa+n9Y4896/0bpXXwgGiqJ3klezBDHXsh1Zpmg5Tj62/pAHUF Pbx3zNMSWV6oZjY/QW8OuHyupwQguclLcKPaAklrOv6gKsF6yzm3va/RN890VZxgJ3MW Dfaj+oL8h4Xq02FOOtNKxDmUC+DiV9dxvtDOFUNFbOHojn+lNaYRYPJfyPZoulPeplN0 NCF6Tb2q68jVkBkpeX+lPlWLifvxqJRiQ0ZQrotrt33SJXod70DeLc5X0JcVIX+L49iL 96WTc0/JTk9xgOM+AVsjrEEFDZ8nLz0krJoWkdaxe9v6qITTsoKNco/zmAGMAqrp3Ba4 ke/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=yQUJZVfmornLnHyyNtxR/1iUwmJe5R/YYq9n8rJPY20=; fh=v9eDaXLBM4EIWvXGxm7HVV0FdJjPOnBmQsTyxhEFunc=; b=XO3Ew+inaUhcjpBiIH56s/DGXqd7kKVGfQR4RrWA6CiN7TlHwfrT/GpOi2fSuKMbvk D0+Pu9AP8zMB7GnvRMm1ZdmTpOyiC76BGVaYUamHxFc1XP0XBMLLkUzCh0oNZ5c9Gu8Y rsyDlyTNi3KxMhvTtOC5EDFkxXWL20D5SjdnFeTqlUMtiPt9VynuIcCv4DzIcwnDKE6Z E+aOqlYyoQiKUWeJPhgC67WqSWUHDh+520k4neOazT+pF7F/0v6B+vHMyJcj72tnP7wl MQ5ORiKCMaHtHeEK6F3qfkEwZITXNhiYT/BRlDJn9zlIyPH/OLK9q3X//1TaoA0Pv07q VpLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pWTmeLFu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t23-20020a056a00139700b006e40576438fsi10092557pfg.245.2024.02.22.20.11.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 20:11:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pWTmeLFu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77742-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77742-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8262DB26389 for ; Fri, 23 Feb 2024 03:52:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 860651173A; Fri, 23 Feb 2024 03:49:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pWTmeLFu" 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 A24562CA5; Fri, 23 Feb 2024 03:49:50 +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=1708660190; cv=none; b=oxfJ+JWkwJ1+CBA3F2LwiFUY9lF4k06aD2v6k71WIpXX3eC2G6K+0xsazai5Zqx95i7v6rvLW3/Kp0sR8f25SlneU12yyFhc8FwyDOMutOYhjN9GNvL3MDX2PU/dzkiHwzTPML7zCyZ0yYGzgtm8+5y2hqy0XrZ2DGr4qRJBSKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708660190; c=relaxed/simple; bh=FABj5PqTYhnM786LMrFtQ0eBls3CUT1p0QbNHPCEQCs=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=IadMFZFvRZjABMqKA/ZjSU44eFoHSWxpASg8ivufdFjus0ZckTRTRCupAuobQrDO95tVWyukZfAjJWfdgXXPOY7DIqfXraeFh1/KfWmevsWL9P/QRgnFw50V31XVlk7t+Zlzz0VBb1ao3oxIjdjNVrb9KZynihbeALgL1fES9qc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pWTmeLFu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 6E36EC433C7; Fri, 23 Feb 2024 03:49:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708660190; bh=FABj5PqTYhnM786LMrFtQ0eBls3CUT1p0QbNHPCEQCs=; h=From:Subject:Date:To:Cc:Reply-To:From; b=pWTmeLFuio0Ad5mcU+z4JGB4eT3C3VXIbezT4tSRCwKbeC7UUBV2XBJVMggGBirwU YOoYcgQsk3wluZGgxgkPApCfx3Gox4oilEmE2gKj0PBYYJV4ItAQy6ataCGXfOo8ck pFRp40DmNTTlQzkmOvyolJJBBS6B1xBYu/eiKrZxVASV83RKD/x8fYgixAmAY8k82G +rkNLGiNq/fvTW7km70I7puU3hu2Wu3uav0UVRtpENoA9ULvOOaImxjrPwmgWg8mJr BUtlfDAUggFxRV8wztTArEZXZaWsV5ibb/2WvHBCo+n5NecyjhssF9jqIo5pDmD4AK YYZpgBGPLWAag== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58CCAC48BC4; Fri, 23 Feb 2024 03:49:50 +0000 (UTC) From: Yang Xiwen via B4 Relay Subject: [PATCH 0/2] simple-pm-bus: deassert resets if possible Date: Fri, 23 Feb 2024 11:49:45 +0800 Message-Id: <20240223-b4-bus-v1-0-2803c3ac4673@outlook.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="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANkV2GUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDIyNj3SQT3aTSYt0U02SzNHPTRCNTw0QloOKCotS0zAqwQdGxtbUAock 28lgAAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Philipp Zabel Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708660187; l=658; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=FABj5PqTYhnM786LMrFtQ0eBls3CUT1p0QbNHPCEQCs=; b=lAjMgm0upwe5GNEV4wO9MDqjNe+0Gto1rn6DLXSaTmlZoFGjD2+RXTGbL9uwWw6+3sir5+WNP tQQ29dl5Rw1AQ8/E5UGsm02f5c26NWy06kxgA0nYOhW9ArEmiBAfR67 X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: simple power-managed buses can also have resets. Get and deassert them if possible. Signed-off-by: Yang Xiwen --- Yang Xiwen (2): dt-bindings: simple-pm-bus: Add optional resets drivers: bus: simple-pm-bus: Get and deassert resets exclusively Documentation/devicetree/bindings/bus/simple-pm-bus.yaml | 7 +++++-- drivers/bus/simple-pm-bus.c | 14 +++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) --- base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d change-id: 20240223-b4-bus-d5c6f75a251a Best regards, -- Yang Xiwen