Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp808938iol; Thu, 9 Jun 2022 14:37:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWDoJUa89SXeiGjUq7baaTwE4AiLX3BiKS6yK3XY6WmKEGAGr/ATXq0lO3LJmuEJeaNpiI X-Received: by 2002:a17:902:9f98:b0:168:abe3:c23d with SMTP id g24-20020a1709029f9800b00168abe3c23dmr4243102plq.131.1654810667626; Thu, 09 Jun 2022 14:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654810667; cv=none; d=google.com; s=arc-20160816; b=iMbvBO5Wjtb/98NE3H1NEPu0kWdsml3y2TMAmjf5ZxXuthe5yUfV7An34poJnirSoi 8PHlFsY30wN/SQBfYn+VX8WKj56kkhUUqT4MmT/e19jGKS8oP65nqqPao/YKhF7jkuqh xSvGxxu1gujLqJeiExPjn+FRx6F0ycHpg1SMVXbTZu48rglCby7YUK5LeTPgJSQfa3XP Jf6nHpAxdtxZiV4JFlrLeiWlVe4Fr+oQhpt2bVfBphOFifa/r9v1Cadcuf0rK4LtO7Ai Jqexg1XvQWKPhMK7kC0I3Q+jpFK0e1j8WpWNI/W4uyvGicJpmop1FsUlpODyvoOtoEpq MHYQ== 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=CA2137blCv89eq2ZgR16JFTYhMBK9m/DAMtjtrUnzv4=; b=hD6x2BEdOX6BUC1xJxOpuXy9NCqmeze9B7i5NQY2v4Xt4dtbFS39Kn5EoZ5J2IDc+C EwubDjwXREFreRD8XVveTl+F75SOx6NFoPQj+k5VPQ5qsTIcDR8Fj7DBAR8w2KF5UGPx 1AqmI/7HhsfXpNl9BVSWvId+D392S0a7NIxECEIdWatNhmy7lsg1xBGmnoGZk+RMfZ7q YTI9qZzNJNH0LLmCAYekbdsKiw437s+VpfSUIXCA2BMmzm8d2DSYt+9KZLEw0DYX3+8E iqNdd4WH06ymXbfGXVH0iaXzeHBgGVB+tpo8MlfBgBHnL9bxYzMrnn7CoE4ddVejJq3/ Gz1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FNyhUSkO; 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 s82-20020a632c55000000b003fe22d7613esi9332094pgs.730.2022.06.09.14.37.24; Thu, 09 Jun 2022 14:37: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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FNyhUSkO; 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 S239446AbiFIUbt (ORCPT + 99 others); Thu, 9 Jun 2022 16:31:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234626AbiFIUbq (ORCPT ); Thu, 9 Jun 2022 16:31:46 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C70A921808; Thu, 9 Jun 2022 13:31:44 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id w20so18092350lfa.11; Thu, 09 Jun 2022 13:31:44 -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=CA2137blCv89eq2ZgR16JFTYhMBK9m/DAMtjtrUnzv4=; b=FNyhUSkOM7ITAVGM42a2lcYI7sMqsdl0l5PUJFKaAoyxqtp/3p7EMeU5IC1E/DLGTN lFmGYHU8olzBe1VrTMlwtGoLufWejlLWT3IoxvVDLA7fA96M9N3DyArbCRhj9J5BTi0y 66tc0iPJyUKSeQNfOl5YWQAyoeFRDpT95Lw2i1DzMQ0sSdXFwyUarMLWXWBBhhcS4jz6 svQcbwKYUzyq4m8WcM6yhHR50Lg3Uw1M4kx7kwKszV2XrqZO8g8J4rWI4N5IvNTPgTGV xCBD6S5Xq9y/UXULLjfiwt4AoyAhnRzEnd7ZZAmYgtIW4fLG6J+vbT/8IRmLlf9MG3kb SDBQ== 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=CA2137blCv89eq2ZgR16JFTYhMBK9m/DAMtjtrUnzv4=; b=Q6buC3mnk+spodJoYpS0iByHA8QJQuabEEBLPMSIyaDXzt133aQjnhnIQBhXgtQs4e W51zULw5WiVvuPe+wOhURoP6YiyinTC1/7gJloc8IXRUYkXfZciqT41o2f6QQT6zAqo0 m2OdTg/qsGUEpE5K7GsRwnN64V9unNJdi9p2CzHxoZSvOLIhwpduH5EjgLnPUBtWbWwY cCT4ylmrDowmEDjm7Jk9T84h4np+GG1lqL27QCVbrAAZqrGQewTl63T4/v8g6/guoRJi kiwBe0r3ahoVEvww4mUYKfysH8ynM8CQdH5tBHzPDZnsj50DKr5a/ffTnDEpQ0xH2QZz mpbA== X-Gm-Message-State: AOAM532j3nKIK6XWXuu7zLHP1pc40mfTOw69TlmXujAOVU+hq93DiyZF kOYmnTjYVzgJeIfV5xUMN9w= X-Received: by 2002:ac2:4c50:0:b0:479:55a9:2e08 with SMTP id o16-20020ac24c50000000b0047955a92e08mr11574855lfk.642.1654806703162; Thu, 09 Jun 2022 13:31:43 -0700 (PDT) Received: from [192.168.0.131] ([194.183.54.57]) by smtp.gmail.com with ESMTPSA id q22-20020a194316000000b0047255d210e0sm4389159lfa.15.2022.06.09.13.31.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jun 2022 13:31:42 -0700 (PDT) Message-ID: <4a7f8ab6-c061-3861-5790-b6c0fbd7cad1@gmail.com> Date: Thu, 9 Jun 2022 22:31:41 +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> From: Jacek Anaszewski In-Reply-To: <20220607085343.72414-3-krzysztof.kozlowski@linaro.org> 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 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. > led-max-microamp = <520833>; > flash-max-microamp = <1012500>; > flash-max-timeout-us = <1940000>; -- Best regards, Jacek Anaszewski