Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp358724rdb; Thu, 25 Jan 2024 19:00:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFONZOFwihGX7rn1IWgfA/oIjlTU78M9L/F+NcTVXej3kPxNICBAkkauwCYQFtVL7/n/Ozf X-Received: by 2002:a05:6358:d189:b0:172:cb8d:5d3 with SMTP id ka9-20020a056358d18900b00172cb8d05d3mr819622rwb.49.1706238002202; Thu, 25 Jan 2024 19:00:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706238002; cv=pass; d=google.com; s=arc-20160816; b=ojELfM3AGkJXjB8TefIa2zE/AbcrwD4IcgeBVHmhVTi+UmyYpWQv07N8c0zRPLKN8Z zmokbouqBumVZvTVbpNOt+lm95t2XtPbQKpPWeH4GKbn10DbDU8y/kZIOeRqG9+xiemN gDi6OhshWvFu6aSDVkceiC/SgF07XNa5/a9lgQ1WDnsYfo9hSpgmfBzFnuKz79i1q/Nz j1Wh7691vSg1VGrgvt/Gtazf1OfKau2E4cyCVXjF1eY4HxhXyZ7ExaFpbE0O2g1FNtJw G1tD+MmriLWD23DqNuB3TSJuQJTFFnRj76ZC+cL5hmeY6PFjNIuBzL8/Rye/VgPuTFyX pyew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=YvSfq3VFrNLL87Zc1FywrGH8RdaMmuZD6qR5ERFpM1k=; fh=5Nw6CUKfQDR0dyHzzV7EuwdgQ4LSCXOAo1TFv08iboM=; b=rC5H96jGBhsOrVEBCG5W+Zyqb5LZo389O1qmol3ICY4aT4KAREp6/++XVxj+nWtqQm sg3N2C1jCh7rCo9nMepV0xjTEoewgkToyL2p69TDFRQUS+RCYMW4fL2jw5yOoSYN0EVV TY47yMAFoFkc+L5rdcEOBKyT+SmN6aOrIcTVcUteTZ24RW15eUeym3BFGUO1l1WEBA2a QkOfOTK8DuzQEG/RwIfyb0a8/rXdt783Egg6OeqwHyGB49BOMZyoint/TK7hdGWhGWOC X+lPpz4CxtWuZKFVy5ZbSZF3FoZesRtrcG2sFo5OAjs07EOUkCyIkawW+A3n11AJ2iGu K2AA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FCsRD+i1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39555-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u26-20020a63b55a000000b005d62b365ae2si327487pgo.881.2024.01.25.19.00.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 19:00:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39555-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FCsRD+i1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39555-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 55485B2682C for ; Fri, 26 Jan 2024 02:57:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02942AD24; Fri, 26 Jan 2024 02:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FCsRD+i1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D33E8F54; Fri, 26 Jan 2024 02:57:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706237821; cv=none; b=Vh7SofvknQRmRcSSydH2beqpEaWHgKG9ZPy7DrUr+uEPm4XCXVqjDmMu+O7Ng75CKVnTz7Y0SvsvpvofYxlvau5Ty9YvayaKIv4fU1T/etzsr2A71hkGfitAr3osg/cI/KYXOvRJDuXEUAwudHEKWOKiMP3qxG0MsxVBVy8H2H0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706237821; c=relaxed/simple; bh=ldrUB48xZDazzp/AyajgHeXxDyEX8P50st74ShQc4Ks=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=Yo3Xbfuiojxau+BD+cWfoZ/ddvo2Q7z7jkgcdg07bheWfFpG2JZxEfrVAua8v3tyVgm4arwRFMuPUhn29/tE7Nt6hRBNUKnqvp6BQAXFFAupQ0eXqo4+pmt39UGMWSRG5PxnOf+JTl/93UiC6GJkZT/4/EpbhEt8meHLSBTnAcM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FCsRD+i1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 8A4DBC433C7; Fri, 26 Jan 2024 02:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706237820; bh=ldrUB48xZDazzp/AyajgHeXxDyEX8P50st74ShQc4Ks=; h=From:Date:Subject:To:Cc:Reply-To:From; b=FCsRD+i1iA2L35y9D27Z0A0b2PEdXd8NKCdX+wl+eLWo+epQum8XUt7KYas5ZJIY7 UYasEseeOdZDYO9O577kA5fbN44GE6hjPT/d7LKWFw/S7blBwgGAxpM6KsSoIq5zly jrU9NQODq9Cs+ONaCOtt/wDKf9Pb5PzRwXGdPfljc7J+XsabHEupv4Nh7QRFmolSsX AXkKtQYOyuMaAJITXNlmwwjcxXugtM6Q7/l6Fi0ObZe7NPB2g5S6zEouYpmeMD6jfW t5Y+Y6QnGLSBKdSMc8El3soZSc3VI4AJ5qqrO0ysHHg9XmltAZK6Xpjn7rNJND8pNS kzVrdrMSjbf0Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 714FFC47DDF; Fri, 26 Jan 2024 02:57:00 +0000 (UTC) From: Hui Liu via B4 Relay Date: Fri, 26 Jan 2024 10:56:52 +0800 Subject: [PATCH RESEND v6] arm64: dts: qcom: qcm6490-idp: Add definition for three LEDs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240126-lpg-v6-1-f879cecbce69@quicinc.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Hui Liu X-Mailer: b4 0.13-dev-83828 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706237819; l=2220; i=quic_huliu@quicinc.com; s=20230823; h=from:subject:message-id; bh=n8xSHABdt74JEuBzHLY4lYbQGqDaAeo36uTk0NjptXM=; b=vbVTdBnFQluBuMBVvOiTZdg7OyY9722Y93b02LAhqFZAgBdNYF3bQpzjNhAENodDDhgmEMiFr S8NzMJ1b2UXA+ausNNd3pJt/GqmvxNzo7cEO4BF8MOVi5StH7mSuRLn X-Developer-Key: i=quic_huliu@quicinc.com; a=ed25519; pk=1z+A50UnTuKe/FdQv2c0W3ajDsJOYddwIHo2iivhTTA= X-Endpoint-Received: by B4 Relay for quic_huliu@quicinc.com/20230823 with auth_id=80 X-Original-From: Hui Liu Reply-To: From: Hui Liu Add definition for three LEDs to make sure they can be enabled base on QCOM LPG LED driver. Signed-off-by: Hui Liu --- Changes in v6: - Updated the seperate LEDs nodes to multi-led setting. - Link to v5: https://lore.kernel.org/r/20240115-lpg-v5-1-3c56f77f9cec@quicinc.com Changes in v5: - Rephrased commit text, replaced qcs6490-idp to qcm6490-idp. - Removed the unnecessary full. - Link to v4: https://lore.kernel.org/r/20240112-lpg-v4-1-c4004026686b@quicinc.com Changes in v4: - Removed "label" definition and added "function" definition. - Link to v3: https://lore.kernel.org/r/20231215-lpg-v3-1-4e2db0c6df5f@quicinc.com Changes in v3: - Rephrased commit text and updated the nodes to qcm6490-idp board file. - Link to v2: https://lore.kernel.org/all/20231110-qcom_leds-v2-1-3cad1fbbc65a@quicinc.com/ Changes in v2: - Rephrased commit text and updated the nodes to board file. - Link to v1: https://lore.kernel.org/r/20231108-qcom_leds-v1-1-c3e1c8572cb0@quicinc.com --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index 37c91fdf3ab9..c9e7ddcbd259 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include #include "sc7280.dtsi" #include "pm7325.dtsi" @@ -414,6 +415,33 @@ vreg_bob_3p296: bob { }; }; +&pm8350c_pwm { + status = "okay"; + + multi-led { + color = ; + function = LED_FUNCTION_STATUS; + + #address-cells = <1>; + #size-cells = <0>; + + led@1 { + reg = <1>; + color = ; + }; + + led@2 { + reg = <2>; + color = ; + }; + + led@3 { + reg = <3>; + color = ; + }; + }; +}; + &qupv3_id_0 { status = "okay"; }; --- base-commit: 17cb8a20bde66a520a2ca7aad1063e1ce7382240 change-id: 20231215-lpg-4aadd374811a Best regards, -- Hui Liu