Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3124637pxu; Mon, 19 Oct 2020 04:47:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwc9yrrwBBj92iDzblw6egNiQLTVV6b7WokAnd7zRbj9V+YGBDtanjKEnpWTUw2+Manr2XA X-Received: by 2002:a17:906:cca9:: with SMTP id or9mr16412828ejb.451.1603108021033; Mon, 19 Oct 2020 04:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603108021; cv=none; d=google.com; s=arc-20160816; b=dmj5sbeDyDULH7UPn0Mt0L7Zxd2LOBm/yWv7h42Nl8T9GBgL1l/FfU9ROe9z333u4w LbO/btxCc+/vBh2NNbmvdS+/JomqQ7QuoV4VClk6+Jrgdm+b9UMUglo/emhm68+NS3Vi nsTKcZ+H6dYS8xeTGyKlylf5REdNyvL/u+fsvGNwqgAlQR8ciEfZSmfMQ5JBOkyLaw6H OzoxGPV6hag5hCGYL0gVZYFXw6ggT4m6sHVJH5iDGgPZ82l9ROUbo/Zrjq0RD0WdPDeQ mUgSrYSrTWj6NmJBDX5dbAO/gnSzEHis2t4YsCSN59GUahOqhqzfYedq7LXvVGNyI75n MKRw== 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=x1zUlvl7MAJX2jsFZNJsQT88znYtzZshjbMQGDPEvW8=; b=iioTVTEGuaHa4G0PMB8bfawprLh0nZIAu3XR0J8KFUPJaiHfXMDyuN6nv3y1bkV7g2 vUjNCYzwZqnD41TbqiPGznvkoMyxTSXA6WL8RY5IdEx5zQq9Uc0KsBX8V1KXJqdlZWST yd/HnpAK9BToGsnI3w1hj7N0pYyu/fcULYYn7xitZOI/GSLJ3vf4ROKHTEueXDGNYw6T n4xDp9THage2XyuFUwvUSqwfewa3tI8Z5t/mmTG1EUsCAOj1svO32+9mBTxtCuliO4v9 pX3kogxsay1+OAvnXoIHZDPkGYdSwSvc/zck/u2+XMsY5HBZ7/6T49Jbyal0hd6olAeD tF7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=mk0b2dBL; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=GerGs17G; 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 d12si8686451ejj.33.2020.10.19.04.46.38; Mon, 19 Oct 2020 04:47:01 -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=mk0b2dBL; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=GerGs17G; 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 S1727157AbgJSKfC (ORCPT + 99 others); Mon, 19 Oct 2020 06:35:02 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:49725 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbgJSKfC (ORCPT ); Mon, 19 Oct 2020 06:35:02 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 7EBDA5C00DA; Mon, 19 Oct 2020 06:35:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 19 Oct 2020 06:35:00 -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=x1zUlvl7MAJX2jsFZNJsQT88znY tzZshjbMQGDPEvW8=; b=mk0b2dBL8tYplOKJUHt68NAkVis775nX7RJ9/H7EYhh f2ppDVmL+niXUZ38Qb4Mv2bwBtwzff+tREVaiWuSskNvdlJFLydsN+wntAHr2uMx CEBiCaOMpLskkzvD2YTkZSLYvgfbxyeWJ3o27d6W1sshAIz8Idsffyz4BWsQ8/2C lUMOgzzuARcpQIiuuAEqBxJO9brT57RpMAB8Vq9kifo9bCDyAuHuYgwpIBT/eqVo r1jLRiUkPiJFt/0BsFYWfvDVslc7Jtga2lTwNH0tXT0Yb1FdM8yTWCZLorTzJcr8 ktRdaijrYlJ2PGkYHPJIqd/BPYVf//1vBevyGWgN0NA== 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=x1zUlv l7MAJX2jsFZNJsQT88znYtzZshjbMQGDPEvW8=; b=GerGs17G201BPLHWm6MOeT 4GcP2/BC5us9tS2mSuKr3cdU8B8kgRsnsbaB1cMeHq8SSzr1zytK4q0XnJYpAhTQ mudhsCSJOo4vRcRZtQ7Y9XPxjw8OgYxRrDOPWSl8P6JcJkNpDoUNh3VYBJLmfODJ RKbVIOXP1GkGhmPl+XQevieb4/OQu8irjb7a99FrbAf/PVPiaTLWRFbiiHZMHVQ9 QCwYPMUVHEUDqGbK2bu7xZOaqXm1+7L2KuJxWTG3MA0nj+ZF8fH7on00VPP9W4p2 TPg7EdfWGHgxbQgICfGwmGcxnQ7IWhhExVkhaohvopEyKVdilXGhD2Fi7bFGADwg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjedugdeftdcutefuodetggdotefrodftvf 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 8787A328005A; Mon, 19 Oct 2020 06:34:59 -0400 (EDT) Date: Mon, 19 Oct 2020 12:34:57 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Rob Herring , Chen-Yu Tsai , devicetree , linux-arm-kernel , linux-kernel Subject: Re: [PATCH v2] arm64: dts: allwinner: beelink-gs1: Update LED power node Message-ID: <20201019103457.imvvjktozc2jybze@gilmour.lan> References: <20201011212238.174792-1-peron.clem@gmail.com> <20201012112218.juke4ll4dnwrmwzw@gilmour.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a7gtrmvmv7q5j7sp" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --a7gtrmvmv7q5j7sp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 18, 2020 at 07:25:10PM +0200, Cl=E9ment P=E9ron wrote: > HI Maxime, >=20 > On Mon, 12 Oct 2020 at 13:22, Maxime Ripard wrote: > > > > 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. > > > > > > Update the node with a valid pattern property. > > > > > > Also add the function and the color of the LED and drop the > > > label which is deprecated. > > > > > > 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(-) > > > > > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts = b/arch/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" > > > > > > #include > > > +#include > > > > > > / { > > > model =3D "Beelink GS1"; > > > @@ -43,8 +44,9 @@ ext_osc32k: ext_osc32k_clk { > > > leds { > > > compatible =3D "gpio-leds"; > > > > > > - 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 user= space with? >=20 > Indeed the previous led sysfs: > /sys/class/leds/beelink:white:power/ > is now > /sys/class/leds/white:power/ >=20 > Do you want me to keep the label property to avoid this sysfs change ? I don't know, the documentation seems to indicate that we should use one or the other, but I'm not sure if both makes sense or not. I guess we should ask Pavel or Rob? Maxime --a7gtrmvmv7q5j7sp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX41r0QAKCRDj7w1vZxhR xQvlAP9f09QWfBLwHoAIwRXyOLDPy/b3vrppYyDpbh1S7WF6MgD+Nsbfx8GF+Wpm YmUg6uWKKMDJkUzuXaB3SBt0NwRvBAY= =yTde -----END PGP SIGNATURE----- --a7gtrmvmv7q5j7sp--