Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1510441rdd; Thu, 11 Jan 2024 01:03:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsI29zrY1HN41uzriefa0sxJpVaelZ+6cSQLJx1AQrKSRy2nrbc7Y3/X75+Y5S03xTA9Og X-Received: by 2002:a2e:844d:0:b0:2cb:2d48:32b with SMTP id u13-20020a2e844d000000b002cb2d48032bmr184730ljh.53.1704963785333; Thu, 11 Jan 2024 01:03:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704963785; cv=none; d=google.com; s=arc-20160816; b=bXSd0LgoccUPopMEVc3UGDSo+klcIqpks2Q/0IzdbzLWEPK9rp3gWUso47gUcgevTz yx7XiN9wH1sZ8VzqT2vY+sn2cJCOcvnssjHc4w11DN4C7ejEW5lX/SXLBRnXdqqU/nE+ J6LMjP0WR20cK1fTKT9WSIFlS0FY4kavuWE9Zk59+UepnnTKCIMwGzgpob7MOz6dv/I9 0vBaJb9zhGACopfFN1EzlCzsRRr0x7gzOPuGyNlHjz19yAIm/viFC3ml5TbWw3syc8Uf QDB+MoiDjR9vmXHZ2lnDU2fgwh45iNbcM4u3zO7KZICvFH4XQylB2ufW+nnu+XheSIxB Xm9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=mEyCOzWKzhN6fJuNZ8x6DfrD1KxuLW5yl178ZcMbpVM=; fh=6fdQnWqtWaT7D8vox0Lerwuq6UiItE0Sjmuae8GtGjQ=; b=TtKHJoZf3Iogtom8z1x5M8EP4PydvlfeYi63Wc3GogORqtby584pDUuwR1SrjfQZep psziD0mojUMOdj91fE3Bq9V5C0ZEkW61XVunfYTfKppnfppvm2XWNUSxmBttjdsPBYPx 8rw6kGr08fNsoUaxavQrjybYPrDlgcovuf9TkxaRuNTTzYqI789Tfp91gLKk8jF5ZBQc 1G/dEk56ZlOKIkxoraVUFDO+xCDVyGX6XOyB6IiPrRKmJ6Vzrk3gUZQWoRM6vZqqMW6R jVHKsV4VMYr+XgAkReev+8ap+xwYodWxxeWrBOH/NDEgS1jQe5nYMa6qpG02CROchVo3 K4Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jt2phPfC; spf=pass (google.com: domain of linux-kernel+bounces-23276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d2-20020a50fb02000000b00552f53ce62dsi321425edq.600.2024.01.11.01.03.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 01:03:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jt2phPfC; spf=pass (google.com: domain of linux-kernel+bounces-23276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23276-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 17B621F21599 for ; Thu, 11 Jan 2024 09:03:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D0BC154B3; Thu, 11 Jan 2024 08:58:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Jt2phPfC" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 464471772E for ; Thu, 11 Jan 2024 08:58:38 +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-ej1-f53.google.com with SMTP id a640c23a62f3a-a2bdc3a3c84so156712966b.0 for ; Thu, 11 Jan 2024 00:58:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704963516; x=1705568316; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mEyCOzWKzhN6fJuNZ8x6DfrD1KxuLW5yl178ZcMbpVM=; b=Jt2phPfCjPKwX0A6qbLtRcbt0BvnJSbqP9E+w4/rJru/CDr1RP9u610lMf0UPIGvzt 8LIaUQqVzZT+2Gge9nJxnekH+Q6MxN0oPX9eJLU7EktHz4uqa5dpyIvt3YqQfOy62deU vQFuqRl/vhaAksInZ8qqrgOdERaIXw5sTzc7DmlIZgn5mJXxboEG7S/6AMLf/vrxbzdp Sxs+FVhg83sIJ5lUbduG4LKs+Y8PFOM217/tRv5922rQcLKxBbbo2NubJfAlZaZNi0Re 4DsB/Z8gLVHbJJUEbeibf/02h/ABeqXnx39/9+J4rRkk4FG2mZC9UYdrmchI2RleDkoZ 3d3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704963516; x=1705568316; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mEyCOzWKzhN6fJuNZ8x6DfrD1KxuLW5yl178ZcMbpVM=; b=doUgJz0qWGxGaRl0+3R3sX2BGN9JsBHZ73t+2gGcZ8mt/uXoCElVpfu/HIU9eBTRA5 oGjb2uVFQlN2BHZx/cE+bqTqKYcVR7XeBYXOROCqO387m6bWKhVgeyWSdF4sI+Dgp7NT yx8JfW36Ssjsx38kB8FtlklnlYWf+3BtJ+/Vkm92p6AbSsg6GPnIH8A7g0WVMKjUxqq3 AuTBKr12+1o06UriaJj5v6ifA74NnqIjVzbc/8hy/zNNfQzv5zkUZwXJb+iU9XE1yUYu b0vhqnR4gA2ggiKe3Ma0713v5VFHwXby4CIxsYH4uJFWLvRpzvDyv8m+xCgo37YNmYXf FOOA== X-Gm-Message-State: AOJu0Yx7Bvn6yS9eH++3rW+1Lh8OeS0TWhURtdiJXYUltXZQJy89q+qD wMqBGlS9Zg3ErTfSJLm9qHEu+MGRZpIXmA== X-Received: by 2002:a17:906:e12:b0:a28:e5eb:3f31 with SMTP id l18-20020a1709060e1200b00a28e5eb3f31mr398132eji.80.1704963516564; Thu, 11 Jan 2024 00:58:36 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id rv25-20020a17090710d900b00a26c8c70069sm319909ejb.48.2024.01.11.00.58.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Jan 2024 00:58:35 -0800 (PST) Message-ID: <3476ab0f-1589-4023-9951-3c03ab2467c3@linaro.org> Date: Thu, 11 Jan 2024 09:58:33 +0100 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 RESEND v3] arm64: dts: qcom: qcs6490-idp: Add definition for three LEDs. Content-Language: en-US To: Luca Weiss , quic_huliu@quicinc.com, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240111-lpg-v3-1-811c9e82dae4@quicinc.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+ws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CHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/01/2024 09:47, Luca Weiss wrote: > On Thu Jan 11, 2024 at 3:52 AM CET, 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 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 | 25 +++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts >> index 37c91fdf3ab9..f801144a1556 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,30 @@ vreg_bob_3p296: bob { >> }; >> }; >> >> +&pm8350c_pwm { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + status = "okay"; >> + >> + led@1 { >> + reg = <1>; > > Hi Hui Liu, > >> + color = ; >> + label = "red"; > > Please remove the deprecated "label" property. Since you already have > "color" set you only need to add "function". On phones for the > notification LED we usually use "function = LED_FUNCTION_STATUS;" > > Also depends on what your hardware looks like, if it's 3 separate LEDs > then with label replaced it would be okay. > If the 3 LEDs are in one spot (so you can mix the colors with it), then > please make it a RGB multi-led like e.g. in sm8550-qrd.dts. > I already asked for this and it was ignored: https://lore.kernel.org/all/6aa67adb-a4d5-40da-a261-c90050ac04b2@linaro.org/ Let's engage three different community reviewers to repeat the same, one feedback. This is just disrespectful to our time. Best regards, Krzysztof