Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1487278ybt; Mon, 15 Jun 2020 01:17:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvChQXE6PoTs8mxHNjgWT8CEZHKnDfEExoYQrzkjFPx+HkaenUHiAgiePYO5JavmuXPOMP X-Received: by 2002:a05:6402:1c8b:: with SMTP id cy11mr22120361edb.122.1592209037029; Mon, 15 Jun 2020 01:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592209037; cv=none; d=google.com; s=arc-20160816; b=IEcs+lM/nsfzhiL0Hd3G8bZvQpiOnRZiZMLZNNVEFbrrbqrYbacWMiIVXNAMTvUKti rF016Kpc29kB7VVFYhb49rWtdMzudKyvoGbTss738/TzzSoq1C1Hx12RFu89DDE5Yche aZ5UJF0Iry9+Vcpw82BiHLl5obweocKizMpMExATYJ2TkRLki42Xy8yYM135SkI51wSh v01ckGqw1zCcTbzq1A++HXj2ynMRqKaohKHWvutmDGLAN9Vu5OHsXXGKyyl3+Z8Aeu6a 0pqk/m/s89N/a+E56HUFwQnmQ0pJLrjc1SFSyEysrXmlPFLzQ0NFafTqhZpcCa7Ie2Ne UXlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=jUgci8k8U3TokZGnj4Urf7+MUxy6zfiiWy2Fnf295uw=; b=q80jWllM+bEDFLucJjD7YJHdw7ozlD98ThMcN4gtnL3VQt8MxgkFmZPjkGI2ivYggH RvpCPwJptVhtW97C84et7irMwZ5Ng+kM7fBNDWpbyxCYruQZ1opwtdpPpsLqGCJNcrcR QagDR87GgYozZx3h2PXRSivNxMRO5gHm+UIYdHGS3ZeXJxSD1tv6LJOOL5wWlVBFkZZT S+z54h2CMNazJiDYPtPAMWe9wfXE6VYpgaKqhLqoXfOLVBTdS8RR4mBtkPmEcY8H3Yy1 3lpShi+VGFxD1ZeVcI7MxUgUN4u5kb1YlOZC7O1v9sUgI7+S275SKZX9vrFD9OD5wj4B mynw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=J96A8ef0; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=O2tglPPH; 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 n12si8632948edo.509.2020.06.15.01.16.54; Mon, 15 Jun 2020 01:17:17 -0700 (PDT) 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=fm3 header.b=J96A8ef0; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=O2tglPPH; 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 S1728823AbgFOIOg (ORCPT + 99 others); Mon, 15 Jun 2020 04:14:36 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:57133 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728162AbgFOIOf (ORCPT ); Mon, 15 Jun 2020 04:14:35 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 989A65C00A0; Mon, 15 Jun 2020 04:14:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 15 Jun 2020 04:14:34 -0400 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=fm3; bh=jUgci8k8U3TokZGnj4Urf7+MUxy 6zfiiWy2Fnf295uw=; b=J96A8ef0a/590vux1U03FiJonoJW7bFlaX0+uLYfd5u dgqLrw8BQCtxKNY1S9sciNvm/5nGeUWubxO1zcjJoAW7KhegiuXMxnnyHX9YoVX+ qGE4o7aVDNQx8BhudlQbbSABCsB/tb6cHcmCGuuiFbRckgS7AypNxS38ZM1eNOEK IT++L1cUFj7UskAM8q9YW++jVn3tOatlT8dnID/+YO1jd/NADTjVdnCebAT2PPNn b0l31gHT96DuESsZ5fqEHjR7U8unhI+IU9iuOfedygM84acWdFnNX0aZq6+e/6hw wiviprJyX+RM93oeTLowea6MmtMWSC/bI2cTAJhyjTA== 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=fm3; bh=jUgci8 k8U3TokZGnj4Urf7+MUxy6zfiiWy2Fnf295uw=; b=O2tglPPHI2ZhPXhPHgdcay eVc7DqpX/qvGGgZoNDnvaIuNfpBcAfJd3WXtJgyH94MdTdJcGCM+JaPBOkoHMckq Kcz6AGWOPhOgTlewfJgZ2iapmFxtpNiYlpSNhNxeGtseyzlxZT+89g5XxSUhEqLT ALL+PLbUx5t42Bt+/+d3a7nLYP9BXx8O3uxe8F00duAo3RDaMyaxkTXhZMgRaRMG lCaPVEIgbO+Y1WrMGO60cEQedIetYuTzwjYwtPjt/jPSg1Ct/gXjATZDgwIV+R9C 57gFjdJCFpNu39XmoVAoBEBPCo40aLkrD/8VL41JhM+ipHPDPDwoC0CHbCYlh3BA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeikecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgvucft ihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtthgvrh hnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeguden ucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedunecurfgrrh grmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh 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 115DC30618B7; Mon, 15 Jun 2020 04:14:32 -0400 (EDT) Date: Mon, 15 Jun 2020 10:14:31 +0200 From: Maxime Ripard To: Diego Rondini Cc: Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH 2/2] ARM: dts: orange-pi-zero-plus2: add leds configuration Message-ID: <20200615081431.sbqezly4jcryvxk6@gilmour.lan> References: <20200528204712.552964-1-diego.rondini@kynetics.com> <20200528204712.552964-2-diego.rondini@kynetics.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ldpz5qc3s34puj3m" Content-Disposition: inline In-Reply-To: <20200528204712.552964-2-diego.rondini@kynetics.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ldpz5qc3s34puj3m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 28, 2020 at 10:47:12PM +0200, Diego Rondini wrote: > Add pwr and status leds configuration and turn on pwr led by default for = Orange > Pi Zero Plus 2 (both H3 and H5 variants). >=20 > Signed-off-by: Diego Rondini > --- > .../boot/dts/sun8i-h3-orangepi-zero-plus2.dts | 16 ++++++++++++++++ > .../allwinner/sun50i-h5-orangepi-zero-plus2.dts | 16 ++++++++++++++++ > 2 files changed, 32 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts b/arch/ar= m/boot/dts/sun8i-h3-orangepi-zero-plus2.dts > index 4376767699a47..4cd0ac706bd2c 100644 > --- a/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts > +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts > @@ -82,6 +82,22 @@ wifi_pwrseq: wifi_pwrseq { > reset-gpios =3D <&pio 0 9 GPIO_ACTIVE_LOW>; /* PA9 */ > post-power-on-delay-ms =3D <200>; > }; > + > + leds { > + compatible =3D "gpio-leds"; > + > + pwr_led { > + label =3D "orangepi:green:pwr"; > + gpios =3D <&r_pio 0 10 GPIO_ACTIVE_HIGH>; > + default-state =3D "on"; > + }; > + > + status_led { Having an underscore in the node name will trigger a DTC warning. What about using pwr and status as nodenames? > + label =3D "orangepi:red:status"; > + gpios =3D <&pio 0 17 GPIO_ACTIVE_HIGH>; > + }; > + There's an extra line here that you should remove Maxime --ldpz5qc3s34puj3m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXuct5wAKCRDj7w1vZxhR xUjaAQDkFMomehsDqclVzdruO2gQslavfdE5Z5Nk9MBu53/X4AEAuy/0NEbxdB4m iIgPxGIxqLa5k/nFdCS+8z/ksmbEdgw= =N70a -----END PGP SIGNATURE----- --ldpz5qc3s34puj3m--