Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1247554iol; Fri, 10 Jun 2022 03:36:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgGqe/dAz2bj/RWvYxbh8RYaJQEZpdgYgwFlwdkBIiaoR2rlB1MCaONKibOPO4tokLiYGm X-Received: by 2002:a17:90b:a85:b0:1e2:e062:95ba with SMTP id bn5-20020a17090b0a8500b001e2e06295bamr8105114pjb.211.1654857382248; Fri, 10 Jun 2022 03:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654857382; cv=none; d=google.com; s=arc-20160816; b=jBBbI6q8HPfjw6AQr7xBmD6DFocXBiuizOHoC4O7Hvd+82Xmgq9PHnLgI9pzBrAuRR 6G6Yyw/U+zkBGZUM3omeIdLo6Y69XIJkm2Y7rmNMQcAEvpDvrxQemQQOn0ICq37a3Idn 7n4VuI9KiUTnQK2u9ZjBuWEcUcFPWex1ya0RKAygIC5k+ho7JlDR+MEvWajGqhSnxn0y us6Q7I0fnISotR83s6rHPkP3Lx0rbjWj+E3CR4Wj0c+5ODK0u8glidrmiV8xTPicglzj XD/BgCXPPzKJhM+TO0nxtRLiScK75qK0vtRCqQj/5+zc9CtJBDVshK4hQsOrtsSQdY/A jjzQ== 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=B0o7AXQ0r9FjP17c3onrtPlUng/3FOneXR9q+r6CXZ4=; b=ke/KIsr4mIg6j9rNmTkGfROeYuA+ICc9QqtgV5NWndYN/zqt+IG23ARd2qDd15v03F YL3n0/p5F1ZWEGw/u2mLhKClqXZe6oq9L1n6gPSuKKMvj7poWD90gKpu5TTaFFtED/HU Pdp4iv7rNXqpZlqaKCUJhpypZZB0hHgmbBNI6m93Qhl3OoMBIJ/st4TivYYGFdyW+g3K G/zYS0Xc1e0Yveh9bVQSJa2znYqfNZRo6AMpIacGkHUibROaBw7Y+hpj/59rdbmQxNwP i9Nh7UYOmfWhLXGPypHENEFAMG0rfxdj2yMEf5d5EpgK0pO6HAQ5dEsA0XiCIBJ/yezT 27Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GteEZc/g"; 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 h4-20020a636c04000000b003fe0ac61952si13583163pgc.419.2022.06.10.03.36.09; Fri, 10 Jun 2022 03:36:22 -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="GteEZc/g"; 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 S1348680AbiFJKOL (ORCPT + 99 others); Fri, 10 Jun 2022 06:14:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347935AbiFJKOI (ORCPT ); Fri, 10 Jun 2022 06:14:08 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 215831D2AE3 for ; Fri, 10 Jun 2022 03:14:07 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id v25so34625503eda.6 for ; Fri, 10 Jun 2022 03:14:07 -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=B0o7AXQ0r9FjP17c3onrtPlUng/3FOneXR9q+r6CXZ4=; b=GteEZc/g+x6URVp3OrzaAOP5ced5M+SgT27OFHCtngEa6HPdA8AwnnoEzcPdWb8G9F zMdBrmzTyPWmmnO4plDNgeUaFF30bgoA52iRn+yajfbcORcNxXWJzJJSq0b4q/3iW6IB WtAXsKgr8OnK9SoQM4w01p+0xk/p1OtTDzYRLc2jsfz0xmWXsJI3RiTd/eyxuAXUQfvm n67N/R9k9INeDyN48Z1vtqo5HF3KLdDAjN/jaGd/O/g07Aeppq5nAUrPeYkJxtWdIwPy iVRMbC4hK/3186O2uubxMs65rdKDxwVOenmkZl48XB8rt+pXqfDZmyrlwhnL8VUvahhc aeAg== 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=B0o7AXQ0r9FjP17c3onrtPlUng/3FOneXR9q+r6CXZ4=; b=D0LYNVBOp+jrVcJABBvTt4XGgjewtb7Q1nvWOeoso/Pa4eWIK/SP0ou9U8No9cqKw2 7KJMmjKakmziPJtFpVAA6lHiO/Z3DWdHv1ZcymE2eYuEszsy5targ4PkFzWTLPN4U/1U kyxXm3vXTm0cVanBaRkityW1yvP3R3vgYK3FCSDChqwJKwSrvXO4J4Ts4O9zhUS4n7T1 Y1rIVrR4QmSkXXsbjSzm2da0YKsOey6T3vTSYMDEgXCv6nevEqqiwD67J6GLdK1R8nzk Bc6wAgUy9EhT9ptZWfe3aQrlANv2bhqCoFBQigqlJCIVFbqDxsabOQrxcW2pPdHRovbH cApg== X-Gm-Message-State: AOAM5335K2Dx+v0U58IhFZDxDWN+mgJgnYsjlKJxNwwuHUI8dt72eKPe 14TuxsGTnbZEY2kILxwVtx3rfQ== X-Received: by 2002:a05:6402:2554:b0:42d:ee79:559d with SMTP id l20-20020a056402255400b0042dee79559dmr50152521edb.175.1654856045705; Fri, 10 Jun 2022 03:14:05 -0700 (PDT) Received: from [192.168.0.202] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id e1-20020a1709062c0100b0070bdc059ab2sm10532995ejh.138.2022.06.10.03.14.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jun 2022 03:14:05 -0700 (PDT) Message-ID: Date: Fri, 10 Jun 2022 12:14:04 +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 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: <4a7f8ab6-c061-3861-5790-b6c0fbd7cad1@gmail.com> 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,URIBL_BLOCKED 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 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. Best regards, Krzysztof