Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2664484rwd; Wed, 17 May 2023 12:39:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6GhuiMy/hFQaGksgT0K9jd6z8SiSqCvJUrR/zMiTAodQZZ2ETIxfruos9RVJaoXy8njxRN X-Received: by 2002:a17:902:eccc:b0:1ac:76a6:a1f with SMTP id a12-20020a170902eccc00b001ac76a60a1fmr3920889plh.16.1684352399413; Wed, 17 May 2023 12:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684352399; cv=none; d=google.com; s=arc-20160816; b=hvTS1RNG9gAtyAxxMysJMlgccUSJ+WY2lVmEFRAw4odAf8/BQWGhHf3BivuCYKGnpp jyYdGgfmzn9Txl5Ow7eokua2FVRoXuqTeONf1vQa12lVqC3ZM/KQRJ7CLiFsVBwW5znX G6eXD6Y9IUmyDZI+oDTPBMNsbFQN0JncEE8J2t/ce0XGkXaI0QFqsy28NosMZWjtmUUv Ajd3sQX+jLwUFGi7GkQYHMv9xdOkGu7jcvMREAg2oKOEcRLOSyJURW1mv9ZnnnQgc07/ IdvSU9WHlJ+c0OFDyxVnRgzrJDgt4AQ7b6k2gNq8kR999UWdGYRdhb/pf3W93tJe8tab GzOg== 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=0kgZu+5yH1sFmApZSpg42pkQBH18Cjid59JOHQFugRk=; b=kVzE95ihLHCppcw1yeI+19YT01GdBWPWjGGXsIfe1eNhbPNX1LNFkQrUGiR5atVb/Q 9sIpv6Qft6A6q58nwzN6oEmq3tShPIs5weA7U7mBQIKjWYyFg42zNuC0rQczagpn7/Mn QFKaI9o6BSPvyMZNqlmkFQdFuJQi7Fh8XqQb7Z2rWQMuXVmy3kzb82cgDfYztCwoWjcG Ha4L6c/7e0cN1REfCmQmx2Qqr4ubKLp+luOHylj9JDHPpSgbDGoBrsfJBK9v8tvHHp/3 qWXSbEZ7nT1j2ypO6f6YYTLXvgsjRbLj7Hej4SGoFaWxPSxv17HWTHjj3GbtDPOqcvc3 4KjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PJv9lqjJ; 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 w10-20020a170902a70a00b001a27afc07d9si20605556plq.146.2023.05.17.12.39.45; Wed, 17 May 2023 12:39:59 -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=PJv9lqjJ; 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 S229631AbjEQTS5 (ORCPT + 99 others); Wed, 17 May 2023 15:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbjEQTSu (ORCPT ); Wed, 17 May 2023 15:18:50 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 479EE358B for ; Wed, 17 May 2023 12:18:49 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4efe8b3f3f7so1438898e87.2 for ; Wed, 17 May 2023 12:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684351127; x=1686943127; 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=0kgZu+5yH1sFmApZSpg42pkQBH18Cjid59JOHQFugRk=; b=PJv9lqjJcmS18q83Nbh8yoomYVyoamxp2KJGyQZA2/hexxJRggPy/5BG6swL5zwQ4k lMhfOi/wZNWBaDiRuoA5Lw2klMMznQtdKcteQ09CqYt1/eTHeVs8EGybWxdYztw4cXTi k1Ra7Fd3CmVUDxfAMIssiiKot+u7vL9zBGE9b067zDc+zwWXpK2Ht+fXjBVV1swqx1IV eADq8qT0Osl2Aa1NAVosghJTXlQNtqy/jlnHeHLb093jFyn+gfgbIE8NxnYmBLrw5n3m DlHs3/xYXJNVDlT13qCXBpd05NVdkmGprh0SAbCocu0pFhPsj2YvCMHdciaZ3jywly4+ c33Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684351127; x=1686943127; 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=0kgZu+5yH1sFmApZSpg42pkQBH18Cjid59JOHQFugRk=; b=D0rCuXa59o6emnol9ksnpGIVBA47Fu5I0DcpUqaSTGO+MyjnaWxjPV+Ri4cd9UFQVF awGnHQtA8Za5TvHVsRQEYJz+pnnaPo3/ZwvaGJ3ZyW8+mJ67Gh/dEAMrZ7UmAyVQVD/c fg5GTcq+U+jHKlpKSZsfeODOUKeNeDVjuJbH4TvM4w9+SuEWAzoNJFmgZhYkAOttlFVr SDdTk+ev1K497opd3sNY9lqTypAZ0ALAel4FdMGMXLvqLIHlGxEk+E7G4Y/jyr9iz92J kOcW+CKHOR6jr2MrXi519QqB+0fB7PucV373edjmFNILXunZix6Kt3BAVYwr/tUCZFtL SSvQ== X-Gm-Message-State: AC+VfDyXJC1eqo+IAKSdwGZo/uZbc1Wx5nR11l3ArrvWUhrHHVpcyr7T yR/yDKhZMmFTaqI2wFNXAuI1SQ== X-Received: by 2002:a19:5205:0:b0:4ed:d87f:f648 with SMTP id m5-20020a195205000000b004edd87ff648mr574227lfb.8.1684351127546; Wed, 17 May 2023 12:18:47 -0700 (PDT) Received: from [192.168.1.101] (abxi58.neoplus.adsl.tpnet.pl. [83.9.2.58]) by smtp.gmail.com with ESMTPSA id m9-20020ac24ac9000000b004eedb66983csm3464941lfp.273.2023.05.17.12.18.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 May 2023 12:18:47 -0700 (PDT) Message-ID: Date: Wed, 17 May 2023 21:18:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm8550-qrd: add flash LEDs Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Fenglin Wu , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Neil Armstrong , "Signed-off-by : Abel Vesa" References: <20230516150202.188655-1-krzysztof.kozlowski@linaro.org> <20230516150202.188655-3-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: <20230516150202.188655-3-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 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 16.05.2023 17:02, Krzysztof Kozlowski wrote: > Enable PM8550 PMIC flash LED controller and add two flash LEDs using > four current outputs. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Context in the patch depends on: > https://lore.kernel.org/linux-arm-msm/20230516133011.108093-1-krzysztof.kozlowski@linaro.org/T/#t > --- > arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > index 88b7d3ecdbc9..30b36a149125 100644 > --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > @@ -5,6 +5,7 @@ > > /dts-v1/; > > +#include > #include > #include "sm8550.dtsi" > #include "pm8010.dtsi" > @@ -451,6 +452,30 @@ &pcie0_phy { > status = "okay"; > }; > > +&pm8550_flash { > + status = "okay"; > + > + led-0 { > + function = LED_FUNCTION_FLASH; > + color = ; > + led-sources = <1>, <4>; > + led-max-microamp = <500000>; > + flash-max-microamp = <2000000>; That's some serious LEDs! Reviewed-by: Konrad Dybcio Konrad > + flash-max-timeout-us = <1280000>; > + function-enumerator = <0>; > + }; > + > + led-1 { > + function = LED_FUNCTION_FLASH; > + color = ; > + led-sources = <2>, <3>; > + led-max-microamp = <500000>; > + flash-max-microamp = <2000000>; > + flash-max-timeout-us = <1280000>; > + function-enumerator = <1>; > + }; > +}; > + > &pm8550b_eusb2_repeater { > vdd18-supply = <&vreg_l15b_1p8>; > vdd3-supply = <&vreg_l5b_3p1>;