Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp159081imn; Fri, 1 Jul 2022 12:06:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ujN95mIkSfltK0Yin1+gOkoDJ8jGkvW15qCF1/cgxQB9AlBPXZBXx8fovGHdF0k6hoQNDV X-Received: by 2002:a05:6a00:18a7:b0:51b:c63f:1989 with SMTP id x39-20020a056a0018a700b0051bc63f1989mr22590627pfh.49.1656702378120; Fri, 01 Jul 2022 12:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656702378; cv=none; d=google.com; s=arc-20160816; b=NeE0KClqmJvyPYhr2q6dRkAmeHYzi+IXofyXLZ7/dj2BngQ89sQg83KIi4tzr5+Ki+ JFoqFM2uWf63rWYrpSP43v1vTDsdA8w/vaTTwmzcwF+GzlxaTCc6Or43uhDx0akVwAfc qL5w3LTGd4y5UU6AOo43e5ZH6bB7EhInzVmLbRU2xf9WaDxqgL45Yf2sLjmYNPW68Qds k/fgTGyuJXIls72zXzBELxXcLb9/LQfYpqFRZnB9VhJkxDvEi1ge69ZjhtldbbHJy99R vXkbciy6PxJZdjWWZHO3xU2IcbXLNnzCpYS0E2nTbh0lySyaJNHr6mrTg/TLohqZzFpX 8F/w== 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 :feedback-id:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=zQWT4Uc8+YmYw2TxYPvOLJlF/WYStwcBkfDP+kL3slk=; b=uK0DTm09ZGCq5FU5pBDsxGxdunWMCOJfr63ypQIbFjz24vpnlZz8ON/qo3K3HFZKgO LybSTA5hxgCaZ0/M/r4cNO56yuYdIR6p/jaTmsFKPJSxrQzXnJ5OEn9rV8Ny0UEHPVvv /Sig0yGeccr+2HIOmzXdoicMRSlLGW7+6CDHRu4glPnRTNMMQGUAnUKrTaEPKY9QXE6Z ruo0HrfkzzRWhb8pmG39LLb+Nl22KN4Tx27Xc2P3/LITVYVivuzuDXZBke8sPSxoNgdB ySXQwATCCKsxzzHKb1wYqaS4os/U/N/niqOf+SGYsXu5kG3rJZlU5s/fsIEfynkSNcue laJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b="jwXHH/O0"; 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=connolly.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q66-20020a632a45000000b00410ac395252si8804822pgq.512.2022.07.01.12.06.05; Fri, 01 Jul 2022 12:06:18 -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=@connolly.tech header.s=protonmail header.b="jwXHH/O0"; 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=connolly.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230401AbiGASta (ORCPT + 99 others); Fri, 1 Jul 2022 14:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbiGASt2 (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-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B809140A09 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 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=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 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