Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3329301iog; Mon, 20 Jun 2022 17:24:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tA2vNGGc/QQb0Yd5nxaVeBuo+NvAL5VBIO9x2GFrMdeRsAxeBTGiSYSRU0meJ892/6SU4e X-Received: by 2002:a17:90a:a00c:b0:1ec:c7bb:74b8 with SMTP id q12-20020a17090aa00c00b001ecc7bb74b8mr1187386pjp.107.1655771087850; Mon, 20 Jun 2022 17:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655771087; cv=none; d=google.com; s=arc-20160816; b=ADEyzTUUdj3ca8QSEWoOv/2crW8+7NlTpqnI2VFml9djnrG8NNqlLaHphVBDpmsX0i hkLseLAWHTqFcDR2TIRcuxfiGoQUb6QrDTM42Ui25DjXJn1O/ek5jYRgTSphpOT0OYBB OCDUbD3DQX8CGH7j5yB1Y3s0GDj/PmWymMgFQUkXZsHoBmvzHIdQWsTFMyLB/PIIdXNk l4hG1/qOPHDWOAHmct3CXxg9QEM5kwU6JowbZibfD6MSKyq5D/2+pFgefJKxSD4rJpDr wDk0zUh4ej0kQbry24g5QEsHq3BGdhWr6pp8qCqKSiCFRrXR8vDQagKgSRUJVvsw94JB epxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date; bh=cvr3JZ6hY0F7akqLQ3yR9GBCdvaHLPFIbg32zfZIwkQ=; b=rm3LQsMxoN078u3xMov0Tqn5K/5450/sTCD+Iu8Z8p6b05q1KDmxQVek2ii8cA5PHP vNEuN7F0G6A+WXH/aLBseAeofdPs9Tz0E2VFqCfj/kFcomkdd8LY4epekLTBVtDCSIti y/SgqmYvhloawOXh4jQyTYQkaOXODoc/uEbvW/gNR4VZUackh2mD02FqD6Ao6hw5kAPT gOOAU2+qNCUWJSu0JUXiq7Mo1ItNyQXoDQhjHxOk0c2UnES2CZCL8s7B7xGtNid9OCMg gkjGmsub3P8wDyhZ9irKTvTCHqe3Wid9ccropSLzX7KRAKvqUD3qIJ8qkB3c86cEKDI0 Cqdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a170903404100b0016228c736afsi13479220pla.511.2022.06.20.17.24.35; Mon, 20 Jun 2022 17:24:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343705AbiFUAOl (ORCPT + 99 others); Mon, 20 Jun 2022 20:14:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236390AbiFUAOj (ORCPT ); Mon, 20 Jun 2022 20:14:39 -0400 X-Greylist: delayed 1201 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 20 Jun 2022 17:14:37 PDT Received: from gnutoo.cyberdimension.org (cyberdimension.org [IPv6:2001:910:1314:ffff::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37D2B1836D; Mon, 20 Jun 2022 17:14:36 -0700 (PDT) Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 0950e3d8; Mon, 20 Jun 2022 23:39:55 +0000 (UTC) Received: from primarylaptop.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 8547062c; Mon, 20 Jun 2022 23:39:55 +0000 (UTC) Date: Tue, 21 Jun 2022 01:47:48 +0200 From: Denis 'GNUtoo' Carikli To: Krzysztof Kozlowski via Replicant Cc: Krzysztof Kozlowski , Jacek Anaszewski , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Simon Shields , Martin =?UTF-8?B?SsO8Y2tlcg==?= Subject: Re: [Replicant] [PATCH 3/3] ARM: dts: exynos: add function and color to aat1290 flash LED node in Galaxy S3 Message-ID: <20220621014748.1c0b2b05@primarylaptop.localdomain> In-Reply-To: References: <20220607085343.72414-1-krzysztof.kozlowski@linaro.org> <20220607085343.72414-3-krzysztof.kozlowski@linaro.org> <4a7f8ab6-c061-3861-5790-b6c0fbd7cad1@gmail.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/RXcLkuiECAhv+Y3/6Gw0ixN"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/RXcLkuiECAhv+Y3/6Gw0ixN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 12 Jun 2022 19:06:09 +0200 Krzysztof Kozlowski via Replicant wrote: > On 12/06/2022 17:09, Jacek Anaszewski wrote: > > On 6/10/22 12:14, Krzysztof Kozlowski wrote: > >> On 09/06/2022 22:31, Jacek Anaszewski wrote: > >>> Hi Krzysztof, > >>> > >>> On 6/7/22 10:53, Krzysztof Kozlowski wrote: > >>>> Add common LED properties - the function and color - to aat1290 > >>>> flash LED node in Galaxy S3. > >>>> > >>>> Signed-off-by: Krzysztof Kozlowski > >>>> --- > >>>> arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi | 3 +++ > >>>> 1 file changed, 3 insertions(+) > >>>> > >>>> diff --git a/arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi > >>>> b/arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi index > >>>> 72901772fcad..d76f3678dcab 100644 --- > >>>> a/arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi +++ > >>>> b/arch/arm/boot/dts/exynos4412-galaxy-s3.dtsi @@ -7,6 +7,7 @@ > >>>> */ > >>>> =20 > >>>> /dts-v1/; > >>>> +#include > >>>> #include "exynos4412-midas.dtsi" > >>>> =20 > >>>> / { > >>>> @@ -27,6 +28,8 @@ led-controller { > >>>> =20 > >>>> led { > >>>> label =3D "flash"; > >>>> + function =3D LED_FUNCTION_FLASH; > >>>> + color =3D ; > >>> > >>> Addition of these two properties will not change anything because > >>> the label has precedence. It is deprecated, but if you introduce > >>> function and color to the binding instead of the label, the > >>> resulting LED class device name will change. > >> > >> Which is not necessarily what we want, right? Adding these > >> properties is a proper description of hardware, regardless whether > >> current Linux implementation uses them or not. > >=20 > > Actually I'd just drop label in addition to your change. > > I don't think it would break anybody seriously - not expecting it > > has any larger group of users and having uniformly constructed DTS > > files in the mainline has greater value. > >=20 >=20 > What about some PostmarketOSos, LineageOS and other OSes? >=20 > Let me Cc here some folks - Simon, Martin, is the label in flash LED > node anyhow important for you? Can it be dropped and replaced with > function+color? We don't have flash or camera support yet with Replicant version(s) that use kernel(s) based on upstream Linux, so it won't break anything. Denis. --Sig_/RXcLkuiECAhv+Y3/6Gw0ixN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmKxByUACgkQX138wUF3 4mMYKBAAizG0drTNSDYUxHg7Da7PcIFOxip+GcGDJLI27Fi0cFg/kEyaJboALnxx Q3CvVhpuJqOGKDe0HfF6FZO/+BxzShNC/NxDXUlfkyI2SXvY3EAqe4kBkU7ynyKc aejrFq9CTXXvnPiVbyRlOzz15tkj8byNqNvN7cgd6kGzLtU13B7w+tPBzL3lg5Zh sT/kPqF8Wq++sN1INqMT9g1WVUUWl47dia1DJ9xz11qYznYCKea7Khej/vOsRh9b Aue1drPuUX+19MEGaCmkvXJAwhP3gMJVSrxuPg0iKJwwNMS93o2bRQmST0MIqp+F UAvDTEHqxpWhCG1O3wwKFLAVZCSlPr0bf8o8iRyMrJF+y1Cu/h9VA+ejvRSsyvIr Ggk7X0uBWphQIzESAW8z3Ggl8ZDev17m6kn99kHa522fhbT7zpxMzmbKMfmtI4CZ kHdmyNiJXVblYc9nIdF1OdjoeNxuJaYRSPFX+rzIluT2Hd17Ds6AkgoyNAvjRmOT Omh3UORRJgSxE2L0yECrpfXbSenPuaKQqv1OUcNjaHj6k3VonRi4DbFeGMRCOCr5 aDs+T1CgdPDOzxytoxrevY5g1aY6iIIIjkqQOVn8gFF6KmyarAmr6XVARHURYenI 7fPUQnHtSdHqBS5NlDvYwhMDL992U1ibbhNDsSE0NUpElEIU4ZU= =YOd1 -----END PGP SIGNATURE----- --Sig_/RXcLkuiECAhv+Y3/6Gw0ixN--