Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6556799rdb; Fri, 15 Dec 2023 01:47:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaQAUJtPCh8kZyMXZmhB05cYEERF8dMOlFMcqIa+tfVjBeg7A1A5mUMA0qOrIr3tejeU9t X-Received: by 2002:a05:6a20:12c6:b0:190:8fa5:5d30 with SMTP id v6-20020a056a2012c600b001908fa55d30mr5683508pzg.71.1702633653310; Fri, 15 Dec 2023 01:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702633653; cv=none; d=google.com; s=arc-20160816; b=Au/XoFK6dXY3BiLtZ2nRsdCIUtPB6e8GGz6+RTZBPK+u16KgTDbLJoonRFyAEyWgQn SCf+yw7o8Gq+UaYT/VThcQIoPpfkApn9iaHbMO0CJ3jepwuxBIBjPK75pA4RpKHlWCVk RBw72WT2G9aG+gOCduER9Xw2iKXXogpU7MHLu/X7vpuRKJSuBeqB7xezp9rcLkJ6ohAX fl7zX35maDtaSN6GdUdKmJIR0v0+d1uDYDJEOsSCLKvPUiI5AAqY/H/RxG5Kx9nC9XMq uo+IOYvHKMMUDnHLnmU9t5vTIA/7FyF7arUzDBYN2cS8DN1Z3oAaeNXNDr2DeXNvDn0c hkRw== ARC-Message-Signature: i=1; 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=XX8qwF+4bxWeXjjcxN6e4JMmR8Y/hjXCSVtmvHbqc7I=; fh=5Nw6CUKfQDR0dyHzzV7EuwdgQ4LSCXOAo1TFv08iboM=; b=VnIKCDv/9xqbGn/DIGbPwlHehIKDTZxmjaz5YjktMsp2wRPMQ/esFCL8lbqdaL7Zb9 ExE2cpip1ATEsQtxMqhqsEHz/n+Jdi4mzo6/zkG5KdEay+RVYYJ/CkkDO8i9yAK4SbDU 3Mv0TxR6QGuclP0HoL6YkLVTkkOVJkXl5ZXr6X/7ColAS1hun6A4RA/W+8dDTXWskIti gc7LU6agVbP+qqeA14bCTIrm76WD1hrKQzpN5AP2uZ96/PU/eHNSFNPLCTcnspNhvUUH J1OS+/3p1x4D3c61GVBreW7cBCUkCf0xrr2YrT8m+15pGEQop8GGRxltXbl3fNg4McZt aDOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lNPKVf7v; spf=pass (google.com: domain of linux-kernel+bounces-701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-701-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y8-20020a17090322c800b001d0b789d7c4si13098675plg.515.2023.12.15.01.47.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 01:47:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lNPKVf7v; spf=pass (google.com: domain of linux-kernel+bounces-701-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-701-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 38217B22C00 for ; Fri, 15 Dec 2023 09:47:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E158F18B04; Fri, 15 Dec 2023 09:47:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lNPKVf7v" X-Original-To: linux-kernel@vger.kernel.org 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 021021A27A; Fri, 15 Dec 2023 09:47:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 685EEC433C8; Fri, 15 Dec 2023 09:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702633637; bh=UplJWH4Q/tqUK9lL0NeQ0i3KjWIEOgUf4v3sM9Fc79Q=; h=From:Date:Subject:To:Cc:Reply-To:From; b=lNPKVf7v2cnu27ZcpyO4bQM6FKX7jw9BMpAZorhmoXzAaSEXvTqMjXysELQs4tKGF EVEjrNJ2bcHxLNK9PhBPSXHDVD2AcxVLgajBlj5LJsnLJ03/e/jDdLqn/T8bJKDUQ6 ByaPiISZPWI1fz0I2L9mkPxfD6shTR4mO4Y6qnJP/CRosOBUrD1463aynQ6Wg2P4Sz iZRmLWULYk9YGyYgzdPbzVwf3fQOSG90KwcHPdGdkJTN1YCpu/UULJFnq6QsQ4XulZ pXoOMIqrr7ZkTBpxLPpfc1FS3n76My/oyuk4EKSZm1nm3fE++7CCSaT6vhcJuoca7A xP6fZKPQdIvLQ== 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 4744EC4167B; Fri, 15 Dec 2023 09:47:17 +0000 (UTC) From: Hui Liu via B4 Relay Date: Fri, 15 Dec 2023 17:33:32 +0800 Subject: [PATCH v3] arm64: dts: qcom: qcs6490-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: <20231215-lpg-v3-1-4e2db0c6df5f@quicinc.com> X-B4-Tracking: v=1; b=H4sIAHAdfGUC/0XMQQ6CMBCF4auQWTuGaUGNK+9hjBnaASYBCq0SE 8Ldbdy4/JL/vQ2SRJUE12KDKKsmDVOGPRTgep46QfXZYEpjyVCNw9xhxey9PVcXIoZczlFa/fx e7o/sNoYRX30U/m+JSlxcGJ+D+ISrQULr2FPbNO5U8215q9PJHXMC+/4FmQQtqJgAAAA= 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=1702633636; l=1646; i=quic_huliu@quicinc.com; s=20230823; h=from:subject:message-id; bh=jkgKPcTHB0LvObnOdM+JMFH2yGRqbzzTL1fwXf6UZho=; b=8cRQyf8GFCz6G7Lm8RUia1YB/uRkxLY/eTLY+R57RE12nYTwiZcxIu40k7vqcqHeR5rBPK33r b4+KOeOABaKCoioDKb2XNu2GP83ffvmeGQobZ0KgCb0vzcXQ2u/SMUz 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 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index 37c91fdf3ab9..f801144a1556 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,30 @@ vreg_bob_3p296: bob { }; }; +&pm8350c_pwm { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + led@1 { + reg = <1>; + color = ; + label = "red"; + }; + + led@2 { + reg = <2>; + color = ; + label = "green"; + }; + + led@3 { + reg = <3>; + color = ; + label = "blue"; + }; +}; + &qupv3_id_0 { status = "okay"; }; --- base-commit: 17cb8a20bde66a520a2ca7aad1063e1ce7382240 change-id: 20231215-lpg-4aadd374811a Best regards, -- Hui Liu