Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1681733pxu; Tue, 24 Nov 2020 06:33:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCkqGVlHcwwwCRpguKh1q4A2JhSDltmOsOLpZHwbrrCXRqJ04dGxCor8dc/w3uGAMxNs3L X-Received: by 2002:a17:906:4149:: with SMTP id l9mr4422981ejk.48.1606228386260; Tue, 24 Nov 2020 06:33:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606228386; cv=none; d=google.com; s=arc-20160816; b=c5sxh6pxRakBnadhEVthFIO/enx6iNqsKz64A8CAmxpeGruZYFIgaGI9svPOsnsT9l WpQLKMmCOpUxbGJJrTezb0kYY9lv+4rKQMoXCfh59XeLvgv+1fUbGaZ6b4OBDVu/c5pm DS4AJCxwuaQCOq8T/J7/MxjTAhXyfAYv8yX7hw3WhHCRM509QsEF9qbTtxSpFzzPfR0y T3nsdmyTXOv0bszO4Kzx0ffGv4PLsuTjCQrl7TyE1En6qUKgFSX90gxG4A3d8A8cWqTE LCY3k31A3O25vQRr8HWW6UXpfnuDQ1R/pNppo0VBQ4bVdbR+kcleBKquDJmX8La4JHgv HvZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=JTRY2CpqUesYkJOvp9c76LrBGIwtR2cAMy3w5x4i/2g=; b=CEAlNAar58Z3Kv/Gs11p40/xAoYI2znFaGPldgYgm2o42i2FISOv8LtSXEXSfGFuRx kP41VnA25zU+gcjwzTNuE2+HFG0BXxftZlxdVx17YtqtXPHBjr268neqZgC7xKvlQETP heF1xVfuD6g1aUlNmOJpO1GZ6WYmWj7qzfOlUOnQEiYKM6CbpKyWWpIkI1qHvQi3MET7 4KoJkkqw+g6LPP7sCD//6NABqGh0rpsSfhtwo7ZJkl8BNcMYT3h82Unv5ZFlS5xB/Vxp ajhUDKudYO858v31sOoiuVyskt7kNSFtVBYyl6h1F35f7RQEtsUg8kGBM9/NyNXU6joq 7noA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=KLWljQGM; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="Zr7o/o53"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n18si7479087ejy.547.2020.11.24.06.32.41; Tue, 24 Nov 2020 06:33:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=KLWljQGM; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="Zr7o/o53"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389016AbgKXO1A (ORCPT + 99 others); Tue, 24 Nov 2020 09:27:00 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53527 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388132AbgKXO07 (ORCPT ); Tue, 24 Nov 2020 09:26:59 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B5FB95C0135; Tue, 24 Nov 2020 09:26:58 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 24 Nov 2020 09:26:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=JTRY2CpqUesYkJOvp9c76LrBGIw tR2cAMy3w5x4i/2g=; b=KLWljQGMqHPYwjCbJpwWZNNB8FsNZa036Mh6yeJ02Ur Afwp5iMw131+Z0OgD9BC2dXG0F4X7iENdYJTQyLbeKUGdKtU/MEOgs8BIZsjm2pH nwODMSGnUg+/Mbnn/5c6sDil6MDViOPm6fYc7Ui5PJDd1ab1zomU5IMFJ/JkPu5H ncrGbUczOAg72fmn34oRA+lkZjEzsoLvxr7JwyDu7S3YBc/gH3vsvBSgGy+bkOI2 cQu9Y3hwCG1C4zjcSY/PFOxgMOYufPzQQerpQhT+xj8+nlZ6Uuz65gXJrLmlw3VG 0HVQoWIG/LN3kxwT20p4j+G28Jdpxw7do/ixffnjtpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=JTRY2C pqUesYkJOvp9c76LrBGIwtR2cAMy3w5x4i/2g=; b=Zr7o/o53Mf8BZ5sDcu5jk6 zl8DI3lyJeGA8jvEAmYSpyseOBZlwzixddVgzYmDhBeJb5XCMpqbig/8xLNooIeN SGkVLjtlGHNiHNW/I2c4KLkdY1U+Y8TZfTDnzAUIKHwN6JLAuTt0qhuXj64AIuSB gK45FfrflfZOy4AAgvUud/J9JYmqWJjawak0IhCoweQVXTMbJRLrMxPg6b81WV38 95CfXxcLD4PurY0EnkSn461RiMwizRQuZeM6Snh8TgTt+vQOl26Bw9+sSKauClPK 4BeLNaFWwtRCa5vc06lqKSNuQtsUiswC6/+Syv4/246s1CyApNhD4rggWfiGc65w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegkedgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgepudenuc frrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 86B5F3064AAE; Tue, 24 Nov 2020 09:26:57 -0500 (EST) Date: Tue, 24 Nov 2020 15:26:56 +0100 From: Maxime Ripard To: Michael Klein Cc: Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add poweroff node to DT Message-ID: <20201124142656.wz6ipwa2xayn433x@gilmour> References: <20201124131933.2l2go6z6ltar5fpa@gilmour> <20201124133633.672259-1-michael@fossekall.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vp5zfmwxtuhchxup" Content-Disposition: inline In-Reply-To: <20201124133633.672259-1-michael@fossekall.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vp5zfmwxtuhchxup Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 24, 2020 at 02:36:33PM +0100, Michael Klein wrote: > Add poweroff node to allow the board to power itself off after shutdown > by disabling the SYSTEM and CPUX regulators (U5 resp. U6). The RST > button can be used to restart the board. >=20 > Signed-off-by: Michael Klein > --- > arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 5 +++++ > 1 file changed, 5 insertions(+) You should have a summary of the changes between versions here > diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/= arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts > index 4c6704e4c57e..ea2fa48a1647 100644 > --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts > +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts > @@ -46,6 +46,11 @@ sw4 { > }; > }; > =20 > + poweroff { > + compatible =3D "gpio-poweroff"; > + gpios =3D <&r_pio 0 8 GPIO_ACTIVE_LOW>; /* PL8 */ > + }; > + Like I said in the previous version, this should really be modelled as a regulator instead of just a GPIO Maxime --vp5zfmwxtuhchxup Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX70YMAAKCRDj7w1vZxhR xXekAQDNMhodfkVHL9ngSP7kjTeSxw/MJwsCjsAhqiLZm0dHkQD9E90d8y8nOnaS FERvFANkkFNagtK38l/l1bZeYVt6NQU= =y9Dc -----END PGP SIGNATURE----- --vp5zfmwxtuhchxup--