Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2059358rdd; Thu, 11 Jan 2024 19:37:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IEg4x+jjT2/xgq06zmdBfP0CfZrryK43Cc/TczBbSUwK6fQ8618rZvapG1n0Z7QTwZjVRpU X-Received: by 2002:a05:622a:1983:b0:429:74d5:4d9a with SMTP id u3-20020a05622a198300b0042974d54d9amr2321361qtc.31.1705030622705; Thu, 11 Jan 2024 19:37:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705030622; cv=none; d=google.com; s=arc-20160816; b=RJ4br4pi1wLmGBQvWKHFJVGzKCo+XviaWDmGFr24gRpsoFQgJwLVgp9amvRcu4E7jY HYf+A2r63i6AxmKpsoLjiGrcNtsQncmOHkiv/aM/3PMELofrrbgHKxQndiJYNrxQhYQx xFxXo0T3ebd5obse8inuux78KgtSxwHwOuvN2hoHUNt5BQ6g0A+xVw90CYt0VJIghn/9 pkygPbLHb7macAzQqdIo0cBdhzCn+dybDGgl1PvmxS/TCwnPaK6Jtk4fsxD2nAL1HfMh ogKofFvQzb+81i27efFsduON//R6IayaB3XN+OszZ1NIIMKtD7HIqsATwA/1tRd9Tx96 aMfw== 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=GEYe0U4gORZBXN1j3b/LGEmE8U+x0Ew9Qh5xXurgWGw=; fh=JSCp81yH3QU6/mHrG3eJ/hITf1+cqNjqF38WNWGm+yo=; b=Doamkcmp5XWd8E3i9mcr0TC/2IVWi4akC76WrohEd2DsS3zATsm0Qsl/EEsX2j3bBd qe96Hl1mvsvYhzWqiVQr6KWYvrwk/NQvcVywDrMCNFNH3IKP/iWPS+VPUEh1jLdjeZcT SslmQua3E6Iw3mrjEZr474MMZAdHtrd60lECQ5ZDm/+5Xx9agan9PYpSEKHL65xrCoB1 2X0Hgm8NPHV5jpuk4HWYZRygngUsOxhBqI5LYsUg47isst44YIFCP+0EImX//vbgw/ey m+Uxf31Aj5jvU7NJN0Nt8SteyDI7+YgtLmUn/aYoDvfUmhAdOQWcECgt0iSNeA+3s61E Wv9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y4joe22e; spf=pass (google.com: domain of linux-kernel+bounces-24266-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24266-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a22-20020a05622a02d600b004299b761b02si2258667qtx.633.2024.01.11.19.37.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 19:37:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24266-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y4joe22e; spf=pass (google.com: domain of linux-kernel+bounces-24266-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24266-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 352C81C23C12 for ; Fri, 12 Jan 2024 03:37:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0C0A1B281; Fri, 12 Jan 2024 03:36:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Y4joe22e" Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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 6988E1A733 for ; Fri, 12 Jan 2024 03:36:49 +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-f169.google.com with SMTP id 00721157ae682-5f2aab1c0c5so55313857b3.0 for ; Thu, 11 Jan 2024 19:36:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705030608; x=1705635408; 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=GEYe0U4gORZBXN1j3b/LGEmE8U+x0Ew9Qh5xXurgWGw=; b=Y4joe22eo1SrfigjCJx8/zwIDfIOhVhcoK27HnXQBLg9lQRsDiyHoCM7w7j+RwoFdH Z+v8KpEH4EMN6Z2oj62H7JqYldHyjUepOmJU691AZWpP48VKtk6R3l8NWylqoHt0k0vm r02GAewzm0NXksiORO/2tR7iu3Qh5UkF5zLLyJ0BmDTOF8nIPOm2zoAnBjIyKcGPFxwH BMXclz4mefJ7sE7MnwXenleI4NiXVBhOiYP4AiFsJI8GFSGgVH5rMBSol4glEqnnpdEq /gMsQ6FxBYhUWYcx/x1HyRGPDi0Nnmln9ltMlk5T0SGTyUQyX3ziqiZewlDvTo7uQp45 L7hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705030608; x=1705635408; 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=GEYe0U4gORZBXN1j3b/LGEmE8U+x0Ew9Qh5xXurgWGw=; b=ItF+Co+iGUYdSMINFRXH98pvMkFvT50nHYgs3i9wpGJpoA4WOoVQEd/4mAZm/pe//V nFKcFiV9HmwVuc2medIFgO+HLuvFkURqaAzlKRR8pa6ogsTMcmNAhF49LM5Bjt+3XaiC ZXnB+pCQSBk7d4WKaI38bZ0g1FE3Y0/m2myUSmGPqoyEMr8PFWUMPaaAyKFzwatHbLSv 0oWRKvuYvZbwkGIs/cTlbA0UXP6zlyNgHlmGiK9cpdpscqi1vVjtalWluN2+uh1FNZiQ s8X5odWKd01oEQde+eafq09R9TEVxU/hVae/CXnSNNkqhbCTyNaUCbCxF61hy68amp4R XByA== X-Gm-Message-State: AOJu0YxFbx17SHwgk6xar+rOK2bXpUiCnhRb9WfE6P71I+5P3/8BoYpN igBd5fFmPDelhGmSkgmVnqW82hG3FiVDnzbKMBpUlpix52Zz9Q== X-Received: by 2002:a81:b610:0:b0:5e5:3342:c600 with SMTP id u16-20020a81b610000000b005e53342c600mr1050213ywh.9.1705030607689; Thu, 11 Jan 2024 19:36:47 -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> In-Reply-To: <20240112-lpg-v4-1-c4004026686b@quicinc.com> From: Dmitry Baryshkov Date: Fri, 12 Jan 2024 05:36:37 +0200 Message-ID: Subject: Re: [PATCH v4] arm64: dts: qcom: qcs6490-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 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". BTW: the commit subject is still wrong. Compare "qmp6490-idp" vs "qcs6490-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