Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp133121rdb; Sun, 21 Jan 2024 21:43:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IH13X/TkAYuiTu+kegQgxOfTtavqvT9UygMWduLhUMNbpYWYlVZLJDZRZeX5q9Zg+S7Wu9M X-Received: by 2002:a2e:9107:0:b0:2cc:9a33:aff9 with SMTP id m7-20020a2e9107000000b002cc9a33aff9mr1334545ljg.58.1705902194020; Sun, 21 Jan 2024 21:43:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705902193; cv=pass; d=google.com; s=arc-20160816; b=0sd2+nIp10eVxlhybUn1Kp/YczHyZcuDD7q2T76s86LzOTJ3U3Nn2KmTd2loRBPhTs k+OjtzhNYhlI+JzVsiHmPQWkJjsmDsn7VG1NhBDKK5SzKtvnGNH84rk5An5/bIJwapTt OnPccLicNdJuBbz3t7ovemAhN+A0CxAj2E9YpJ2jkUXLe5GPhvaEkrd6+pNIYkmZqCXw ggm0ui7qmznqN4zrkzcqRTsfcIGsX2XM72gS7hbKrOR2NE6a42hes61vpdnCUt4peWxq uNNqtJLL2STEAM0XC+Q2MkWMGgIma8g9hNSXKdym8hUWC5SWN5Pojq1wRQgrwFBM5zGf lx7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=EQiuCVaaz2sTka8+zIhbPz3RNN3Z899nVMq77Z4yWrE=; fh=8+JK+BpuvZwpd9Xulnm7eb9WzoGlISUP1Nj2k811HCI=; b=tlsF/kORBaIVJsGgRD8ouK2XLF49ACGfpDig24k3ZL49SPjRw2JHOXyIer1YXWFvcJ JnNsWhiSvQdE78IHOEiv+b/HInGinGPOwEqkNYbBhcIw5PTPkTuivh0cB5m2iPQKC3+S jMd4vBvY4eHuSAsoHcB7jpDqb9wprcfcVyKwGmzHa2gDL913qpubvHH3yeIuwIx5Nrid Vg+CCmrlmrufAlaqQjair1wo1mCiCvSe3ZenEgpKcMcnDPze8aWjH7F8wV/iwga5n2nh I9TDgqCw8kwzrflAzeoRSur5vN4bCn962u8EQCJs2N70cJxgJshjpJapNcGnAO1QsNuH 5ywQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kggplw5O; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-32341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32341-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ef5-20020a05640228c500b005585701151csi10550148edb.224.2024.01.21.21.43.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 21:43:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kggplw5O; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-32341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32341-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 687121F235E9 for ; Mon, 22 Jan 2024 05:43:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20942525E; Mon, 22 Jan 2024 05:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="kggplw5O" 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 ACD2B5224; Mon, 22 Jan 2024 05:42:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705902181; cv=none; b=bMKz/rp/m89R5q+eFabHvTB/53lIvZ8UInBz0L7CjnOlkhpAttxxmQafbGoh56XpTmi6OZMpVU1DevFctvSgZWFpwPnwyCHSY6wURz3L9zFT29GOAJotwpGowiB4nED8AkdwyizYQzV2G47wN9CZuoq3ayJH3/St89vs9rvcgT4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705902181; c=relaxed/simple; bh=KTDF5JXouoXNHw+T2UtDAb3KDuO0Iau+xrPwTY17JJk=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=F5wis64n4kS1UvgxV2exF7oC2V2xvOmYlBUQdaRHcRCocXCCxEHkeTfxPVNoXtk7xzDrDmOmZmlpEemT3IYQ04zS2CxmPZiYLxR0J17tAFO981Go4HtjLWQ0j16plK/bKxeMzO+KvLn2CBnkDhgkBfqVtL/OzF2fXmEeZ13Wfjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=kggplw5O; arc=none smtp.client-ip=205.220.180.131 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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40M5VVo1015227; Mon, 22 Jan 2024 05:42:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:from:to:cc:references :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=EQiuCVaaz2sTka8+zIhbPz3RNN3Z899nVMq77Z4yWrE=; b=kg gplw5O/RzYbP0LGTuMMK6uNjs2pNrQujnEPWxiW2JjciHbQhqMEtH04XjrTR8mBP nORK/L3LZYu8ubkV3UzJGuwErdxfPjIyGvFAsMz1CY6TtElQM0uF3xguy41bSnE+ hf3GpKw+ofNdRrCLMDRrY1S3wmg+lfyihML3vaijIDJ2vNWeVL4JKDmavhmrFYYu KSh635ZV1/gzTflfeFOFeynSnJzUAHF8dyO4OAzpTPxL6PBk+5geW6uMiALqQsgc 7Uq/wp3nFZrfrRDXujvdGgs1CGJ4k+NMHp4fsB54rvqDIrAwwY5QBSVSnnMjv2o4 RHOF8i274uKIFC4HC2Kg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vr6jbu0f0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jan 2024 05:42:55 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40M5griV028733 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jan 2024 05:42:53 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, 21 Jan 2024 21:42:50 -0800 Message-ID: <5f6c2be1-faf9-4e64-ab3a-88046d75e2cf@quicinc.com> Date: Mon, 22 Jan 2024 13:42:47 +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 v5] arm64: dts: qcom: qcm6490-idp: Add definition for three LEDs From: hui liu To: Dmitry Baryshkov CC: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , , References: <20240115-lpg-v5-1-3c56f77f9cec@quicinc.com> <6c29ce72-e303-406a-bb75-5b36b0cd8ee4@linaro.org> <44ab50c4-c63b-436c-af46-9b4543181446@quicinc.com> <4c82f1f0-1c5a-498f-9845-b5b26cd76468@quicinc.com> In-Reply-To: <4c82f1f0-1c5a-498f-9845-b5b26cd76468@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: KBf4OPrCMOOYOdHPybzya2e9u6Nl6KTo X-Proofpoint-ORIG-GUID: KBf4OPrCMOOYOdHPybzya2e9u6Nl6KTo 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=2024-01-21_04,2024-01-19_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 spamscore=0 mlxlogscore=959 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401220039 On 1/18/2024 10:06 AM, hui liu wrote: > > > On 1/17/2024 11:41 AM, Dmitry Baryshkov wrote: >> On Wed, 17 Jan 2024 at 05:02, hui liu wrote: >>> >>> >>> >>> On 1/15/2024 6:26 PM, Krzysztof Kozlowski wrote: >>>> On 15/01/2024 11:18, hui liu wrote: >>>>> >>>>> >>>>> On 1/15/2024 5:56 PM, Dmitry Baryshkov wrote: >>>>>> On Mon, 15 Jan 2024 at 11:48, 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. >>>>>> >>>>>> The "function" property is still placed incorrectly. Posting the next >>>>>> iteration before concluding the discussion on the previous one is not >>>>>> the best idea. >>>>> Do you mean I should update it as below? Seems there is no consumer to >>>>> use the function config, do we need to add now? >>>> >>>> Paste the output of dtbs_check for your board (or CHECK_DTBS=y for your >>>> Makefile target). >>> I checked the dt-binding file of LPG LED, I will update the dts as >>> below, if you think it's correct, I will push v6. >> >> Is there any reason why you are defining three different LEDs instead >> of multi-led with three components? > Hi Dmitry, If there is no other issue, can I push the V6? Thanks, Hui > In the HW design, they are three seprete LEDs, there are three LEDs on > device. why do we need to add for multi-led? > > Thanks, > Hui >> >>> >>> +&pm8350c_pwm { >>> +       #address-cells = <1>; >>> +       #size-cells = <0>; >>> +       status = "okay"; >>> + >>> +       led@1 { >>> +               reg = <1>; >>> +               color = ; >>> +               function = LED_FUNCTION_STATUS; >>> +       }; >>> + >>> +       led@2 { >>> +               reg = <2>; >>> +               color = ; >>> +               function = LED_FUNCTION_STATUS; >>> +       }; >>> + >>> +       led@3 { >>> +               reg = <3>; >>> +               color = ; >>> +               function = LED_FUNCTION_STATUS; >>> +       }; >>> +}; >> >> >>