Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1220375iol; Sun, 12 Jun 2022 09:21:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlLHAgbHKHe72ByVsdEwuilD38NOat9kqspP5mPTSAV/5NRXDzH70GwpU83H35ixTwQn7j X-Received: by 2002:a17:907:1c91:b0:711:c834:754c with SMTP id nb17-20020a1709071c9100b00711c834754cmr34560439ejc.85.1655050883292; Sun, 12 Jun 2022 09:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655050883; cv=none; d=google.com; s=arc-20160816; b=nHGnrMZTIBov4iug7bL+is55QuycCTlzP9gJ7Dk4BQ9UBFkMscVNJfZwco8eg3bNST VG6NHxrPx/MVlqnB8c5X+OB8qBoU+zsMQpbRAT3dgLZZlRH0HbrYr9yBWfsFXzelPs4Q djgkx3NXT6UWuTwQx7sx0RycMSoSnoveYBlccYJIcIN78PfKYuqnDkwBR930sIg4QIA4 w/ysUCnPA56mIGsOztE1ISEv24CRdKzfzQMpLgCvZD2ZMTdu4MQSdZZHEpThILtpuXC6 l120/eNzmVLgX+I4yPjYlc2rd+2gHhTh1YiO+vVEf1MnzmpJbVE3A8w9w32iIREiAnb6 ZAug== 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=kR1FFXBNuVcnI+XFY+UkNzwK+20t6KACUWQ6sh+8W7w=; b=g4d7bYMmluXIvDX+jgIpziDjTmLgll3lNl/owN42SjYmt7Ncp3HhTCfnbnS1nhvE5c ehjkcmmgWbIAr9RZESoCEknxPIzqVbAZzL/VaTSij3mA8cL07Xc+cOu3ysdrNlA+SMPX 3RQmF7r1eVxk7QSGr59xEQF5zVcOXSGYmZD9SZ6bXQ91Pv0CxGG53+q7c009dNDCDGad 0O9yFZTcMAl+W2DVwxyUowfWq1KwGoDZ8foVOQYR7BN34bPwRKIAlMuYJLSuULQCvamX /SVyV9uaVItqWRSmHH/JHZvSgGohFybHcaFAktOMQz+/f0t9NZBEeoMUlgXqlfMmXrfC apcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WfraHZES; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p23-20020a17090664d700b0070e833fdadcsi5391201ejn.140.2022.06.12.09.20.59; Sun, 12 Jun 2022 09:21:23 -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=@gmail.com header.s=20210112 header.b=WfraHZES; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237498AbiFLPJz (ORCPT + 99 others); Sun, 12 Jun 2022 11:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237475AbiFLPJx (ORCPT ); Sun, 12 Jun 2022 11:09:53 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71A525EDD8; Sun, 12 Jun 2022 08:09:51 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id g25so3831168ljm.2; Sun, 12 Jun 2022 08:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=kR1FFXBNuVcnI+XFY+UkNzwK+20t6KACUWQ6sh+8W7w=; b=WfraHZESA0Ns7l45yKXsRgqhPj9UEGMkb4W3PHOlB5YUfLBdjEXyXoQWqAyC5NrrKG UlHC0uTDbvzVcGAJsGuVa7FEcCfd95CKX77qu1foVsL3VnAUbf76XGPp8r4VHmRpL7Az lJcG7P5Xdm1PcJFhlUoZPr/q2345HtFzIOXXtmMkXUH00EiSksXaqt/ivRkuk/gu9AEg SDdKZrYfttipfh/chG8wOEhamYi2mNghpO9Y+Idku5yHoYiUazlqR09NlPw4YEf/jJXX eX1qcPeq4ZUL0nEBOlOelXFfMYkfo3ZzTFoT0q4+uTVB/kLkQ+1ZXWzmW/XSw1imA9aH dhSw== 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=kR1FFXBNuVcnI+XFY+UkNzwK+20t6KACUWQ6sh+8W7w=; b=uVo7hC4U1WGWK5tmqT9fXtEcXdYC76kMN7XMzuwQ9x6EkZEeIbtNLERQcr6rbrpHIG SRtwxygV0w4Nbatp1/hoycYAS3J8jK9EDyQOcQ8qhiJnn5dYgUORnT8w1ud8CaTv/Mbu uljekD+sTgYSK2qf/EeBlnAI3zNlEePLzedtkXZ/1gI4ErcEQy7gTNCyAVmsSn5JPS89 1dpe6IbYZP9uO+FSDJ2t9e+WHc64Qb7whrO1h3ELg2xxVUr6BQ3SL1uTd+nd+0o5Uf33 oH9iUOIWQ3D43epy1v48BRfzrzCnGqvO1ARYTaQC1fi7Sgpmw9/E1DUSI4nbHIDNzi/y RJ5w== X-Gm-Message-State: AOAM5304SYfaiA1LuwCjiqdVD5Nq0z0Otv6fJoIw+sTOkqhL9LbMEdwN P34Gn6lyhtzwRhk9ou/YZYg= X-Received: by 2002:a2e:8501:0:b0:249:17a0:ebf8 with SMTP id j1-20020a2e8501000000b0024917a0ebf8mr67356763lji.125.1655046589721; Sun, 12 Jun 2022 08:09:49 -0700 (PDT) Received: from [192.168.0.131] ([194.183.54.57]) by smtp.gmail.com with ESMTPSA id q11-20020ac2510b000000b00478f739f1fdsm640278lfb.103.2022.06.12.08.09.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Jun 2022 08:09:49 -0700 (PDT) Message-ID: Date: Sun, 12 Jun 2022 17:09:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.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: Krzysztof Kozlowski , 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: Jacek Anaszewski In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 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. -- Best regards, Jacek Anaszewski