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 51EE0C2D0E4 for ; Tue, 24 Nov 2020 13:20:20 +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 5F47D2076E for ; Tue, 24 Nov 2020 13:20:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AtGSNs2E"; dkim=temperror (0-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="jlZAg0W/"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="V3dHCI2z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F47D2076E 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=74x+f0kLyr4mIm9vvmvlD6UkrbZP9f8qGg9dwRHqCF8=; b=AtGSNs2E0PGN6G3ul53xzrTsi ti/4xtoCFMSrgm6ROcrQwpYSBe6DQMHAOf6jB1lehYioteJAOf+MU2488xPnihl+YgkGAdQ4+vJlF WgGZNro3T0sBEbnbwliub7mSuPAPfRNEIGpVeSTpW2N48lSn/fBaWB7Bk7OTNplqf2a61ODOItAGE taygHeXjYwbP61Fluh4VNhnSED3FlVDK5Pz4GiDGbyW2zMtMgYTZsihRoZGxZR5uX7SPLydk2HeX8 Tz1Lmqt1fapfcABkbKBSIlEDJQ4ksusN20rLmUh5LlYe+vVBLyQ1jgXaIF0Klh/87oD2q2nCw4qS6 Un11jt91A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1khYES-0006iA-SJ; Tue, 24 Nov 2020 13:19:44 +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 1khYEQ-0006hO-G6 for linux-arm-kernel@lists.infradead.org; Tue, 24 Nov 2020 13:19:43 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 69E395C01F1; Tue, 24 Nov 2020 08:19:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 24 Nov 2020 08:19:37 -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=Liv2Tg4dxwWGDAPx6JYe8qYxq0e OHM4KZCyMPZMi0KY=; b=jlZAg0W/pQbbtd8Y/9yhQJlmnrFj4otpRIbrsfxkh6p WfVE+3NZbY4Zi2RY76IiIytkj7MtPjdeQHkHX5sVK7Jtg1Zmngdg37BYpzRnMCSD cokcK42XnTyDwbvmeeqNCMAAl3B7WgraRbQoaqN1yNVoXWe7UxmiYic8iG9fqGZE DyS6HnA387WKrzmK8uzGzNijxyEE5RkRUzzMV+vVetCvsfiT0j7sqBd2tT+AWEoP G+mIolLmZ2ewf4aX+nO/97rK02qPcy/kzcQEwy6yNan9AQHRssvLSJMyw1/6AElw BJtyNtfQ4erunm/pw3HGfc/BlPp3/8A76sn1UurxMNg== 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=Liv2Tg 4dxwWGDAPx6JYe8qYxq0eOHM4KZCyMPZMi0KY=; b=V3dHCI2zwwdaBUGIg/CVl2 AX4fTERUgTwrAml1bMsutKiI7truHRnXkJ0Kbuf6WUoaML6oqrX/GiHHT9suupup ipu9q8KvjWpeN7XpSFkn5NladPRH8dgF4y2VSlDx+EzdlFHtj0LdHW4GeWqXtyQ8 FzznaaAW0XAF+rfai8xLo6cHlnmvV6UZQFbzolRMLLfO5HGikTMkrpgp2eyGn9Ej hd/TNpA8EaDUFkBdFtMSA4pwMbRrzYWxHBFbDaISrWsY+iU+CzucqBRpIvlmvcqg JlWVeO6kkUSFz2h03jsoBdmSe5EVZIIn1tNbFJ0yMwoJcH0OGvTikJJi+yfnjSDQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegkedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepleekgeehhfdutdeljefgleejffehfffgieejhffgueefhfdtveetgeehieeh gedunecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenuc 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 42B663064AA7; Tue, 24 Nov 2020 08:19:35 -0500 (EST) Date: Tue, 24 Nov 2020 14:19:33 +0100 From: Maxime Ripard To: Michael Klein Subject: Re: [PATCH] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add gpio-poweroff to DT Message-ID: <20201124131933.2l2go6z6ltar5fpa@gilmour> References: <20201123161041.2304766-1-michael@fossekall.de> MIME-Version: 1.0 In-Reply-To: <20201123161041.2304766-1-michael@fossekall.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201124_081942_772121_7B1D70BD X-CRM114-Status: GOOD ( 16.65 ) 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="===============4742257124356648269==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4742257124356648269== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x7hbwfpmtn6n7ith" Content-Disposition: inline --x7hbwfpmtn6n7ith Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 23, 2020 at 05:10:41PM +0100, Michael Klein wrote: > Add gpio-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(+) >=20 > 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..76e79e6db733 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 > + gpio_poweroff { DT nodes are not supposed to have an underscore in their name. The name should also be the class of the "device", so I guess we can simply use poweroff here? Maxime --x7hbwfpmtn6n7ith Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX70IZQAKCRDj7w1vZxhR xTcMAQCA8sFX9ljONbPtxXUKdTcSQ5qw9fZ+ZDyOBsCJUsCEIwEAq6XHTlqg9VAj 8ShG1OQrzL5I9RbtA50e2zzulQ/3ZQY= =nl/w -----END PGP SIGNATURE----- --x7hbwfpmtn6n7ith-- --===============4742257124356648269== 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 --===============4742257124356648269==--