From: Bjorn <bjorn@sonymobile.com>
To: Stephen Boyd <sboyd@codeaurora.org>
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>, Bryan Wu <cooloney@gmail.com>,
Richard Purdie <rpurdie@rpsys.net>,
Grant Likely <grant.likely@linaro.org>,
"Cavin, Courtney" <Courtney.Cavin@sonymobile.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-leds@vger.kernel.org" <linux-leds@vger.kernel.org>,
"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH 1/2] leds: add DT binding for Qualcomm PM8941 WLED block
Date: Thu, 18 Dec 2014 15:36:53 -0800 [thread overview]
Message-ID: <20141218233652.GD19036@sonymobile.com> (raw)
In-Reply-To: <5490D949.4@codeaurora.org>
On Tue 16 Dec 17:15 PST 2014, Stephen Boyd wrote:
> On 12/08/2014 04:22 PM, Bjorn Andersson wrote:
>
[..]
> > +- qcom,current-limit: mA; per-string current limit; value from 0 to 25
> > + default: 20mA
> > +- qcom,current-boost-limit: mA; boost current limit; one of:
> > + 105, 385, 525, 805, 980, 1260, 1400, 1680
> > + default: 805mA
[..]
> > +- qcom,ovp: V; Over-voltage protection limit; one of:
> > + 27, 29, 32, 35
> > + default: 29V
>
> It would be nice if the units were part of the property name, i.e.
> qcom,ovp-V, qcom,current-boost-limit-mA, etc. That way the units are
> known without having to refer to the documentation.
>
That might be useful, on the other hand one probably need to look inte bindings
docs to figure out valid values anyways.
> > +- qcom,num-strings: #; number of led strings attached; value from 1 to 3
> > + default: 2
>
> I wonder if qcom,#strings is more appropriate?
>
Checking the other docs indicate that it's far more common to use num- than #
here, but I haven't found anything written about it - it's more common to name
this just "qcom,strings" than "qcom,#strings" at least...
Regards,
Bjorn
prev parent reply other threads:[~2014-12-18 23:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-09 0:22 [PATCH 1/2] leds: add DT binding for Qualcomm PM8941 WLED block Bjorn Andersson
2014-12-09 0:22 ` [PATCH 2/2] leds: add Qualcomm PM8941 WLED driver Bjorn Andersson
2014-12-17 0:54 ` Bryan Wu
2014-12-18 23:43 ` Bjorn
2014-12-19 8:15 ` Ivan T. Ivanov
2014-12-17 1:15 ` Stephen Boyd
2014-12-18 23:57 ` Bjorn
2014-12-10 1:19 ` [PATCH 1/2] leds: add DT binding for Qualcomm PM8941 WLED block Bryan Wu
2014-12-17 0:54 ` Bryan Wu
2014-12-17 1:15 ` Stephen Boyd
2014-12-18 23:36 ` Bjorn [this message]
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=20141218233652.GD19036@sonymobile.com \
--to=bjorn@sonymobile.com \
--cc=Courtney.Cavin@sonymobile.com \
--cc=cooloney@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=rpurdie@rpsys.net \
--cc=sboyd@codeaurora.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;
as well as URLs for NNTP newsgroup(s).