From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BE46C433EF for ; Fri, 1 Jul 2022 18:49:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229845AbiGASt3 (ORCPT ); Fri, 1 Jul 2022 14:49:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbiGASt2 (ORCPT ); Fri, 1 Jul 2022 14:49:28 -0400 X-Greylist: delayed 156 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 01 Jul 2022 11:49:27 PDT Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A210A393C0 for ; Fri, 1 Jul 2022 11:49:27 -0700 (PDT) Date: Fri, 01 Jul 2022 18:49:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1656701366; x=1656960566; bh=zQWT4Uc8+YmYw2TxYPvOLJlF/WYStwcBkfDP+kL3slk=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=jwXHH/O0q5vKDe5ybHjy1io/I/lEKQhLM3MQOa4UEg50DEOZgwcj/6/yjxJ63SY9h WpGaaIQrxEXOJsPX31nEh0+a+oRv1Oi4OGr7RoghUe5MhCPq8XXxJpbliA7BpmsYME hbW2uXzBo2MpLL8bZ8Ezer6gywYTyB9lsFt9tzHc= To: Bjorn Andersson From: Caleb Connolly Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Caleb Connolly Subject: Re: [PATCH 2/4] arm64: dts: qcom: sdm845: Enable user LEDs on DB845c Message-ID: In-Reply-To: <20220505022706.1692554-3-bjorn.andersson@linaro.org> References: <20220505022706.1692554-1-bjorn.andersson@linaro.org> <20220505022706.1692554-3-bjorn.andersson@linaro.org> Feedback-ID: 10753939:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 05/05/2022 03:27, Bjorn Andersson wrote: > The DB845c has 4 "user LEDs", the last one is already supported as it's > just wired to a gpio. Now that the LPG binding is in place we can wire > up the other 3 LEDs as well. > > Signed-off-by: Bjorn Andersson Reviewed-by: Caleb Connolly > --- > arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 31 ++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot= /dts/qcom/sdm845-db845c.dts > index 194ebeb3259c..e4d3de0a1e6d 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > @@ -5,6 +5,7 @@ > > /dts-v1/; > > +#include > #include > #include > #include > @@ -606,6 +607,36 @@ resin { > =09}; > }; > > +&pmi8998_lpg { > +=09status =3D "okay"; > + > +=09qcom,power-source =3D <1>; > + > +=09led@3 { > +=09=09reg =3D <3>; > +=09=09color =3D ; > +=09=09function =3D LED_FUNCTION_HEARTBEAT; > +=09=09function-enumerator =3D <3>; > + > +=09=09linux,default-trigger =3D "heartbeat"; > +=09=09default-state =3D "on"; > +=09}; > + > +=09led@4 { > +=09=09reg =3D <4>; > +=09=09color =3D ; > +=09=09function =3D LED_FUNCTION_INDICATOR; > +=09=09function-enumerator =3D <2>; > +=09}; > + > +=09led@5 { > +=09=09reg =3D <5>; > +=09=09color =3D ; > +=09=09function =3D LED_FUNCTION_INDICATOR; > +=09=09function-enumerator =3D <1>; > +=09}; > +}; > + > /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */ > &q6afedai { > =09qi2s@22 { > -- > 2.35.1 > -- Kind Regards, Caleb