Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5668902rwe; Tue, 18 Apr 2023 09:45:35 -0700 (PDT) X-Google-Smtp-Source: AKy350ZUhOf9M9Mor3vAhAZMRv8ML96kXIrBpb59DlY3QGdu2kOZ5ryssk+nscfG5KS/jGxylJRY X-Received: by 2002:a17:902:e892:b0:1a8:13fc:a654 with SMTP id w18-20020a170902e89200b001a813fca654mr454870plg.25.1681836335452; Tue, 18 Apr 2023 09:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681836335; cv=none; d=google.com; s=arc-20160816; b=Ara07OSlFec0Ud18V6NJCCbVha24/Qsx+zy3SjS7d6Oodl+qkGfgAIPgqSot7JUqYP XlEimu4QqoheDdYfAmDXYp00YLRf8qMBW5RIdUWdCIGMiehz+cFALO9555PQQGIRAtqQ 01KXbNntTojZzvmkFPYc/y4qEExcyF+WqSiMxni1eEklIR6dINDqF09FppThGTWpYkAr qnJswwjViFL6nRAAN3g325OUkK1AZkNtHcwG27IwIiQ9FOnMhURYrhlEFSJp1AnWjSc8 nmiWxlCUiBMSi+jt43KL1LS0hgbWhw0z06IVe/Dh3Qltait5dfW55GrBoxOjiHe7J1py 8Yjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=UEdmha3uSo9Ftj2x1vbRaMyUjT+dbYweOUlZGyMqaqo=; b=itW/maLT5FrVqIm7l5JxlKb5+2XjzjUQAHRJWjQ9REBjuXZ5nKQQrC2c1ZpIrEP9FA 67+KeGfSx+Q1+v0tNBOVAsYsg7ORns2iQsXIczt/YtcYuYJtj1WSn4KeHYUp0tbb11sV p4+Xjbl65FtiABad92Yizv8CArmgneoh4aBKxgQghDur/Z0ywuFGCqoi5HzAasN2/fVR MkIMtobTZznPxIqtiAKeEljo5chQBvcrGIFs0MQWqwAqv4DSVjjF4Qb4+hV3FZLSN7DP 0nI46kCVIUMjvDyPZxjxkncxvfloyLcoFIejFd1qd8ErfXqxI/JTxc0z6gusPEtY/B0z gElg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=ZnDSLBBF; 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 b18-20020a170902d51200b001a60e787d36si1086742plg.266.2023.04.18.09.45.21; Tue, 18 Apr 2023 09:45:35 -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=ZnDSLBBF; 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 S232601AbjDRQn4 (ORCPT + 99 others); Tue, 18 Apr 2023 12:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232566AbjDRQnt (ORCPT ); Tue, 18 Apr 2023 12:43:49 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0129173F; Tue, 18 Apr 2023 09:43:46 -0700 (PDT) Received: from [192.168.178.23] (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id AAF81CB3AD; Tue, 18 Apr 2023 16:43:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1681836224; bh=w9CMcpt8FL5D9w8gvtXVGIn+tTYwLetgcp8M0Diuyuc=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=ZnDSLBBFeLdQ0Gm7dpIBk2y1Bt1WIOZsPvLP3SvHAMWXzOfgOhR/iUJxVdqrnUoWv omVXdNbDtxBqnS8Dray8d+uh4KOSWP6cc9A1BETDpEMVFe38meEhwwxa6sbcOF36KN 9v8ILuCt60xYjHmNNQ7T+V3vfNLUFJPhR0fMwa/A= From: Luca Weiss Date: Tue, 18 Apr 2023 18:43:23 +0200 Subject: [PATCH v2 7/8] arm64: dts: qcom: sdm632-fairphone-fp3: Add notification LED MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230414-pmi632-v2-7-98bafa909c36@z3ntu.xyz> References: <20230414-pmi632-v2-0-98bafa909c36@z3ntu.xyz> In-Reply-To: <20230414-pmi632-v2-0-98bafa909c36@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Pavel Machek , Lee Jones , Jonathan Cameron , Lars-Peter Clausen , Stephen Boyd , Jonathan Corbet 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, linux-doc@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1288; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=w9CMcpt8FL5D9w8gvtXVGIn+tTYwLetgcp8M0Diuyuc=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBkPsi8vYlpY7wKs390Rhf/aagKnfQMiUzXfdHHy 7gQbQcBUF6JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZD7IvAAKCRBy2EO4nU3X VhIOD/9iI3TQwsiXjbb7iG6g7WlZ5/5asS7XXLBR4yCppvJErjPP6Rt84vrpk95AvNthJlf4mM0 BshKczxyS7Fl5mJY/IYwVtvglJcdpiXhKhQFoOTlz1gR2qJCmyJrf0N1Ijlc1urgG2HdH4g+OLl zW4p7rfrfXxo9n8oWMUlpUmCf2dkbw6hq+1KqY92WGIkVzZlrSsoq8Uy38VUNrStzW2ZY3qAmQp dKd4omuTGDd58I2jVA1zfsGEPa8VrwRGaX/BpmxNmrNLtVMBi1wH+T53wiZ/dEnhMB/3EuMhDT7 HpbnNeL6JARNTl9uNvJuz7DtTPY2CG0jW6skgUioeClH7Rfyccryh+HWjKAtnoWkgeATPGu5Xbj ZaE8s2DUurjnhgGbJk/KurFSVSnI3AekqP0TzNYhFOSwyjSyfhRhsEFz71nnpksFjVBCr5E5z+R 1wwHKu+sLJroOZw+RM96RTRG18UAi8Q8ophnPYLni1+jeQWK9VNdGIEoo2+8uiJBaidpkz2svjY fk0LTzPnFcKRaBqO7phSPF976KSq4Dh9vVc1/tOIw4w+0T9qglWC5wiSbLBSsTyuW0H3V8IOw2q 1K8Wmym+/7nJTjyWeQPWL25bjyEZmiimMM/h2wZAqObk0O6bcjYpAFe8sFly4j9zIomspgt3N6d /TM9W1RDCD3OhxA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD 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,URIBL_BLOCKED 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 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 { + 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>; -- 2.40.0