Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp718010rwe; Fri, 14 Apr 2023 08:51:32 -0700 (PDT) X-Google-Smtp-Source: AKy350ZTYg34DQZIJC9bTOmV/ePv5Cj7jpn///1CtuXz6mrvF6RMBuHxNNVGpV/UVV+O/2YCEEy6 X-Received: by 2002:a05:6a00:1949:b0:624:1ab3:da1a with SMTP id s9-20020a056a00194900b006241ab3da1amr8840359pfk.29.1681487492126; Fri, 14 Apr 2023 08:51:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681487492; cv=none; d=google.com; s=arc-20160816; b=rehyUqBoMSnskamOb01L7U3Q6gNY0WQqt+Hd+KjAxtnocnsvlNEVh5YBusxPd1i0Ui 2z+jEyRrG0nqDOYvG2WTR5K+QfUcXYrYB+wB8u+fScm2EQ1NHrIa+UvrlCDXl+c+Gzuj jrPrNQAV2BGWoJwRid+svEtd+pqoJtgjQ2ORShPKkF28hResTUOC/YG2RhfkEM/zOhAO tPtIII+miu0sM8YAEXhgobLGfGxkKhdzrD9NNS76U2QN+NkfXkm6RWnPCDQnxDwT2/oO z0QvALNeXxr8Rt7v9L4Ehaj/XWEUWQhlNbHxBr/xsJbCgei6r7UB2YZDf6Qzhf1Isf8F 6gfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z8Jas6kdVXUOSEkgXmCEZNs78KOiKZMNEMM7TG5n+Cs=; b=bVYIZ5Rau0tP7LjYG2kFjh6d2rIMN5i+pVjTw9VDKG43J/3RMmZsnyDlYGWfq2ufXo 4oR68fDrRFh1MyVni7uXdzFVLxbYqjVo8PVQjMEy1fgjY41Q/OIhIle1XP6z62Q5+Pjr mtAh/RM4Gij6GNwdQUyI5kn7WiJHKAmKMPcIx4jb5m/9zq73uUk1rVaSho/8HrZYZkO0 S7HIGqxfrcXtp4fjYvEBNA339MrNrWWanvEZq3zq0heeaKYCVFFg2F4eBNRo4iBTe5EE 3UruEcwemFTtfqVGVqRRL6e8tS5JVb2KPXF92mozgdOShOixSHUVmXOMNnqHSdEVzP9I 4tBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=FkU9900b; 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=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v33-20020a634661000000b004fb8abdd188si1746154pgk.115.2023.04.14.08.51.18; Fri, 14 Apr 2023 08:51:32 -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=@z3ntu.xyz header.s=z3ntu header.b=FkU9900b; 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=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230321AbjDNPuQ (ORCPT + 99 others); Fri, 14 Apr 2023 11:50:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbjDNPuP (ORCPT ); Fri, 14 Apr 2023 11:50:15 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50866CC12; Fri, 14 Apr 2023 08:49:50 -0700 (PDT) Received: from g550jk.localnet (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id A2046D0C6C; Fri, 14 Apr 2023 15:49:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1681487388; bh=5deGG8YgU39L1Frgo8v0yyglncVg1IVJihr5ucsOgwU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=FkU9900bN1eIkqyry8Nz/biLX4tEc0fOQ9U7oWDSCiJ73JpfWOFbX3ezwF9gbTT3X DradnDxwJSYpRV+qYrCKhWlfR0VuSklTM4Oig9t26UpxmmLDtoty2tR44ayIzrBumh +nvJc1W3wJcGkVgom6xliaYylE1639Gxvvq4pums= From: Luca Weiss To: ~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 , Konrad Dybcio 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 Subject: Re: [PATCH 8/8] arm64: dts: qcom: sdm632-fairphone-fp3: Add notification LED Date: Fri, 14 Apr 2023 17:49:47 +0200 Message-ID: <5205040.31r3eYUQgx@z3ntu.xyz> In-Reply-To: <96180862-6dbf-77e1-4aca-9a3b9ee39294@linaro.org> References: <20230414-pmi632-v1-0-fe94dc414832@z3ntu.xyz> <20230414-pmi632-v1-8-fe94dc414832@z3ntu.xyz> <96180862-6dbf-77e1-4aca-9a3b9ee39294@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Freitag, 14. April 2023 01:36:38 CEST Konrad Dybcio wrote: > 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? This property is only used if triled_has_src_sel is set in the driver (which it isn't on pmi632), only on pm8941 & pmi8994 it is set. Regards Luca > > 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>;