Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp138707rdb; Sun, 28 Jan 2024 18:07:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFipdu5MY3xs6rn3jZ8EbweqwKK89q8ETbi7fGcX6xT5b/JxYR5Ocf3P0+Ih2PaM4QiqF0u X-Received: by 2002:a05:6808:11c8:b0:3bc:3c91:e2f1 with SMTP id p8-20020a05680811c800b003bc3c91e2f1mr5812014oiv.55.1706494077210; Sun, 28 Jan 2024 18:07:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706494077; cv=pass; d=google.com; s=arc-20160816; b=h6ZdvIvew+t41ikHl/hNB8cdJgSsb2hvUrIw6pvUPD5iqTSXZZK/hagMOL4wvwOCRI avgcBQhwKxhkYqTqjrtHq0L629xIAiIID+AuD+lcY2pxseNYcb+95WoooOP8epbAyLDO jZ+NNKvvlK00cOOvv8mbFad7uFmJKZ2L4lD8UUN0faQs1XOrrPR9VVJw1EJgRlREZRL0 BzR7/bPCCDFQYuEoLjuhmRcFm5uoMrBTHxdIRB5chJef1h1JH7I7jC9tE04VSAEV0oaM ryUMHwXKKyk4xhzP2zURBbqT4dhVUVWVrJAM7fkiTzHCN5cVjCQACiDQQZyYB96freG9 MjVQ== ARC-Message-Signature: i=2; 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=DDQk3+y02uSzL86nSTzmFGZIOkpXM2BW+E7wCU4D0WI=; fh=8+JK+BpuvZwpd9Xulnm7eb9WzoGlISUP1Nj2k811HCI=; b=KHSlkHpJw4lICxFRlVSu1bSHUYQqL/YiQE7Pxvea+euoRfxg1dxRjzn6KDwTR0tvws 2fxTgPXaxZ3l06Q38a1VrBVtVAQWJswqhAzQIGJFQ26j2dzdePDgomOUpNujvTEoKDQo w3n82HljCA75aTlmBhlUzKfIqSv3GtZ+rjnoAA51mnAHVj4NfUAxf42eHMZxr6iPbNUB t1FhiZkYVeLo1gUoXHwDTSMaEKZnaag0oYQKMvnk/2oyjo1nYwgX/4EDmsq2L06/KW9B 8Qol3l/39SarH3z90wDE0Hpr+mk4Cw10P7M4pEWl7i0+NDkcrQPYh6fAuwViENBwk9rP PQjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ggNxKTpv; 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-42077-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42077-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 gx20-20020a056a001e1400b006ddc23fd9a4si4855989pfb.297.2024.01.28.18.07.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 18:07:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42077-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=ggNxKTpv; 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-42077-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42077-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 C9AC9282446 for ; Mon, 29 Jan 2024 02:07:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC5D7EAE4; Mon, 29 Jan 2024 02:07:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ggNxKTpv" 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 DCB42DF46; Mon, 29 Jan 2024 02:07:04 +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=1706494026; cv=none; b=QUwhjMqtuQe8t+ZQaDdrSfmQmIyEdGS5HI1gJNaid/+AlMs6kHZRWJKeRv31ngtUzKD3MMez7bJjW9EKbndUYB3hzVN/WIJgI7KOEz7KyKkidDJmIXbSt/0zkC4MIFGEwPPJHtKkgNl775x/kIf7r3Ewi4qsQ2l+S/Hu6oAkMaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706494026; c=relaxed/simple; bh=3i6cKFeIQ1ytJAt62TE0JlxJs2NNSDs63DVrFTeKMcw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=SRrU4cZSTeYU5tMMYCAjoo6jjxLlgqTWdcyDJrzXbN2Z59QFtvzgp1XGoXlF8sX5RV8iVgpAHQxZVgF0mlRquEydWO7OJyUDMs0EG+mYm2PdmJ3yYFnvbqm6hj1AupdU4TXiQSfx5L/0B4/AW4bNsLxftBsSYJXBgb3IwyMVC+Y= 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=ggNxKTpv; 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 40T0oVwn018083; Mon, 29 Jan 2024 02:06:53 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=DDQk3+y02uSzL86nSTzmFGZIOkpXM2BW+E7wCU4D0WI=; b=gg NxKTpvzmxNd/28LVQBShnH0eHfMfzIoyPe6LeHJ39vGHm3VowRVNikTJD38uzvOB /f0OeOeGtldHTpuOBv3BeK2Br2REJGfw70t8IEwY5a8Xum3ELUmcLKBYUXWFB9Ku BWYO67/SuznF3bFg8elAEqQFpMCo5b7uej57wUIzQMsEJFVFdnTVEOzyQNagzQT4 sxvOKoh5nV9br9678mshz4721tjNqLAFJoQ4PyQaPBuPMmuALxtI6/pX++JLpFXE kRNi3MhJUucKnWES1Lwa245Xdiz0v7aMoKz4N44HJisdYLwTgPUqE3yI2Vm9VbSV 4piW06pA5P/zNoNEttSA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vvt7c2jge-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Jan 2024 02:06:52 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40T26pE6032069 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Jan 2024 02:06:51 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, 28 Jan 2024 18:06:48 -0800 Message-ID: <3ac210a6-d378-4f6a-9924-04f3dee9e79c@quicinc.com> Date: Mon, 29 Jan 2024 10:06:40 +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 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> <1d948daf-1495-4208-a85f-6bd798091d82@quicinc.com> From: hui liu In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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-ORIG-GUID: gtvtu1ND6x4d7-6vnbaY423bquFx0xkS X-Proofpoint-GUID: gtvtu1ND6x4d7-6vnbaY423bquFx0xkS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-25_14,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 spamscore=0 clxscore=1015 impostorscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 bulkscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401290014 On 1/22/2024 9:37 PM, Dmitry Baryshkov wrote: > On Mon, 22 Jan 2024 at 08:26, hui liu wrote: >> >> >> >> 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. > > Ack, thank you. Hi Dmitry, Could you give the approval for V6? https://lore.kernel.org/all/20240126-lpg-v6-1-f879cecbce69@quicinc.com/ 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; >>>>>> + }; >>>>>> +}; >>>>> >>>>> >>>>> > > >