Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp433829rdb; Mon, 15 Jan 2024 01:57:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxVrqoQMrsFULF3M/XCxoDtKajQPHnmSgTp6nvy31BVCfKY6y9DNfxpflr9e6y+IuO9JOu X-Received: by 2002:a05:6870:32cc:b0:203:ea22:4d98 with SMTP id r12-20020a05687032cc00b00203ea224d98mr8442743oac.87.1705312632036; Mon, 15 Jan 2024 01:57:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705312632; cv=none; d=google.com; s=arc-20160816; b=mQ3zOoymli/n716xDehe0mQMXqCimVol2abzZIwWlBb3u4D+sWTT91XF20mOeng/fu 4p7lO8SIBYSi7dI0pxvPOIGQog3tNKICGPLCnh9XxCfXpoXjoWr3Y+2MfQ71C/azzrot 5jbnucZPNBXoVDM0aPym5wVban0Ej9GfM6F9Jb05sv3zwGhd9sc9m7mOTe2xXZaeO4YE cTsOXOIoZVhig32S395pWSH2cL8dd9/fFJO0W4eRD4tbzSbpBV6AwDnlBiGCYFBxMhC5 XQFPRX4gVVRTBSF0aRS1j0mYOwFqWXUL9Vt/l4W7/jtYMwzDyksXwPEM++zfXFMGQP57 +Dew== 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=rrrlkPtyKBLLzzLdo3SLBCvzSHQvmOg5k9ZimxR5XrY=; fh=JSCp81yH3QU6/mHrG3eJ/hITf1+cqNjqF38WNWGm+yo=; b=ioLOqyFlJOVMcCRX9KBao+N580I2iF+BzXEz4oCyJUg+f16mCVTLf9z9QOv79Dqtlm F/e0E+k8Q3Wq9MfslXOGONuCfYIQuRtUkuyR7nhczT3Ef5SVmnNS+rKIbJcUEQdeAwzK PbxSIBV3BBTzTI+MME2qRTvtnaZqy48pbYqIXfpNazK76AiZrBCDBaoSLKTmVmAeQ0Zd 8ZDieBqKHx1YwbH+MHQk49Zlq6rEDVBcJCjPfRUEvefrChbGlG8JtJ58dwOkqg+OEeWZ S6yBYoYTMnMbQCdfSvoKdkA4GhmnNeG9uAANq9NR1ysRgV+KWaUd59dvaHM2fDQdTpfL g5gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XdbYZ2jS; spf=pass (google.com: domain of linux-kernel+bounces-25832-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f16-20020a63de10000000b005cf64c8f74asi3531676pgg.30.2024.01.15.01.57.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:57:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25832-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XdbYZ2jS; spf=pass (google.com: domain of linux-kernel+bounces-25832-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25832-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3E5E2B20C85 for ; Mon, 15 Jan 2024 09:57:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14D94EAF8; Mon, 15 Jan 2024 09:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XdbYZ2jS" Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 D56B1E568 for ; Mon, 15 Jan 2024 09:56:59 +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-f180.google.com with SMTP id 00721157ae682-5e778e484dbso75904647b3.0 for ; Mon, 15 Jan 2024 01:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705312619; x=1705917419; 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=rrrlkPtyKBLLzzLdo3SLBCvzSHQvmOg5k9ZimxR5XrY=; b=XdbYZ2jS7wUchI7ga4llvvR4F7e02kZM9y/Ky7OAO0BRyVYDexbTVeAedUKDQVtlZ9 EXeUTCK6EN1Xpcr1qvTps/nYBG9+VtvPvXkCugIX9O2moatKprs8pKjd4kNSxRft8Ur5 I4mFNxOKjwDEM+h+XkJF+ZNmC5ecnvDmzMRlyYIZ7Zs1XidMxM8j8lnf9FgW6abEoNwd g5Tlv1bUeaXjm1Oxzz9aaAvm0+nmTqeNE96ZI5RMmu36jhW3bfgN8qpqGzJGlZFZr4T4 eIxMIRV77dTxXMWLqid3Vw6RF5364RPHsgYnIM5B+U98S5ZrCNC4E6NZ/wUnjyXAL5bJ BRGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705312619; x=1705917419; 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=rrrlkPtyKBLLzzLdo3SLBCvzSHQvmOg5k9ZimxR5XrY=; b=Gz0n03bG5tSKUUADy+nMdstTnpz8GfGNcP79ElOboymPQz8ZU6yb2WnjIVVwqGh1+H TdPlAxGsxhzkYUYU59rzmcvEyI0yrdyQ8l3aGZFLJKDGiuawhfetrZ7n5Xn88VFNPPfs slCWTTGeZPNoMTrQx+fF6HK7DqYIDDYp0xhDb9rhN2VXnsyOJDYL2Ibl/bbAZ5KEwn0x UbCqyzjX8pem7lXMjqXkWQbMV2PtoI2CquUX5z3jCNHlm3AjgRhs4c0F+cLfhx9wBbTP WUK4NxzauTDV6vgJ/yBJ2clJDqyc8PR2T5z6B35+U1bYxnwgK4OQVUcZH5JPmo2VqeyW pKSA== X-Gm-Message-State: AOJu0Yz7QbREqv49oQ7Zig5pumzrJLC0toAiB4iSXd3kXtA0H4simMqE NLM9AJQ16v/ReugFxFPfBvFyw+fKcfi4WoNciFN7+NLv9EiiwQ== X-Received: by 2002:a25:b44:0:b0:dbe:346b:b9f with SMTP id 65-20020a250b44000000b00dbe346b0b9fmr2128932ybl.51.1705312618912; Mon, 15 Jan 2024 01:56:58 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240115-lpg-v5-1-3c56f77f9cec@quicinc.com> In-Reply-To: <20240115-lpg-v5-1-3c56f77f9cec@quicinc.com> From: Dmitry Baryshkov Date: Mon, 15 Jan 2024 11:56:48 +0200 Message-ID: Subject: Re: [PATCH v5] arm64: dts: qcom: qcm6490-idp: Add definition for three LEDs To: quic_huliu@quicinc.com 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 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. > > Signed-off-by: Hui Liu > --- > Changes in v5: > - Rephrased commit text, replaced qcs6490-idp to qcm6490-idp. > - Removed the unnecessary full. > - Link to v4: https://lore.kernel.org/r/20240112-lpg-v4-1-c4004026686b@quicinc.com > > Changes in v4: > - Removed "label" definition and added "function" definition. > - 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