Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4803267iob; Mon, 9 May 2022 01:54:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1SPVblOahEwopNiJDRSpMfb9KhRjMuARmeDPAnmjc4TnqCw0lkIomnYhwpUG5fe5+e8Y4 X-Received: by 2002:a17:90b:33d0:b0:1dc:e4a1:a809 with SMTP id lk16-20020a17090b33d000b001dce4a1a809mr14089314pjb.21.1652086446066; Mon, 09 May 2022 01:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652086446; cv=none; d=google.com; s=arc-20160816; b=Fz0BpOgj+aCxxYCHJhNBD05A7NjgO9ADZnL8GUUzAEj/Ez95aAy0Xmam0e6UUsPuTk xJ9Sb2LECOjIpECrJxdpn3bFDCCLreKw+bWRa2Z55Ssh+hdiWwVFfL/EHCqvURIAe7ji ywWEKV9wAV2qebumi/tiJWtm7fT+LhzAr01a9w8acdErJc4MJomeQTXOCmRWq8vj80dn sNhTe3WsWfkRttU5NG5M5+6ASp9ZVAZdQwX4Y1EliANJYo8+GygvknTDuQnzDLlIPVfC 91tWt7QAbUzxZnTPJFOvR2y2o2dlELeMWJoG8VqRirm/WtcSAf0APnQBpc/t4lVpbCuJ YGew== 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=aWbNY85GOnWsEaam9e47RydTPyulIJfm2sKnsMuPH+U=; b=0w+b5IbAS+UH5Y/SzuHd9jG8txLxyQi9ZpfOdPF1PUtyp1+Ft9HnOOPCwD5OUVALNX TMx+O2whr2TWDtux/VoFvMHZtF5541luDr4JGw8oo6wZ4/h2JyJ/1VHCLvk/DB92L3/X lS86y8nZta2BckKkBoSVhGiEFnqSZ5svjv61+EnvEQqAZ2u95TaOg2B2NLZVIdA08kCq cmabx3oC0cwilX9tarzoZWQi1A0YmWEc43e1uV0oRJCdLXEoH0gOhVpRDDWhqXhCZ5es 4WtN1KZkdmIhRFD4cbmOyZ+3/sRFPwVcA1NSjJ9TIaw1nt2etKtso/AFqBQOOkdobs8v lV4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 7-20020a630b07000000b003aa8b889ad2si14140535pgl.594.2022.05.09.01.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:54:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 25DD011280C; Mon, 9 May 2022 01:38:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387754AbiEGWP1 (ORCPT + 99 others); Sat, 7 May 2022 18:15:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387604AbiEGWPU (ORCPT ); Sat, 7 May 2022 18:15:20 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [IPv6:2001:4b7a:2000:18::171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EEE01FA40; Sat, 7 May 2022 15:11:32 -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 57B763EE91; Sun, 8 May 2022 00:11:30 +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 3/4] arm64: dts: qcom: pm660l: Add LPG node Date: Sun, 8 May 2022 00:11:22 +0200 Message-Id: <20220507221123.2201668-3-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220507221123.2201668-1-marijn.suijten@somainline.org> References: <20220507221123.2201668-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.0