Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp410672rdb; Fri, 17 Nov 2023 02:20:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFZXrE7HRDdEVNgy6te3ggYoLzcdtcUW32D0IMlJ86S7DYDXolKTH4pmtG4c+xWJ+Mm2ZUI X-Received: by 2002:a17:902:c943:b0:1cc:5cbf:50d2 with SMTP id i3-20020a170902c94300b001cc5cbf50d2mr12107371pla.59.1700216407664; Fri, 17 Nov 2023 02:20:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700216407; cv=none; d=google.com; s=arc-20160816; b=HklNePLhQa14RW4HHZBdaxCs6H5epD6ox0yEU5TTcd5YBu+YVOTZC115R8TZtafsvF wiftcrZ8M4Rk0k0wCGfBTKlt01DROnFarFwjoi7gi97jW0x0o9jKGmSUeGI8Ak/QlHEQ mcZsZl+ltUMFXZy+8MJpkNizw4adFfq/6rkgXVOUifzmoaCM70MaYkQWUmeAgINEzMj4 P40plhr4l6MpLMVOQ5vjGgn/tOvwFX+V6vmprueO2I8FBhtZFIWgG17xvU/CzQKyFCel 0bPc/sHloLrLxbRxdpNfrOSPr1oS5Q3FVmUU8Sz1vdE8YzwnlKkY2oKztiA5eHMM4giJ eIiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=G7fLN67cGxpJVCr6W2AnaeRfKmD52uh3mEADxNHhkJg=; fh=2n2Y+RYHubIkscSnYAqg/mDqVSW4ayNK5xPy63dfWj4=; b=EXbo1E3GAteTRZoL2wSXQKsriZ1Fs8jH9LhNu3KJdHjKJ2TPd4PO7tkA6BJMWuUzWu N+wwhCl0IAQZksymWFTkIycOqAq4DPWC0e4o8fajCub1ocU29V1w+VMxsnW0RSJdxRM0 T1066i152TFPMPYYMXU0rM7sfkLTkvQ6VtEGmuanhPcTuFYZICUt9WlZ6MYggLMyWX/r LhaL4OA4VqDPS42b0lvOTCO55jhPajdg92Qvi2LymBAvKJR/8JyTclM1NoPIorVhJZCK w7cLL4mGrnqHA2qiYDRADs4Nu7H8g3B8iQoXBDKF9Aiz7vB4xgfzzmiizP5uxzdZc5BA fZaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PNgJe6cP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ix19-20020a170902f81300b001c6189eaaebsi1489774plb.186.2023.11.17.02.20.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:20:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PNgJe6cP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id BFD6681DDBF6; Fri, 17 Nov 2023 02:20:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345857AbjKQKTg (ORCPT + 99 others); Fri, 17 Nov 2023 05:19:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345923AbjKQKT3 (ORCPT ); Fri, 17 Nov 2023 05:19:29 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E448310E0; Fri, 17 Nov 2023 02:19:25 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AH9KS9B002591; Fri, 17 Nov 2023 10:19:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=G7fLN67cGxpJVCr6W2AnaeRfKmD52uh3mEADxNHhkJg=; b=PNgJe6cPIn64M4dO0LAulCzab6OwLBJR2Iijv/LWlIyM8PM8bDmMNL/olnaJ5qdCBo6F 0Gsqf48RZeibgZ8pmAOnIDFwFN+CfM71+Gt1lWwT7cHtttBaPVJyjATT/o2z5sXUrNYY t6yFrya6VnsHlkjec9TyH7HztW5vjiMh/Wc7NEPDfBG2h82dnBaNvRGXS9JVieSruKTk xbEkzX7iqPHPFrOHB7lXJhHIJZ9VdRypGXx1m3RwW3rGwoy0ov/GYru3fFKBhvRyfgw6 y5tf9qC+H4DQa479J5cp4QO+vi2adpdXqm+MpRrTco7hG4lJXZLvnCYZqjH3ukLTrBu3 Fw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ue5exr3t6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 10:19:20 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AHAJJH3007651 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 10:19:19 GMT Received: from tengfan2-gv.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Fri, 17 Nov 2023 02:19:16 -0800 From: Tengfei Fan To: , , , , , , CC: , , , <-cc=kernel@quicinc.com>, Tengfei Fan Subject: [PATCH 11/16] arm64: dts: qcom: sm8550-aim300: add notification RGB LED Date: Fri, 17 Nov 2023 18:18:12 +0800 Message-ID: <20231117101817.4401-12-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231117101817.4401-1-quic_tengfan@quicinc.com> References: <20231117101817.4401-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: OFAPo5pXCnAvtB0iNOWQZKmJsTPylUO6 X-Proofpoint-ORIG-GUID: OFAPo5pXCnAvtB0iNOWQZKmJsTPylUO6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-17_08,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 impostorscore=0 bulkscore=0 phishscore=0 malwarescore=0 adultscore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 spamscore=0 mlxlogscore=604 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170075 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 02:20:01 -0800 (PST) The QRD features a notification LED connected to the pm8550. Configure the RGB led controlled by the PMIC PWM controller. Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/sm8550-aim300.dts | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts index 9b568ae9581e..40132073038d 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts @@ -517,6 +517,33 @@ }; }; +&pm8550_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 = ; + }; + }; +}; + &pm8550b_eusb2_repeater { vdd18-supply = <&vreg_l15b_1p8>; vdd3-supply = <&vreg_l5b_3p1>; -- 2.17.1