Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp959997iob; Fri, 13 May 2022 17:46:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyL4N6qz/iI7MuqY3Zm6g353G9qfdXWN6MMeDo8Hpb/b+lHVD8v6LLWPkKS0VZWhg5qw5Nt X-Received: by 2002:a05:600c:35c6:b0:394:8568:f38a with SMTP id r6-20020a05600c35c600b003948568f38amr17481635wmq.112.1652489205305; Fri, 13 May 2022 17:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652489205; cv=none; d=google.com; s=arc-20160816; b=lmd5c4H1YFhSH2qiuGY5G47Mxl97RecdKkrvI8m6UYqMNWtaiGelMybJpbVipw0FjT OG5TlVRpXcF9xzYYlQ5eRlcTzrYEs6LAWfMWLDs/hR3y7Q1BkykxHrSe7p7xdo+PIus6 9FunVo4V2dsvCMl7QnEnP2xamaxAFvv/x1hj1pmWi9x28p7gJCejcaoH1BnvKMeoldj8 7slbEVEH2Cs9de5lRJRQl0GK+GwCTJ6ArSw58TiDjbbvfYLgDVhSTSVZYf1+dX5yhEXV Vn5/m+vJfYQwJNMwgilbWWUuaek8dntEArklPdJOOgyODd8RYrCMBnB35sE/xLTQErmn aghA== 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; bh=XgMuteYXeD2x7pSg+J84ZYapA2owVmfd2oPePwWoUaM=; b=tlX9qFiR/2eYRpMIf6Y54pMGemwHEEksFRRT9PTjAAKxFLs8toLOaJcyoRMPGjXeGZ iMV8gIRWwWJBu6XhKZZp9HSWM/FaP+Ceeese3yKEAARX2eGyagYuzRmSn72s0OEKA7QX xzOqca2mptoW9AjD2kU8DAlaDHnSbA7dQbLUJn+4hD6Za2m7FNuJx76dLtZPr/n8nnSb 52kIjg7D3ijXG8K9lpgyLuK6brXYKCRKmTPqb32AOTNbYHOPajnfZEsG7/fbSzCdGIvD bVhtweRlbH2lNM0Qdb5u3UA5noW1MnslImBokD4xDL3T0QFJ3d7M/fPaAKg9TVKesX4W X0Mg== ARC-Authentication-Results: i=1; mx.google.com; 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 r123-20020a1c2b81000000b00393ea83b9easi6574046wmr.11.2022.05.13.17.46.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 17:46:45 -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; 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B6ED9331CC4; Fri, 13 May 2022 16:25:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346624AbiEKTHi (ORCPT + 99 others); Wed, 11 May 2022 15:07:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346587AbiEKTHe (ORCPT ); Wed, 11 May 2022 15:07:34 -0400 Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [5.144.164.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 867006C0D5; Wed, 11 May 2022 12:07:33 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-209-165-62.cable.dynamic.v4.ziggo.nl [94.209.165.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 3344D3F866; Wed, 11 May 2022 21:07:31 +0200 (CEST) From: Marijn Suijten To: phone-devel@vger.kernel.org, Pavel Machek , Bjorn Andersson Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-leds@vger.kernel.org, Rob Herring , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Gross Subject: [PATCH v3 3/4] arm64: dts: qcom: pm660l: Add LPG node Date: Wed, 11 May 2022 21:07:17 +0200 Message-Id: <20220511190718.764445-3-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220511190718.764445-1-marijn.suijten@somainline.org> References: <20220511190718.764445-1-marijn.suijten@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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 The Light Pulse Generator describes a hardware block responsible for displaying colors and patterns on an RGB LED (usually used for [battery] status and notifications), and drive PWM signals for general-purpose (ie. backlight) LEDs. The availability and usage of the individual channels differ per board and is hence left for individual platform DTs to configure. Signed-off-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/pm660l.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/boot/dts/qcom/pm660l.dtsi index cfef42353611..636b8d398d96 100644 --- a/arch/arm64/boot/dts/qcom/pm660l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm660l.dtsi @@ -65,6 +65,15 @@ pmic@3 { #address-cells = <1>; #size-cells = <0>; + pm660l_lpg: lpg@b100 { + compatible = "qcom,pm660l-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + }; + pm660l_wled: leds@d800 { compatible = "qcom,pm660l-wled"; reg = <0xd800 0xd900>; -- 2.36.1