From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 315D6C2D0E4 for ; Tue, 24 Nov 2020 14:27:59 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E31F20674 for ; Tue, 24 Nov 2020 14:27:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jGj2oG5B"; dkim=temperror (0-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="KLWljQGM"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Zr7o/o53" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E31F20674 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bwpXuV5cVn/JO3WjncJIvYtn/yR7IymAhpH9pzflasc=; b=jGj2oG5BM4nRUBfZ/SgB2TQFn i3G6xhuwHhnmcJvfR+0L66eNwcNKwqThjVQCNbC4evq+qAKUHaQW9rqgq31rRBGmZzXGwEUQYEMgS mAga/tZ1NcS7+MTOFUey5gH1opkDHk6OSZYKo+gqaTYEE8fnmCexTdXasFQj4KuNqIm7YV8ahW8T+ 83YCgUXvgGgp9bR2J31hZB7U90kJsCOMBV3zIEwVOY28zs2oIc5J3Qi3AVQDWPnmyVBboQxWS2QMg NG3SshGvhS6jkwnuCbs1Y2sf+/u4/ExordXQiMIZFPBQIUmnuMmlbWmbpJAvZS2BKa7Q7S4aM2dlG 8yL6TnBLA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khZHp-0008JO-74; Tue, 24 Nov 2020 14:27:17 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1khZHX-0008E4-Op for linux-arm-kernel@lists.infradead.org; Tue, 24 Nov 2020 14:27:00 +0000 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 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 In-Reply-To: <20201124133633.672259-1-michael@fossekall.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201124_092700_043234_AA84751C X-CRM114-Status: GOOD ( 19.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , Rob Herring , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============7673345735380561029==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7673345735380561029== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vp5zfmwxtuhchxup" Content-Disposition: inline --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-- --===============7673345735380561029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7673345735380561029==--