[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8e2bdc31-2259-08c6-b50c-2b464bbc86bf@codeaurora.org>
Date: Tue, 4 May 2021 09:29:09 -0700
From: Subbaraman Narayanamurthy <subbaram@...eaurora.org>
To: Pavel Machek <pavel@....cz>
Cc: Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Andy Gross <agross@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-K??nig <u.kleine-koenig@...gutronix.de>,
Lee Jones <lee.jones@...aro.org>, linux-leds@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-pwm@...r.kernel.org,
Marijn Suijten <marijn.suijten@...ainline.org>,
Yassine Oudjana <y.oudjana@...tonmail.com>,
Luca Weiss <luca@...tu.xyz>
Subject: Re: [PATCH v7 1/6] dt-bindings: leds: Add Qualcomm Light Pulse
Generator binding
On 5/4/21 7:39 AM, Pavel Machek wrote:
> Hi!
> On Mon 2021-05-03 18:01:09, Subbaraman Narayanamurthy wrote:
>> On 4/29/21 2:15 PM, Bjorn Andersson wrote:
>>> This adds the binding document describing the three hardware blocks
>>> related to the Light Pulse Generator found in a wide range of Qualcomm
>>> PMICs.
>>>
>>> Signed-off-by: Bjorn Andersson <bjorn.andersson@...aro.org>
> ...
>>> + "^led@[0-9a-f]$":
>>> + type: object
>>> + $ref: common.yaml#
>>> +
>>
>> Just a question more than a comment. From what I can see, when this device is specified as a multi-color device or an individual device (e.g. "red", "green" and "blue"), the user can only set "pattern" and "repeat" under the corresponding device after setting "pattern" to "trigger". Would you be planning to add a way (e.g. another set of DT properties) for the user to specify such patterns via the devicetree itself?
>>
> Please trim your replies and format emails to 72 columns or so.
Sure noted.
> If you need patterns in DTS that can be discussed, but it should be
> generic functionality not tied to one driver.
I agree. It's not tied up just with this driver but wanted to see whether
it's feasible/acceptable.
>
> Best regards,
>
> Pavel
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Powered by blists - more mailing lists