From: Mark Brown <broonie@kernel.org>
To: Saurabh Singh <saurabh1.s@samsung.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
"grant.likely@linaro.org" <grant.likely@linaro.org>,
"rob.herring@calxeda.com" <rob.herring@calxeda.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"celinux-dev@tree.celinuxforum.org"
<celinux-dev@tree.celinuxforum.org>,
SREEVATSA D B <srevatsa@samsung.com>,
Praveen BP <bp.praveen@samsung.com>
Subject: Re: Re: [PATCH] Parse missing regulator constraints from device tree blob
Date: Thu, 16 Jan 2014 17:56:53 +0000 [thread overview]
Message-ID: <20140116175653.GJ17314@sirena.org.uk> (raw)
In-Reply-To: <8217085.584601389885483146.JavaMail.weblogic@epml20>
[-- Attachment #1: Type: text/plain, Size: 2450 bytes --]
On Thu, Jan 16, 2014 at 03:18:03PM +0000, Saurabh Singh wrote:
> Hi Mark,
>
> > Please send patches using the process in SubmittingPatches, the formatting
> > of the submission is very important for tools like git am which people use to
> > work with patches.
>
> As per your request sending the patch and description in git format.
> Please find below the patch.
>
> Regards,
No, please do as I asked and follow the process in SubmittingPatches -
as I said the format things are sent in is very important for the
tooling. Pasting the patch into a mail after some other text definitely
doesn't give a mail in the format covered in SubmittingPatches. If in
doubt send the mail to yourself and then compare it with other patches
sent to the list and test by applying with git am and make sure the
patch and changelog come out OK.
> +- regulator-valid-modes-mask: valid operations for regulator on particular machine
This is not adequately documented, what are "valid operations" and how
would they be encoded?
> +- regulator-input-uv: regulator input voltage, only if supply is another regulator
Why provide a property for this, surely if there is another regulator we
can just find out from that regulator what voltage it is outputting?
> +- regulator-initial-mode: default mode to set on startup
It is not documented what a mode is here or how one would specify it in
the property.
> +- regulator-initial-state: suspend state to set at init
Again, no semantics are provided for this.
> +- regulator-state-mem, regulator-state-disk, regulator-state-standby:
> + defines regulator suspend to memory, suspend to disk (hibernate) and standby respectively.
> + have following sub-constarints:
> + - regulator-state-uv: suspend voltage
> + - regulator-state-mode: suspend regulator operating mode
> + - regulator-state-enabled: is regulator enabled in this suspend state
> + - regulator-state-disabled: is the regulator disbled in this suspend state
I am very nervous about the idea of putting this stuff into DT. This
matches less and less well with modern system designs which are becoming
more and more dynamic, and of course the concepts of suspending to
memory, disk and standby are unclear and fluid - what is the difference
between memory and standby for example?
I'd be interested to know if there are real systems that need this and
can't figure out what to do dynamically.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2014-01-16 17:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-16 15:18 Re: [PATCH] Parse missing regulator constraints from device tree blob Saurabh Singh
2014-01-16 17:56 ` Mark Brown [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=20140116175653.GJ17314@sirena.org.uk \
--to=broonie@kernel.org \
--cc=bp.praveen@samsung.com \
--cc=celinux-dev@tree.celinuxforum.org \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=rob.herring@calxeda.com \
--cc=saurabh1.s@samsung.com \
--cc=srevatsa@samsung.com \
/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