Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4192289rwb; Sat, 10 Dec 2022 05:06:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf6WG1SyLXdVOj+ECOs19s8VdtLfB+qsOqtn1J7uW7P4a62mM9Al7vj2MzNmLaTHryZBnfZm X-Received: by 2002:a17:903:210b:b0:189:81dd:6b8b with SMTP id o11-20020a170903210b00b0018981dd6b8bmr7761100ple.63.1670677575316; Sat, 10 Dec 2022 05:06:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670677575; cv=none; d=google.com; s=arc-20160816; b=rTD1DUfUWDLAutdiJr6Ev7uOOoAfMjVK3efu4cXun+p/JNN45ofH3LCQybeHgt1jrB Nx+nDiksogKQrZZWI8nrHU0mZh5+e+5neHuF323eN+TAVYzQ5S0V6vRRP4L5pCWo+B1o cxuQSNxAO+47t4daiR7Xju2Z+Huxbwb/4WFMetOjXqH2e/aBLMCKuXE/30k72N49rvDC Myf2y/W1LpZrtUytb+xuyLEc+r/hkKXhh9vCov+X7E44OLoITW+73FYGU3bL82vfTDy1 HOQe49v0SgrQEEKtvWcYUb8sYUq6u9z6bfvgmyOSHHpgWbTQONLUkmzRHq/Whr0+iicO Vcdg== 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:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=j54S5Em5+8fuXtAhZt+VBjnKSV0CzJD1XR4mN9x18UM=; b=LBdidkccm/XsniAJ5MRgcrCiiIIwTiKwr/2j2X/ITeZTNleM+GD6LmHju602oPOvQA SN767CC88v7ot2d+umohF3hnwUu2au/R9mdn5L49QzPrU8kWL7a8YAvf9ePk6sXTuILE kavp/tfoCc3y656uB1spR+IoHxYsIkG2CRywytL1ip/k5EQ7HFqkOmxx0a71Snf3Voll RnXVHuZntPegc8IpkT9/aE2JVKgyxLdZc/gppmAVlNQWVUCCnfFiAGczgW0DXunvidiS vl4ct6ZHpvW3HysHBJuTz4tczjy4JaRmDK8SlurSGEbJgxVdjsrj2xP3pJ6X1CgY+Rcm bQlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u0c26ti6; 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 n10-20020a170902e54a00b00189e752b2f8si4769016plf.328.2022.12.10.05.06.05; Sat, 10 Dec 2022 05:06:15 -0800 (PST) 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=u0c26ti6; 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 S229760AbiLJMdm (ORCPT + 75 others); Sat, 10 Dec 2022 07:33:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiLJMdk (ORCPT ); Sat, 10 Dec 2022 07:33:40 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80FE01403E for ; Sat, 10 Dec 2022 04:33:38 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id c1so11147536lfi.7 for ; Sat, 10 Dec 2022 04:33:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=j54S5Em5+8fuXtAhZt+VBjnKSV0CzJD1XR4mN9x18UM=; b=u0c26ti67BTJLnOKzoiTFRBdFQ70JeRXVorvxrjfQL0/JT91RIxF7ge9BKWwf+jKZh /PRGuba3uldElOiRWMNaGjLHFiNeM57AR0EE+INZUOyhrocLl6bfYotaxx2Grg3polYG XRgeLQwKr3lUa3pQA8lb5JHbA+qq/yQHrHSzuBnceI0f9HGCXaGXqM3ifgG33Tj5KGz8 ZxRigeAZSkhboqUgKwcGklGaflHn7j3UtcQfOZf8KT9FFn9cu8fLrnxJS5zt19efClSJ iYnDt4tpPlepejmc8av5INjjxgdSoAwULAP6NCysrjaycpumb1rvgQmEwsHSVCH6sjuQ pKtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j54S5Em5+8fuXtAhZt+VBjnKSV0CzJD1XR4mN9x18UM=; b=61AAjPnRmVeZVhQcQ8acjGgX11mowKBuzscaaH9zqfbppyJz7/jflIWqw9g0TcKE9T Z7QqzzXIkxshlkbcG8GYQM7NzyAu1tlQfCq/hFD34uZGu9EDD17DKN7Q21Tt6muY4zad 4bscrJSjBbYVcV99yhZQNeRoAbB1PcHYZabUyeRdE+r+8HiD9PyTdNJwC0si8UAetffB tf38DJ2q5II3tsJxRJExNdFryNfRyUpal+2mITUtuu+RzddoWTS3yFktRJJfPf24P+/8 qEx41fWy9eh/N/+oGaA6/WVcbC2RB33mwzDoyoOwA/yw6BBW8Bp9ACEM1VK1FNSWKNeS eFTw== X-Gm-Message-State: ANoB5pnMeQSkPFgCrg0QdDgx/V0zpDDnoyp7IzcBJvVCvA4F1XIU7l4x nKRSbO/MWiaRr3jvf6kGMaDU5Q== X-Received: by 2002:a05:6512:2007:b0:4b5:650b:ba3f with SMTP id a7-20020a056512200700b004b5650bba3fmr2516614lfb.12.1670675616841; Sat, 10 Dec 2022 04:33:36 -0800 (PST) Received: from [192.168.1.101] (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id c6-20020a056512324600b00492e3a8366esm708109lfr.9.2022.12.10.04.33.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Dec 2022 04:33:36 -0800 (PST) Message-ID: <68796aa4-2dc5-d4a3-a104-1587b8589a81@linaro.org> Date: Sat, 10 Dec 2022 13:33:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm7225-fairphone-fp4: configure flash LED Content-Language: en-US To: Luca Weiss , Andy Gross , Bjorn Andersson , Pavel Machek , Rob Herring , Krzysztof Kozlowski Cc: Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221209-fp4-pm6150l-flash-v1-0-531521eb2a72@fairphone.com> <20221209-fp4-pm6150l-flash-v1-3-531521eb2a72@fairphone.com> From: Konrad Dybcio In-Reply-To: <20221209-fp4-pm6150l-flash-v1-3-531521eb2a72@fairphone.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 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 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 9.12.2022 14:54, Luca Weiss wrote: > Configure the pm6150l flash node for the dual flash LEDs found on FP4. > > Signed-off-by: Luca Weiss > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > index c456e9594ea5..fef7d1d02925 100644 > --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > @@ -7,6 +7,7 @@ > > #include > #include > +#include > #include > #include > #include "sm7225.dtsi" > @@ -367,6 +368,28 @@ &mpss { > firmware-name = "qcom/sm7225/fairphone4/modem.mdt"; > }; > > +&pm6150l_flash { > + status = "okay"; > + > + led-0 { > + function = LED_FUNCTION_FLASH; > + color = ; > + led-sources = <1>; > + led-max-microamp = <180000>; > + flash-max-microamp = <1000000>; > + flash-max-timeout-us = <1280000>; > + }; > + > + led-1 { > + function = LED_FUNCTION_FLASH; > + color = ; > + led-sources = <2>; > + led-max-microamp = <180000>; > + flash-max-microamp = <1000000>; > + flash-max-timeout-us = <1280000>; > + }; > +}; > + > &pm6150l_wled { > status = "okay"; > >