Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4252364pxu; Mon, 12 Oct 2020 13:47:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqe9B1lLQqcHEcsU1QtGqdb/bpPpM76ssqbsjXPh/RcxWaw4hZRvWbBq+6aQiSpkMHmqIP X-Received: by 2002:a17:906:9389:: with SMTP id l9mr30552915ejx.462.1602535650623; Mon, 12 Oct 2020 13:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602535650; cv=none; d=google.com; s=arc-20160816; b=btHzpiA5fU+i+szoXaba3++8Slim25kWSsev57QMoN6A0p95In70Pwwli6v7wrglXl 3R+gzQRgSg7JaKzRAiEvlESsGO7oRbB4Lk0b4BkizdhWzeBC4TBGPG1AOIgp+3ky1jPN FTEHS16jaKCCFqR/rXv3UGCAyy3Rdt9DM1HbkLfn6PxEP82TSpfjSGUIASn4vfXkbo3z 7fRhf5QHBTcwfgGbyTdv/UcMT/15XIxsbZdEzT4W2csWFYe14+XcwkiTCedj1EZvUeMe QllSZ75P8v7zvRiIEM+7pVSMliOcMJinAiT+yYadE3wfoHu42qhEMp/vPuYaYle93hvu nrwA== 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=yS0yu0Mwmxidom7vwvRKXLjBjjui+KTNl0FEVvCEt68=; b=Gq0SnoOXe5WetII9DgcN5MHSdBoMEDE0iK2kUMV5CCLwMpeDrqnOwRhsqtGnDQThRn uaQ31bxLVO2SlHVVcw+AuFkJpTleHy+nW2slnZGNxSszR1EbcWGejRoX7JoyDeZhvGhL o13t9VqWWVdCu5njZeCIRskHO4GuUhgRPM8ejJkMNIiu75wCg4AMTP8MqWR6W6FN6slq 2mO4zJQZ8NqsAuSZu5RpokB+g8vXIBqqBMk4y0D5XMR70U06g8+jlj8iuBiylBzqIBK6 thZhSVo57XnS/KG4Op/Eht58aWcxNo8qg6rrB1k7ylnFNMbqay4Zj76V+aJa7y0kQ+RS Z6fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=RPdXnhJt; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=IqfMgJiT; 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 p16si12576096ejb.522.2020.10.12.13.47.07; Mon, 12 Oct 2020 13:47:30 -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=fm1 header.b=RPdXnhJt; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=IqfMgJiT; 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 S2388174AbgJLLWY (ORCPT + 99 others); Mon, 12 Oct 2020 07:22:24 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:45229 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387894AbgJLLWX (ORCPT ); Mon, 12 Oct 2020 07:22:23 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 365F4CCF; Mon, 12 Oct 2020 07:22:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 12 Oct 2020 07:22:22 -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=fm1; bh=yS0yu0Mwmxidom7vwvRKXLjBjju i+KTNl0FEVvCEt68=; b=RPdXnhJtau+I6PZFwjbeq311x8j4jml1zOUpi3YRYEb JAExy5z20Ydkc7WyUkAu+jluji6y8QclipDCJ6kntieLeOAbumu+lD8G8DufGd9h E6rSQuqC1hzE6I2y4qSWa1RCa7eGY1fg554ULenVNnZSgu6TP4Gh8Zz3MdLQe1px CFfKibwW8P1d2shbCzo8cSKqQO1YIFXI3r9LNWypCMvH9Ewc/SaFFyjnnAS+opJ6 qZbfXmbWSElum00qAm/4qK9bD/3JGOv20+kjz65/9OP6n3qyNKekUM+8cxtR5PPS yUJbiVWC0j/BFj8iAPsmII5E7ETJywtZgHGL+7kj9XQ== 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=yS0yu0 Mwmxidom7vwvRKXLjBjjui+KTNl0FEVvCEt68=; b=IqfMgJiTGhxAUUtXkYAOfQ hIpwIgnwwm7+cDAEw9LQmlWMOnO5gA7x2HjYwW7yVlF/AZ5gs0+b22WNlAaDV64m VEOmILcDpFw6rOrbsI0WXwTbUQ3YLl6N5gh4kYZfXz9TohHWiemAy6/1WGLO+QrX 7lS93xkJprv1pe0Cj3XldLRAW38ZzT2remVFS4jwXUKASn7yT/Hzmci9RSmmchgK wPj6UISygpuNNfUpTo3/MWh2e/rFZ9ILz1Mg7EwOKGb+86KjYaN+SznDCxHClLR7 XYAHJYpKCBhC9ldg9LhWm+PWEz3QfvCKtIml/18GNAsKdqo5n/LR1qOPgYzZvIug == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrheejgdeflecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeduvdduhfekkeehgffftefflefgffdtheffudffgeevteffheeuiedvvdejvdfg veenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh 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 A1E903064682; Mon, 12 Oct 2020 07:22:20 -0400 (EDT) Date: Mon, 12 Oct 2020 13:22:18 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= 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] arm64: dts: allwinner: beelink-gs1: Update LED power node Message-ID: <20201012112218.juke4ll4dnwrmwzw@gilmour.lan> References: <20201011212238.174792-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4vrfdqaecy3uo5lg" Content-Disposition: inline In-Reply-To: <20201011212238.174792-1-peron.clem@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4vrfdqaecy3uo5lg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Sun, Oct 11, 2020 at 11:22:37PM +0200, Cl=E9ment P=E9ron wrote: > Beelink GS1 LED trigger a warning when running dtbs_check. >=20 > Update the node with a valid pattern property. >=20 > Also add the function and the color of the LED and drop the > label which is deprecated. >=20 > Signed-off-by: Cl=E9ment P=E9ron > --- > arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/ar= ch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > index 3f7ceeb1a767..a364cb4e5b3f 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > @@ -7,6 +7,7 @@ > #include "sun50i-h6-cpu-opp.dtsi" > =20 > #include > +#include > =20 > / { > model =3D "Beelink GS1"; > @@ -43,8 +44,9 @@ ext_osc32k: ext_osc32k_clk { > leds { > compatible =3D "gpio-leds"; > =20 > - power { > - label =3D "beelink:white:power"; > + led-0 { > + function =3D LED_FUNCTION_POWER; > + color =3D ; > gpios =3D <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ > default-state =3D "on"; > }; Doesn't that also change the sysfs file that LED is exposed to the userspac= e with? Maxime --4vrfdqaecy3uo5lg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX4Q8agAKCRDj7w1vZxhR xX7hAQC4oXWwgfacQSYBnPdjSjU2IAbgQDQSk9UPIxYpcwxv2QEAyhlxZbLdMBsT 26GqO5r09yx5qyIBCXe4HLluLHhijwk= =+xcE -----END PGP SIGNATURE----- --4vrfdqaecy3uo5lg--