Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1014423iob; Fri, 13 May 2022 19:40:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKf55hDekl67nFw+whUnQcC8YKjJlsf4qWLHvEU2euaW5r7bAAFR2bjYnXz0XJMnCAZALj X-Received: by 2002:a5d:6651:0:b0:20a:df2f:8027 with SMTP id f17-20020a5d6651000000b0020adf2f8027mr6164224wrw.269.1652496040840; Fri, 13 May 2022 19:40:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652496040; cv=none; d=google.com; s=arc-20160816; b=ekMQZ6n+NY//8od3D/3xq/hjU8f/T9oWPGkdHSaIKNKpiCw4ngeKh3UCI25RJYnENh upoHHvVM+Nlw4BtqgJYTChkC9WsRI/JazH33ub6CSnr0nKEBXIODt184WfeGQFNdBTgo p+em495VOdLLAbstG3FQGDg2rxIEA38Egb6tdGqS9tF2EsEdMyYlevBnVRKbvXpq8k3D PwMBV4US3z4KGfEkKYnGAiA5HOXhPpwiqOEXCI/kYxyfYNZ8gm3fs4K69oc5FaGTHpmx 4nXQm+P/pfNFXyp7kFwrS9Gl55uNojm7UQ0S1s34lw2cog1GBgmBAzNNdkUV8wFa7cr/ o8WQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Mjrv/G6HrIBpduWu1g0fC288vFkgwsi6v+XkaQ1EIAw=; b=dfw6q6wbjBXeDda/2zDu4LPWnT5DORRNoP2c4uhzDcUZfFDxQtx+l5QZTf+Q/NkOsF dbMl0AF2QWOzqFnE/mdI9l82TMaU7Pl0yPxztBzbSJwVNHikzSms+wY+EUBPvQ2yPuZk ViOofqkHK8v81CK0DxWk2Kz2tQBf/ImQky1+yi5Od5sSE/c5zHtQvoZ1KTd2MCqptLaU rTdAyGInHQtgnYG2hiMDrQ+UV3ar+Mf1a2pjHPK8Qr9pYA3HXhrp+af4C3nRrLTb9cKO 4TRDIZlKyvDH2FIMpQ5fvPcdA/+bYjUtuDCxNaCw0MUhZEQs1zRqSrS07ic3pf1sn+F5 a6Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=fyaBxxNA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s6-20020a7bc386000000b00393fd7e1f28si3755183wmj.56.2022.05.13.19.40.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:40:40 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=fyaBxxNA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BA843500958; Fri, 13 May 2022 17:51:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350001AbiELFvh (ORCPT + 99 others); Thu, 12 May 2022 01:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237798AbiELFvY (ORCPT ); Thu, 12 May 2022 01:51:24 -0400 X-Greylist: delayed 366 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 11 May 2022 22:51:18 PDT Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [IPv6:2001:67c:2050:0:465::202]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0033E506C6; Wed, 11 May 2022 22:51:17 -0700 (PDT) Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4KzLMh0dpMz9t2F; Thu, 12 May 2022 07:45:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1652334304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Mjrv/G6HrIBpduWu1g0fC288vFkgwsi6v+XkaQ1EIAw=; b=fyaBxxNAJxPwOOSm4Ko49ricSxn6uh/uoCvNEjbnzlK9D6D+JvaYq4SVn3wuRfS902o1It mVW7wJRowWQ7hOBLhWtC040pkFck2OWyHOmeD/ffcaLpG4jb7aF8x+Z/N1rcc5RYAxcWtH HSRAAL/d2qjSLFrTMDSM6GDSua39ssYm38AKrc8T1sTeooZAGhaZvLRS/BaOWrJBS2+njE 5PMrFcAXbkAEW/g4cSk/GWcZAjalBNscC4cXMP9OYF0XY6hho1GB8Zj2DzjVpzaPK5Zfhq oAbjT1Mpq0VyJ0H4TvY7ubxKVa3o70QNTOPt9dS+I/Cn8qbamD/3wp0zxbOY9Q== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Dylan Van Assche Subject: [PATCH] arm64: dts: qcom/sdm845-shift-axolotl: Enable pmi9889 LPG LED Date: Thu, 12 May 2022 07:44:39 +0200 Message-Id: <20220512054439.13971-1-me@dylanvanassche.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Enables the RGB notification LED on the SHIFT 6mq (sdm845-shift-axolotl) with the Qualcomm Light Pulse Generator bindings by Bjorn Andersson [1]. Patches are merged in for-next branch of linux-leds. Tested these changes on the SHIFT 6mq. [1] https://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git/commit/?h=for-next&id=a8e53db46f19f67be6a26488aafb7d10c78e33bd Signed-off-by: Dylan Van Assche --- .../boot/dts/qcom/sdm845-shift-axolotl.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts index 847f6217a77b..af412ac2c9d0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts @@ -2,11 +2,13 @@ /* * Copyright (c) 2022, Alexander Martinz * Copyright (c) 2022, Caleb Connolly + * Copyright (c) 2022, Dylan Van Assche */ /dts-v1/; #include +#include #include #include "sdm845.dtsi" #include "pm8998.dtsi" @@ -554,6 +556,33 @@ &pmi8998_smb2 { monitored-battery = <&battery>; }; +&pmi8998_lpg { + status = "okay"; + + multi-led { + color = ; + function = LED_FUNCTION_STATUS; + + #address-cells = <1>; + #size-cells = <0>; + + led@3 { + reg = <3>; + color = ; + }; + + led@4 { + reg = <4>; + color = ; + }; + + led@5 { + reg = <5>; + color = ; + }; + }; +}; + &qup_uart9_default { pinconf-rx { pins = "gpio5"; -- 2.36.1