Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1979695pxu; Tue, 24 Nov 2020 13:45:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfO5XrIdoM6MAWDZrfJfA9pp22cpOOer25f2d1Z4kvyuRWVnQeI6aMYa6HYGTTAkKFLV3V X-Received: by 2002:a17:906:b783:: with SMTP id dt3mr410035ejb.534.1606254353346; Tue, 24 Nov 2020 13:45:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606254353; cv=none; d=google.com; s=arc-20160816; b=poMls3YXBWPwMfWr+67xRp7ilgleLzJehvrtQztv/Yf2ylJPqaSMIr9K8nOEBq71u/ 4j8Ei/raqjB4QLZwUhdUp0LBccBQxwZOnU78sS1CGln2Z/REJlLBtZ2XJPQ1CoOZmslK bv45egb5yy/ioJbke3AzVXrkBOG66m0E3YaJWZaMN1MKB9RFjuda62M2L6PhCQzyR9wF 2v7rfizioL/h0EnquqE9fDmUzzNph5Ttc5P+4Va6/UvaUz9te/3ZXG3nTPTkR+VqqlkQ RtRZgWWX/WVJdGzCTU0mVKXWj3XKugBCEvbeA89TpAugC2y3y4BJoaAEZpMHvKQAvrum oONw== 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=Liv2Tg4dxwWGDAPx6JYe8qYxq0eOHM4KZCyMPZMi0KY=; b=erx+xdz0rItJ4APMimbiL549PsVXgMQZlrHEoaG0h42wbOs05Fwkjw8Yf9wnE9kFk6 cEs8qQbFefex21VD+rcDQHJqwc3CSMCQrCS3+8nWiSrQoeLJf+50QP89+JfHIv0PWed2 Mgf2aKzvZYbD9c0rJMK4W3zuqi5dg3An7F8tkPTRR0d67P7vq5M9Js6gqsWmj0s7PjNY N3GG4tX+a9mnWy6pauSCzoB+Tpiczjy9VzI1FrH1l2rt9yeOKDb93D4S6yzk6bKcHpQT lIf0fh6oQyl6gwKXOwhcOQ9lHmzSj0VpuY8343rbphl3OTLNSU7SCl4gxsavJ2/pUNq3 Lmfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b="jlZAg0W/"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=V3dHCI2z; 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 r19si92616eju.332.2020.11.24.13.45.30; Tue, 24 Nov 2020 13:45:53 -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="jlZAg0W/"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=V3dHCI2z; 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 S2387833AbgKXNTj (ORCPT + 99 others); Tue, 24 Nov 2020 08:19:39 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:60625 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387656AbgKXNTj (ORCPT ); Tue, 24 Nov 2020 08:19:39 -0500 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 Cc: Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x7hbwfpmtn6n7ith" Content-Disposition: inline In-Reply-To: <20201123161041.2304766-1-michael@fossekall.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--