Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3139486rwl; Thu, 13 Apr 2023 16:37:54 -0700 (PDT) X-Google-Smtp-Source: AKy350avQFj7ghu875krkWxyIQhlz+xDJ1WK3h++3URg+CWEO56ILF3xfczseG+3kCmfh6TQgMre X-Received: by 2002:a17:902:7892:b0:1a1:97b5:c63e with SMTP id q18-20020a170902789200b001a197b5c63emr637902pll.38.1681429073932; Thu, 13 Apr 2023 16:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681429073; cv=none; d=google.com; s=arc-20160816; b=x/qfSdRnPdAVI4SjncMUfQDWH1w+TPwHF7dcJxQAn/7r4gF3kXV6FPVEwFmoGOIQml amDVjM9fCDlYxHA6sSWHA0MI2WlCRVup2Yz7h+KzOa/kJFahLFpTi140VL4vw9ZkLjMH LIaWF6X19ylOscSiMqJOJW2RkBborZMsHhkSbIjrnwGrSZqLx1dmYINnOz9+hfve+CMY 2QG0A7rH0lsjGqBOBInqngh+Ws636xxC2Js+80tKmQ0sY6aB0UAe5mQj6i2fja/CAOQA QhGaliEUONbmu1zhhjY2aSQ+nBSmz6gqfH4PVXI1qfxyd/AOL5cyFbj7Pw1wySkH+lmE DxwA== 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=r9ajKjdjmVKYZR0o2RYS00gCwWXzx+OByS0IkZ5vWrg=; b=r6lZoZNUq9kyneNKgmNCUWxs5PUu87A1gbbN6b2fAZDvzgnZXfMmZrrIftBet50u05 gSrmDHngVxQAAlOnH8nnr9p0+/h6UwDva40t7KZPh7I1l0bF5hdlzKilEyt71qII7Lh2 f41DUTGFHkWGf6tv/tUHQqMuoLDrPkKiYxyvS/VHL+Pg9e26KtSo+ivUN7hCzjsrrUMm aY4torMWvki0fe5RX2NhmvF720U6OBIpbfVRXAm4y/NGlNgmuWDn9U2fEHeGtyFnDTvd IQ1hlc48OPd81VFQZDJdlw49NyI1rRL/Nohzgks6mHjiHs0PzF3jregIDhcEMA0sZ+lI hNkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SVEjyBOG; 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 x9-20020a1709029a4900b0019ca7a76d68si2911706plv.67.2023.04.13.16.37.41; Thu, 13 Apr 2023 16:37:53 -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=SVEjyBOG; 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 S229567AbjDMXgq (ORCPT + 99 others); Thu, 13 Apr 2023 19:36:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbjDMXgo (ORCPT ); Thu, 13 Apr 2023 19:36:44 -0400 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 A51C419AB for ; Thu, 13 Apr 2023 16:36:42 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id o1so21305530lfc.2 for ; Thu, 13 Apr 2023 16:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681429001; x=1684021001; 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=r9ajKjdjmVKYZR0o2RYS00gCwWXzx+OByS0IkZ5vWrg=; b=SVEjyBOGaxj1mckia8+8F4tBz1UaxMbdTgcRhw3El6pgcSSVVULIgBzGaISjFEobmy 7Op5etGGtc7DIeL/p/C9F6/9iiyv5+0EMT9PawHnseed2spJ62pcQR3F6SxwPZVGMPBG JL9uX9mVXLQYa3bK+ZfNJv4rJNlH+EUBJZrT3/ck3yaJWv6py781rpgZrk4w49itUKck GH37nQ5NHr5WAn1z3tlVFiar3bOZrTX55x3zEm1ujXpjmrN46OFDXwhbk/yW0lNg8MST IrLLXnQTT8LFYMmjBLa7Bjuc5fr4PJXga0qXvOHLLFwHTtLglYDWmLGCVrTobGV9oHqW ixxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681429001; x=1684021001; 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=r9ajKjdjmVKYZR0o2RYS00gCwWXzx+OByS0IkZ5vWrg=; b=CAAY1tboBr4F/Us/Sef2W4eZHzRAZ19+K8KKKzGqbjWkbephLwvAVHQzJcQfxK+toG yCe4R/iK9aXQpS3dO0JyT9VoZprJlB4oocwGnL4e9qHP8C169C5pYjJdGCTcM6eT1HSc 8uujqnx2zR3jFLLNATUQ9UnNuzvimo6gR4BG46g432S2fgFBBtLCFg4jyrmAFFUNZwsj ZuDaruVNEuYN/l5yALVRVy+gI4clluDepuJHce7YtTDV+ZOZ+99ko2f/a7oKEdBarZrk lHiTeXWXVOuBhVXqCEYy8JD7CjVV7KVGKdcv/TvDxfwRvPOFJ1QH4NTj+gOPDmNM83Nz fvww== X-Gm-Message-State: AAQBX9dkxg+VGilLEx4rmCdJwVs1NwUX9E/yOBsd/7lRSSXx1R07btN+ qxXvZ2m6+WqG6r8NPat9PRp7qQ== X-Received: by 2002:ac2:51a2:0:b0:4de:ca63:b2d2 with SMTP id f2-20020ac251a2000000b004deca63b2d2mr1316274lfk.26.1681429000930; Thu, 13 Apr 2023 16:36:40 -0700 (PDT) Received: from [192.168.1.101] (abyl123.neoplus.adsl.tpnet.pl. [83.9.31.123]) by smtp.gmail.com with ESMTPSA id i15-20020ac25d2f000000b004e26bd0a533sm510735lfb.288.2023.04.13.16.36.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Apr 2023 16:36:40 -0700 (PDT) Message-ID: <96180862-6dbf-77e1-4aca-9a3b9ee39294@linaro.org> Date: Fri, 14 Apr 2023 01:36:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH 8/8] arm64: dts: qcom: sdm632-fairphone-fp3: Add notification LED Content-Language: en-US To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Pavel Machek , Lee Jones , Jonathan Cameron , Lars-Peter Clausen , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, linux-iio@vger.kernel.org References: <20230414-pmi632-v1-0-fe94dc414832@z3ntu.xyz> <20230414-pmi632-v1-8-fe94dc414832@z3ntu.xyz> From: Konrad Dybcio In-Reply-To: <20230414-pmi632-v1-8-fe94dc414832@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 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,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 14.04.2023 01:17, Luca Weiss wrote: > The phone features a notification LED connected to the pmi632. Configure > the RGB led found on it. > > Signed-off-by: Luca Weiss > --- > arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 29 +++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts > index 70e683b7e4fc..301eca9a4f31 100644 > --- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts > +++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts > @@ -4,8 +4,10 @@ > */ > /dts-v1/; > > +#include > #include "sdm632.dtsi" > #include "pm8953.dtsi" > +#include "pmi632.dtsi" > > / { > model = "Fairphone 3"; > @@ -83,6 +85,33 @@ &pm8953_resin { > linux,code = ; > }; > > +&pmi632_lpg { qcom,power-source? Konrad > + status = "okay"; > + > + multi-led { > + color = ; > + function = LED_FUNCTION_STATUS; > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + led@1 { > + reg = <1>; > + color = ; > + }; > + > + led@2 { > + reg = <2>; > + color = ; > + }; > + > + led@3 { > + reg = <3>; > + color = ; > + }; > + }; > +}; > + > &sdhc_1 { > status = "okay"; > vmmc-supply = <&pm8953_l8>; >