Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp352687rdb; Sun, 14 Jan 2024 21:53:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGn00W3e1bhvb78C7hDn7viXCFlEdvjO7zusVltKc5Mnu35HqqLMUL2Ye1cHls0QtZSlHBe X-Received: by 2002:a05:690c:fc6:b0:5f8:613e:5e23 with SMTP id dg6-20020a05690c0fc600b005f8613e5e23mr3814469ywb.90.1705298000619; Sun, 14 Jan 2024 21:53:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705298000; cv=none; d=google.com; s=arc-20160816; b=O808tnGeQ2JdLN4lTZ5qT1ZgXn9qhOyNfB5Ct02IeQPqMSq4gxtN1CVrdEuqy3wwx/ BxgQxKA0PDnth8mYOSImwXugXU8m35H+y69gZJbioQYiH0MJ7vtLNE9ej23kkCc9lnXj AxzPrJ67vo7s9IFTKX5FDcD5S6IHfqSvxwapv2snzMokxExiX0Y14fgq67vErUcgFr4K qZgyiiNBed+KUKXIZcrbXJ1oePfALr/SXhur8DQ1i6eXzsNSIwzki7EMvHq2ac/pilqt m9jpbBJBH/sZv5Pp5WO3oGUgQXOD44q+ysMu3cTXHkTJGCXcoOYDABU6JhW99KKuWjlX U8pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=jwCpOnLiQ2u16hSnoHOT6ZwH9ZnGrxTstWp7KG66MIE=; fh=uxqj5Qx+pYwepF7RBTCbn3i/qscifzvQG3FA2N5j9R4=; b=Au2B7oGeBQuQVzwSQb8d9xcoaG4V1Kg7auFqSQLQo4rj39AaMAUj04az4btgPTHN0c Ivs1jIGd//WsMy+CDX6acyDB3iviOPJyhsghlZso/XkyFtqWGfCPdO8pZVKP6WTUv9Vf q+t4tNgGQmyUhJpElmk5EOS5hhCYBA7jXKN9aE7DhVJXi5Hx/w95hLqN5YG33OrN6ntK xNtcis+V00wM3Q8hq0J9vME2YN3V8cf0cYXRenN7IzJ6WeMH6p2ByCiK/NekwtrNTqcy 5qVKCOAR7JnOSQrG61Ti0zAa3ynuC2Z8k0bbgO484mKW8DTzxeCsrF7Wrz6Vhc9oWSTS MXwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UXiGJ3MQ; spf=pass (google.com: domain of linux-kernel+bounces-25643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l26-20020a63701a000000b005c6689f9d69si8198914pgc.187.2024.01.14.21.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 21:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UXiGJ3MQ; spf=pass (google.com: domain of linux-kernel+bounces-25643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3C8102817DB for ; Mon, 15 Jan 2024 05:53:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB92428E3; Mon, 15 Jan 2024 05:53:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="UXiGJ3MQ" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 7232D5232; Mon, 15 Jan 2024 05:53:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40F51Zcw030647; Mon, 15 Jan 2024 05:52:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=jwCpOnLiQ2u16hSnoHOT6ZwH9ZnGrxTstWp7KG66MIE=; b=UX iGJ3MQ44SQumtSkVs02ooeZK0DnVWs+FHXNjtZ+KftNJuWN1NtuxvqiVgPQV6Gew jzowHD1uIy8qVzG7FLOFWaEeE6l3wLahGLYlWHaGWsPctpccGfaQEwNz5OP2+7PZ l7BFEwAx1JRnZHrmw3QuYh4l6Pv1J2MOFw2TvPkCKhldndICtLv2warctgs6t8M1 u3NZP569wyHAn3SDxRfDN5SmlYqUTkxEfkJTbi3n9/S7YQ1Smz7A9ou1NWaI6/Gr bjO2joreoJHygi6gxxNCmCe986K8qGcR3rW07fiybY3cf332ht1/XaLIxwh2CZ8s 03AuHxMu0ukNeBR2LkPQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vkmkcjq6c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Jan 2024 05:52:59 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40F5qwBc014207 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Jan 2024 05:52:58 GMT Received: from [10.238.139.231] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sun, 14 Jan 2024 21:52:55 -0800 Message-ID: <8e51796a-49b6-4217-877b-e393d65ff398@quicinc.com> Date: Mon, 15 Jan 2024 13:52:44 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4] arm64: dts: qcom: qcs6490-idp: Add definition for three LEDs. To: Dmitry Baryshkov CC: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , References: <20240112-lpg-v4-1-c4004026686b@quicinc.com> From: hui liu In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: eqYLJJlo_dll1SZ_-UhIYuEqg_XSjCsM X-Proofpoint-ORIG-GUID: eqYLJJlo_dll1SZ_-UhIYuEqg_XSjCsM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0 clxscore=1015 malwarescore=0 mlxlogscore=707 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401150042 On 1/12/2024 11:36 AM, Dmitry Baryshkov wrote: > On Fri, 12 Jan 2024 at 05:07, Hui Liu via B4 Relay > wrote: >> >> 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 v4: >> - Removed "label" definition and added "function" definition. > > You have removed "label", but you didn't add "function". I added function node "function = LED_FUNCTION_STATUS;" Don't you mean this function node? I didn't get your mean. > > BTW: the commit subject is still wrong. Compare "qmp6490-idp" vs "qcs6490-idp" OK, I will update it to qcm6490-idp. > >> - 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 | 23 +++++++++++++++++++++++ >> 1 file changed, 23 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts >> index 37c91fdf3ab9..8268fad505e7 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,28 @@ vreg_bob_3p296: bob { >> }; >> }; >> >> +&pm8350c_pwm { >> + function = LED_FUNCTION_STATUS; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + status = "okay"; >> + >> + 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 >> >> > >