Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp432988rdb; Mon, 15 Jan 2024 01:54:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+zfq+iup91bEFXO/vkyx7U5DtBWMGQf3iZ4l6QP2Ll9NOhmjqIEKY/ho8zSz33yGqU6+b X-Received: by 2002:a05:6870:89aa:b0:206:aa77:2ec2 with SMTP id f42-20020a05687089aa00b00206aa772ec2mr3011280oaq.11.1705312460917; Mon, 15 Jan 2024 01:54:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705312460; cv=none; d=google.com; s=arc-20160816; b=pugZ34/hPl6nSItxu/Qk0pZ9rVXZFPR2rdu70NzwHPV82sKstwHhq65xuWAgRESorO y8HohPdMESEFPoMzITERTgE3YFcu68iG2J+WxV6bGtADfwiYQ1282Gw3dNgzzitHkAu6 krSvUiSluJpK2DSBGs7k+QZbBNnd/UYYyNJRYA7IozRTbdcePpg1M5mFEjTTezZoc2Es 6v5uQC5moh5lQp1B1c2a9UVAEANQ1btJ9Nxs9/V6a3tX0iX3zn49QU7LdAKpD7P6FtD/ CvbafSnksywjkJiEJ9in3X9x5pSHwBIkGoF0pXvt6qBWEhyk0ZI3FTbv+yzh2+d+2rxY IAFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=Km0Qtz7q4pHjc67v0RYg5L+Ylsfr/XKzPScLyVzzc6Y=; fh=Ds54fC6F5DihYqkwrNILSnJjYTOy7vdAuvejUOCMLzI=; b=JnSVTwiSkYmdGOaSm9ugkDqzHQ4ZZdgivKs+r5qOK2bu4NzPMaASCLY/QIjzPH5Uz6 VnkeRE4wy2zBK4JhU64hFtewD1Q8U4t1cqfQXF6Zsy7LQ5UAPeW1gvN+83sNk6KNHvIo ZRmIzBEiBjFRORbXKli2yYuliGS/1H1gJZUrQ4bUK4XhxDBQ4hGerZWsJF6XbYElWHfg NP9EFzk557FD65Fgt9vOkDGFZnn6a8ytHiTe2U0sitS1579CC3m7hRYPaw7ZY1NYf2ET hC4beXpAP3tq7MCGFbCYCIS2CGZ+g0yOzr+L8iPJXQ4ygYp928S/SmOPqCw5OU1Twe+d m+zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LIeVukvy; spf=pass (google.com: domain of linux-kernel+bounces-25827-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b6-20020a63cf46000000b005cf1fc7a5bcsi8323774pgj.99.2024.01.15.01.54.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:54:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25827-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=@linaro.org header.s=google header.b=LIeVukvy; spf=pass (google.com: domain of linux-kernel+bounces-25827-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 3B70D2820EE for ; Mon, 15 Jan 2024 09:54:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E74AEAE7; Mon, 15 Jan 2024 09:54:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LIeVukvy" Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F373CE54C for ; Mon, 15 Jan 2024 09:54:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-5ec7a5a4b34so90224997b3.0 for ; Mon, 15 Jan 2024 01:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705312449; x=1705917249; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Km0Qtz7q4pHjc67v0RYg5L+Ylsfr/XKzPScLyVzzc6Y=; b=LIeVukvySD5Rmx82CeO8DpbZwXc+rJAvX5rdWtSFqvtUts5FtnqIjEDJ4QAPOGg3Rj 8AD5E8jw9cX2hZPAohLby2F5bSNAZLFqoOaSQ9Ndcr06N58Ito+SjT6rpd5aFVCl/spg EG9ydIuZV8h0rnUyrQ9ZTZ/6L6sy1yW3dWgJnCPWNqXowIXZMOZzzWSx83tVODyqoJHD Zd//VSrnFL3i4zba7d7IlYHzjtNIUDqUCpM9ff3herThRWFpnYcfuGgkMa8wT7ZIFgly ItujrBTEzCT1SkXBgSDlIpIaUEpkUVq3mTkeYCyEF1GHBKtGGx84CHRgpbQvmP+Z7X0C aGFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705312449; x=1705917249; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Km0Qtz7q4pHjc67v0RYg5L+Ylsfr/XKzPScLyVzzc6Y=; b=Ra7YOxKjdjOfp0NfxtgOHwBhWkjQqnsREE7Zv6dbhFJ3RFPvVvE2ycrfql+9pXjFfX 0E4BaJoYrH3gWzEh2xUhG1GaN1JrDibBtpYFRIDr5DoITd0ZZLGzVjCCwDhsbqO68MHn FJ4nbbWQBoKJZmBhL+qREUXxRGvFC0hEQpfiZQQ6xRBYw0mA2lSC1sFEY2nRdQH6UdpX u/zTCGGI5Xqq8e/BHyeGaAn0yTDTrqN0Ne9q0AbyP35ZbaJJrmuJWPIJORwmU4VETH64 gkAZXXnNHVEznNFQOqyuVpufGJ/iWOCgrT196u0Q+ykfaCMZTJibCHix6mMzSK1pk1rT Unng== X-Gm-Message-State: AOJu0YwB3DY/Ql/N+/6sf3ZF5etvfjvu7YKhf3VILRt5pW6swTlheWvY QgJEFtaHocsl2dN8MAN/6MbO/U4p2JUK15W4ReSnYnyNzpSEuQ== X-Received: by 2002:a0d:d74f:0:b0:5ea:448b:cf12 with SMTP id z76-20020a0dd74f000000b005ea448bcf12mr3624493ywd.67.1705312448979; Mon, 15 Jan 2024 01:54:08 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240112-lpg-v4-1-c4004026686b@quicinc.com> <8e51796a-49b6-4217-877b-e393d65ff398@quicinc.com> In-Reply-To: <8e51796a-49b6-4217-877b-e393d65ff398@quicinc.com> From: Dmitry Baryshkov Date: Mon, 15 Jan 2024 11:53:58 +0200 Message-ID: Subject: Re: [PATCH v4] arm64: dts: qcom: qcs6490-idp: Add definition for three LEDs. To: hui liu Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Mon, 15 Jan 2024 at 07:53, hui liu wrote: > 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. The "function" is a property of the LED (each of them) rather than being a top-level property. > > > > 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 > >> > >> > > > > -- With best wishes Dmitry