Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp147044rdb; Sun, 21 Jan 2024 22:27:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFGjFxH01QlmTfwN2ab7OIk3vAN+lgDNG/8BeTRfHQkNy8f3WsFpKGfcoa8rX5EZImvRJ8 X-Received: by 2002:a05:620a:1355:b0:781:f62:b85e with SMTP id c21-20020a05620a135500b007810f62b85emr4729453qkl.127.1705904835173; Sun, 21 Jan 2024 22:27:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705904835; cv=pass; d=google.com; s=arc-20160816; b=ThBAG7ha9mXy93OWm8PEPGyfK9TvvuCZFzRaaM5R87ziMzL08ugZnOYGI4zc2f2Kim hF13lGUqY7MLUDkXi57jnHSK0ILfPzXiqNeF22PeBbJcaqmRAJpEmRpe4ai+cElfqb9t 9V9wEU6hnYyPbu9oJpbm9y/3l2ibuAQb+rr7t0w7LNv3f+9QLwFZ43vJfdErEHf/DexQ jOhGltwvPYNtlV8v0V3pHkU7TqG+/8wFV8xpH3dX8lp2zTzY0yKQw7Ej1W5lfv+G2WXn 3wq+d2FEOxV9c9NHwjM4z9D652t9iwyMY+7qJuXlrqjcd+ueVoplDOcLKwf6WD7PFpfP 7qeg== 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=2e3GJTCHBXIRIa2xi1JFzOr8pOZJtiKcyBWNnRMFbKo=; fh=8+JK+BpuvZwpd9Xulnm7eb9WzoGlISUP1Nj2k811HCI=; b=sDkj7de6nRC5IH2qzyM1f8uNLQJBWJxVpntqpqjWF16+FdNIlLAgJ8hjG2gJN/npIz pVJJ1pyVkIidkS6ifxvVCpfNEQ8jlc4IVJRgcnVMhgmziS10n4hWTk5Zw2igIIt+6tzx /AndGmSrml7xqwlGthsEqEoXkow/UY7yGJ/LlYeQiAi//p9kxML7qxxnNKlnt2fZZn6O ho5KPFKgGtwEnBLn5URtrO8a1ukO7TvBQFCtMNrpdJDv3VhJx+pFeCYqPM+HzZOY3V/G ShMP+xv3/xznz+CIQeQY+bXZkawOaYBkQcjTZqnP2hig05qakrNm+smLer+3GFDB6QqS 7btQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eM4pFIso; 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-32386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i12-20020a05620a248c00b007837eb189a9si5377872qkn.362.2024.01.21.22.27.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 22:27:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eM4pFIso; 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-32386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32386-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C5D001C22308 for ; Mon, 22 Jan 2024 06:27:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A352CA7F; Mon, 22 Jan 2024 06:26:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="eM4pFIso" 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 4669363A0; Mon, 22 Jan 2024 06:26:18 +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=1705904780; cv=none; b=gbM6/7jSm19ctfAxpkqLpWZt8/zz1Ss9hdIuY1AxjUKjYg9+uophZUqJhc3EbhdhEPhVRCZHtZ9mWXqbHNkWUGE4DBYmafOpcoybm4Cq6b7J2pRVXNPq3c0LhUnQr4GfPfUUmp7MDetmqlH1+ovneF5KmdqyA9WfgVLQTvz4brY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705904780; c=relaxed/simple; bh=DC43e5LlrKXe5UcLcRhk9LQEtT87s3dPthlc1qKcOI4=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=AHiYZEhELUKyL/PNCNos9zEbddY99M+dBgf0mmVbVHUiwNC2p+ieOgAkvPYqRtumTauZxlQouVN/UbFG42OGC6zueRNVwk10l2PGXuGjQinjj4UW32NGmVreTHe2O3WvCjwr/iPjqQhbcX0qQYk+Mq+nde4aqGbWwA5QF6EdWSQ= 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=eM4pFIso; 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40M5qiQe013651; Mon, 22 Jan 2024 06:26:14 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=2e3GJTCHBXIRIa2xi1JFzOr8pOZJtiKcyBWNnRMFbKo=; b=eM 4pFIsocrLr0D5zZ7l0qVEfyIcUGyJYmn/B4d2LJ0fCwN2is8N2xVRv2cqICdNRah kwLYDwLRXyFPrDgq0WyM4rf1CTzIugrhGrPz2SqFRQvuNKRDkGrMTClT1R4j+/JA GHcuqWy7NdaF3Mj7k43K6ZdKrZS5Z12EYlpFzOUeVL40O1LRFUlABOZ5ZS22xupR cyaqNWkEWUd+9CcxapVP88VpyeifmsFOmFOGg594ACwgqdD7CWuhNjUKMSvKnFHx kSwcVrzDNl1N2XfLSiGmahh0xrwBla/ySA3qWeQ7bxNaNSdh3VNdK1W7BTZnCTf5 ivJK9tgXdqSrYULQcu0w== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vsjktg202-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jan 2024 06:26:13 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40M6QCD6013887 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jan 2024 06:26:12 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 22:26:08 -0800 Message-ID: <1d948daf-1495-4208-a85f-6bd798091d82@quicinc.com> Date: Mon, 22 Jan 2024 14:25:58 +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> <5f6c2be1-faf9-4e64-ab3a-88046d75e2cf@quicinc.com> In-Reply-To: <5f6c2be1-faf9-4e64-ab3a-88046d75e2cf@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: uDbe56tKJHwOyS8vhSGpOlmCzq8RKaEu X-Proofpoint-ORIG-GUID: uDbe56tKJHwOyS8vhSGpOlmCzq8RKaEu 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 malwarescore=0 mlxscore=0 suspectscore=0 clxscore=1015 phishscore=0 bulkscore=0 adultscore=0 impostorscore=0 mlxlogscore=999 priorityscore=1501 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401220044 On 1/22/2024 1:42 PM, hui liu wrote: > > > 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? > >> 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 I double confirmed the HW design, for IDP devcie, we should set it to multi led, for another similar device(RB3-GEN2, I will push LED change for this device later), it should be set to seperate LED. They are different, so I will push V6 to set it for multi-led for QCM6490-IDP device. Thanks for your review. >>> >>>> >>>> +&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; >>>> +       }; >>>> +}; >>> >>> >>>