Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1256600iol; Sun, 12 Jun 2022 10:23:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzO5/r0gd+kOpOuRVVE4O9W1+koHNtZsRQL5xL/mxJLlnMWsr9UJHP6YCojrYGikyio7Bkl X-Received: by 2002:a17:902:724a:b0:167:9222:2755 with SMTP id c10-20020a170902724a00b0016792222755mr29533760pll.98.1655054613158; Sun, 12 Jun 2022 10:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655054613; cv=none; d=google.com; s=arc-20160816; b=tNYyBHYB8z0HobvApMI4sHz8+an+8pLKl5P0g43GjYhQn+KAJceNlLN9q2GaHJ5FLf Vvk7+/NtRjnel221sQEu2VoRHBjFMxpBBrQaybEhVaY1pLMK8Aw5RQDCVlCAkwYZHQGt OeQk/3CytEhcWKGaIjCPJu9HWTYgZrNmf6P1ckA++gza0ku2jZixcGAjDSrISs0CU8sN Wnm0qajtJewNzwYsjW8vxHsIMnsKPqs8sfECFdV9l44QSQhfZcitJ0gEASOod6cSVQxO RzqA92GjHZ68osiuooR18p1aZY5wgxKDCDNQEI47ha/WK7gZuJLTGHmoam107Yq6fDqh gUEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=e1j5oNyWe6LjPGibCsOkD4pe/7KGmuvi3WqbEeyX52A=; b=t5IiX1wr939Ko1HDTqH01zV9Vf8lgwAgjexQaIGdOteYrlSGbghFqZAP4jKV/LsHDr t9Msdv7mUE+BPYiJF4zRLLS6Izz6cPWQIjr4e3pYcl3k+2ZhhdgM/+zTvYJdaIxqnp6c 7am9aYimbs+oe7icKl2GNlRqTwfyheCoXxOvBVgKpnX3Cb4b87sQ/Wjx0yao3GGMoXKZ ADRDRz+9wEUfsPGwX0YniKmoNA+7tP3iNDEKrJNW1FEcL5HAnb4OCxrsxuqWVfW2Ko99 tpOWSoff+wqAo81s/5Lz/LdT1OjLiYaRYQNhSDEkdZNPAIKoq6CbHp4zVKEWYLoXd4E6 Rp3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=axtd06Ci; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c16-20020a621c10000000b0051897ee8630si6470169pfc.297.2022.06.12.10.23.20; Sun, 12 Jun 2022 10:23:33 -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; dkim=pass header.i=@linaro.org header.s=google header.b=axtd06Ci; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232056AbiFLRGQ (ORCPT + 99 others); Sun, 12 Jun 2022 13:06:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231707AbiFLRGO (ORCPT ); Sun, 12 Jun 2022 13:06:14 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAC944093E for ; Sun, 12 Jun 2022 10:06:12 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id n10so6970726ejk.5 for ; Sun, 12 Jun 2022 10:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=e1j5oNyWe6LjPGibCsOkD4pe/7KGmuvi3WqbEeyX52A=; b=axtd06CitJ9XTEQlj/DgAkzQO7gwwugoWwZY1AE+3Zgrmx9g1bJNWCNMLWlwF3iEl4 GhYCjZ1F7rhF6iZMCV3zMH+89SbmhW1HYE2LWqQReDf2b8zTolL4VWga094dShEhTncU rXBUN7y3Juwybt8Udriw5j+nE2KAu+rQwc9it6aEmgN54efusB7QLYAaiLredlUnFdpx o8Zp+1zZeXtNqmAXKQQzRBNOqMx9wixdGTeA+zOfuR7gU+lFX57Rn3kpULfWzeHw4sfP riHzAZNZ4FYDkUtThXbRlJuV1Huhu/47lyl7C8BI7SiPecrv8yOniALBcDn26/A9LB+s c3PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=e1j5oNyWe6LjPGibCsOkD4pe/7KGmuvi3WqbEeyX52A=; b=v+9Fg7JRwW8KcF3tm+SQN5JtKRNEXutCtCm97dXQ3ylTghh7vHGxS2oT47XhYjyK6t BKVHi840MsHDimoQHmkVJlfbP8KaS7261SyCacTXHW1cQbQj1GkqY8YnNu70lLJ1fDHU kNwXMTXTFWgNAtyIrm5sjGaBWG8oPTo5ooMa/EVhDOsTkIp+oNPf1BvNJbDYeHLTGt19 nUEezk7+fvmddEMvre5ugR1wXYpj+gzPEw0z1RPHHqFU1XcKCMRs0rWT7OHGH2qTUPmV Ii7WIfq+W1ZrBvuAqvVU98ap5Kb1w71l0rH1PVZP3+Ob4hOY+pwEUZGobA1Rxp9VFUVp wZig== X-Gm-Message-State: AOAM533CNQzLi6t/kX0g8ZwJ316hiH6vm7zdiQmVKRiRkh8LSNNCM817 J3AurxRX0/yVE+H5yhO7sa6BBA== X-Received: by 2002:a17:906:804a:b0:70c:1dac:9bb8 with SMTP id x10-20020a170906804a00b0070c1dac9bb8mr46957960ejw.92.1655053571275; Sun, 12 Jun 2022 10:06:11 -0700 (PDT) Received: from [192.168.0.203] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id pv17-20020a170907209100b00704757b1debsm2675740ejb.9.2022.06.12.10.06.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Jun 2022 10:06:10 -0700 (PDT) Message-ID: Date: Sun, 12 Jun 2022 19:06:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 3/3] ARM: dts: exynos: add function and color to aat1290 flash LED node in Galaxy S3 Content-Language: en-US To: 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 , =?UTF-8?Q?Martin_J=c3=bccker?= References: <20220607085343.72414-1-krzysztof.kozlowski@linaro.org> <20220607085343.72414-3-krzysztof.kozlowski@linaro.org> <4a7f8ab6-c061-3861-5790-b6c0fbd7cad1@gmail.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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 @@ >>>> */ >>>> >>>> /dts-v1/; >>>> +#include >>>> #include "exynos4412-midas.dtsi" >>>> >>>> / { >>>> @@ -27,6 +28,8 @@ led-controller { >>>> >>>> led { >>>> label = "flash"; >>>> + function = LED_FUNCTION_FLASH; >>>> + color = ; >>> >>> 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. > > 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. > What about some PostmarketOSos, LineageOS and other OSes? 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? https://lore.kernel.org/all/20220607085343.72414-3-krzysztof.kozlowski@linaro.org/ Best regards, Krzysztof