Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp953047rbd; Fri, 23 Feb 2024 08:30:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfqHMKbAaSIwEFaabwRfi6M5xosHfiQ2VsPRuKSNMWT0WwKFVcvy4hlNNGE9sg3Bv7jFvzTp+WJau2AFYfoyu6GoL2OFq/XlcxKCtw6A== X-Google-Smtp-Source: AGHT+IHEzsnCIc/PFU7cA5iHC2FNdnEhbFdGAItHJz5paRxZpRFFyEr2onls36LqcXsnJnJx/39H X-Received: by 2002:a05:6102:390d:b0:470:a138:794b with SMTP id e13-20020a056102390d00b00470a138794bmr536336vsu.2.1708705828157; Fri, 23 Feb 2024 08:30:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705828; cv=pass; d=google.com; s=arc-20160816; b=SfXwX1Tx9gWCks8HFBRq7hRSliG5g63iZ0up6OstV0QHWOZ0HRm7GvRqnrzzSQOZw2 m5rrhASMK4NJtEKV5+/DeBHcw6eBXVbnPuEFY525W+8YMNHAfJg3d79J2NzdrlgFkWRm 0hFsN/0HtGuSQGzl6kBqizRme3JbtB1fEIzyNdnAg8aaGFlrPqqnKdspkAQnG7hLUBMR nhlfOsyqOtVZipQjWM+8wBYktrLFl2mTnSjKmKb/hWjumtMvGtfCxOA48Z7XvK6uPiq/ X7h7gkm88aQLtC4Oys2wSCKKGW5fTPJbl+yxYDUXxywYrQexTLXxArBxF3Q2M6tBqjc/ S15A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=dkim-signature:in-reply-to:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:message-id:subject:cc:to:from:date; bh=QL3hXVllNtOOAwow+Eh+WDBYhGp8kPau81uRs9JQuQ0=; fh=T9b00VKJlhvteJOMy6qlPaZPG4zkZGKjNs/s+pFQgrc=; b=p012j2RwYA6jaB0XVyEtXqErGlY1xmZ2kG+ZPxuM5w2My0m8WyVI2q7kCfpK+TmcZU I9dlAj1HAwHW2pRCSspcUok/7Qd7YwY5LGMHyHTsYHGupdDJdhQrzNXkbLO+UtUOyS9+ ol8zmWxObdMNWoOmFVtmiskx3K0RVYTAnGBjQNBkMfkIrcOqZaHk1lFugzZ5NQNIoskM 4fBtIXkxpVdfkK1+hdYFDqQw1QBmEJsakpNhga9u86zY39e6eMXMqFf9h/ILHWTsfQEb RrLdIFLb4M50JVN0uUIhVLpTUDUgKnMVpPytIOQyEEdiGBiCdGQs7yFo10zKiUZpmRqS +BOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b="frWGOL/5"; arc=pass (i=1 spf=pass spfdomain=peacevolution.org dkim=pass dkdomain=peacevolution.org dmarc=pass fromdomain=peacevolution.org); spf=pass (google.com: domain of linux-kernel+bounces-78731-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=peacevolution.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id db16-20020a056130239000b007d8e9de75c4si2610162uab.102.2024.02.23.08.30.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:30:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78731-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b="frWGOL/5"; arc=pass (i=1 spf=pass spfdomain=peacevolution.org dkim=pass dkdomain=peacevolution.org dmarc=pass fromdomain=peacevolution.org); spf=pass (google.com: domain of linux-kernel+bounces-78731-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=peacevolution.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CA3FE1C20A41 for ; Fri, 23 Feb 2024 16:30:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3052686623; Fri, 23 Feb 2024 16:30:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=peacevolution.org header.i=@peacevolution.org header.b="frWGOL/5" Received: from a.peacevolution.org (a.peacevolution.org [206.189.193.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BFCD8526C; Fri, 23 Feb 2024 16:30:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=206.189.193.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705807; cv=none; b=EZ8YBBIQ/Ap55reIlnvWS0RhXm5PaQjWigXiuh0Dq4y86f7YyLOjgKiAscKKlFAYW3ehoGmi6uZvUDJmG/mkiP+ULY3Vq7PPdVw19m5KXKzt6ZhvP4Ip/OaaotMHKM8Z26V1a0qEosDYsJ+m/a3ruv96mp9BhiCwOE0uws+b9Bg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705807; c=relaxed/simple; bh=2gqITLPm+T8DVTKA8perP2UfzFrxKTvGsvyzXlsKDGQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lUXTspJy96az4Fuw5P88MPPYJQFewfmqqy4qT3C32HT2NnOtqwDz+Zpl0Az7RRyJd70glX19T7NO+460uNI/VNRLrMKhsoavGuyDsaCcP2dfFRPUis631IV2S2Kex3Ot1cYVvH71BTczvyWHwWYK0N7M48+vRLDWcEuHq+DE+6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=peacevolution.org; spf=pass smtp.mailfrom=peacevolution.org; dkim=pass (1024-bit key) header.d=peacevolution.org header.i=@peacevolution.org header.b=frWGOL/5; arc=none smtp.client-ip=206.189.193.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=peacevolution.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=peacevolution.org Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by a.peacevolution.org (Postfix) with ESMTPA id 21840474E7; Fri, 23 Feb 2024 16:30:03 +0000 (UTC) Date: Fri, 23 Feb 2024 11:30:00 -0500 From: Aren To: Jernej =?utf-8?Q?=C5=A0krabec?= Cc: linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, Jean-Jacques Hiblot , Chen-Yu Tsai , Ondrej Jirman , linux-sunxi@lists.linux.dev, Lee Jones , Pavel Machek , linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org, Conor Dooley , Miles Alan , Samuel Holland Subject: Re: [PATCH v2 4/4] arm64: dts: sun50i-a64-pinephone: change led type to status Message-ID: References: <20240206185400.596979-1-aren@peacevolution.org> <20240206185400.596979-4-aren@peacevolution.org> <2792937.BEx9A2HvPv@jernej-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2792937.BEx9A2HvPv@jernej-laptop> X-Spamd-Bar: / Authentication-Results: auth=pass smtp.auth=aren@peacevolution.org smtp.mailfrom=aren@peacevolution.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=peacevolution.org; s=dkim; t=1708705804; h=from:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=QL3hXVllNtOOAwow+Eh+WDBYhGp8kPau81uRs9JQuQ0=; b=frWGOL/5zk7t+eicPItDNp9ruemVvjx5/5RdP57IR6WLy1vXCdnC42bIuDIbFJ5iK2ZJvt kSDgEvSNG1wEltNiI8sRmKyePbelj+Fmirhz+35GU34mTmvzNaJ9EfMTwdDcxiIo23I7xf ccuTnTWWCs+/j+X85vPL7uEf8W/p7Wo= On Thu, Feb 22, 2024 at 09:57:00PM +0100, Jernej Škrabec wrote: > Dne torek, 06. februar 2024 ob 19:13:20 CET je Aren Moynihan napisal(a): > > The status function is described in the documentation as being a rgb led > > used for system notifications on phones[1][2]. This is exactly what this > > led is used for on the PinePhone, so using status is probably more > > accurate than indicator. > > > > 1: Documentation/leds/well-known-leds.txt > > 2: include/dt-bindings/leds/common.h > > > > Signed-off-by: Aren Moynihan > > Sorry for late review. > > Please update subject in patches 2-3. Instead of "sun50i-a64-pinephone:" > use "allwinner: pinephone:" (check commit history of sun50i-a64-pinephone.dtsi). > Also rgb -> RGB, led -> LED. Last, please reword commit message to exclude > links and just say DT bindings documentation. > > Note that I'll merge patches 2-3 once patch 1 is merged. Would you like me to reword and resend the patches, or is it quicker for you to just do it when you apply them? Thanks for taking a look at this, - Aren > Best regards, > Jernej > > > --- > > I can't find any documentation describing the indicator function, so > > it's definitely less specific than status, but besides that I'm not sure > > how it compares. Please ignore this patch if it's not useful. > > > > (no changes since v1) > > > > arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi > > index e53e0d4579a7..6d327266e6cc 100644 > > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi > > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi > > @@ -61,7 +61,7 @@ led2: led-2 { > > multi-led { > > compatible = "leds-group-multicolor"; > > color = ; > > - function = LED_FUNCTION_INDICATOR; > > + function = LED_FUNCTION_STATUS; > > leds = <&led0>, <&led1>, <&led2>; > > }; > > > > > > > >