mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hui liu <quic_huliu@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <quic_fenglinw@quicinc.com>
Subject: Re: [PATCH v5] arm64: dts: qcom: qcm6490-idp: Add definition for three LEDs
Date: Mon, 22 Jan 2024 13:42:47 +0800	[thread overview]
Message-ID: <5f6c2be1-faf9-4e64-ab3a-88046d75e2cf@quicinc.com> (raw)
In-Reply-To: <4c82f1f0-1c5a-498f-9845-b5b26cd76468@quicinc.com>



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 <quic_huliu@quicinc.com> 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
>>>>>> <devnull+quic_huliu.quicinc.com@kernel.org> wrote:
>>>>>>>
>>>>>>> From: Hui Liu <quic_huliu@quicinc.com>
>>>>>>>
>>>>>>> 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?
> 
Hi Dmitry,
  If there is no other issue, can I push the V6?
Thanks,
Hui

> 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
>>
>>>
>>> +&pm8350c_pwm {
>>> +       #address-cells = <1>;
>>> +       #size-cells = <0>;
>>> +       status = "okay";
>>> +
>>> +       led@1 {
>>> +               reg = <1>;
>>> +               color = <LED_COLOR_ID_RED>;
>>> +               function = LED_FUNCTION_STATUS;
>>> +       };
>>> +
>>> +       led@2 {
>>> +               reg = <2>;
>>> +               color = <LED_COLOR_ID_GREEN>;
>>> +               function = LED_FUNCTION_STATUS;
>>> +       };
>>> +
>>> +       led@3 {
>>> +               reg = <3>;
>>> +               color = <LED_COLOR_ID_BLUE>;
>>> +               function = LED_FUNCTION_STATUS;
>>> +       };
>>> +};
>>
>>
>>

  reply	other threads:[~2024-01-22  5:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-15  9:48 Hui Liu via B4 Relay
2024-01-15  9:56 ` Dmitry Baryshkov
2024-01-15 10:18   ` hui liu
2024-01-15 10:26     ` Krzysztof Kozlowski
2024-01-17  3:02       ` hui liu
2024-01-17  3:41         ` Dmitry Baryshkov
2024-01-18  2:06           ` hui liu
2024-01-22  5:42             ` hui liu [this message]
2024-01-22  6:25               ` hui liu
2024-01-22 13:37                 ` Dmitry Baryshkov
2024-01-29  2:06                   ` hui liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f6c2be1-faf9-4e64-ab3a-88046d75e2cf@quicinc.com \
    --to=quic_huliu@quicinc.com \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_fenglinw@quicinc.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®