From: Laxman Dewangan <ldewangan@nvidia.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Regulator enable/disable delay based on board design: How to handle?
Date: Mon, 13 Feb 2012 14:48:18 +0530 [thread overview]
Message-ID: <4F38D55A.5020208@nvidia.com> (raw)
Hi Mark,
We observed that some of the rail enable/disable settling time depends
on the board design specially based on external capacitor connected on
rails. This is observed mainly on VBUS regulator rail where difference
on the capacitance value which is connected on rail makes the on/off
time to vary.
Currently none of regulator driver support such board related delay.
My question is:
- Should we add board delay as part of platform data for regulator and
handle in regulator driver? Or,
- Push this delay parameter to respective client driver and let them to
handle. Not a good idea as it is mainly related to rail on/off. Or,
- Should we add one more parameter in regulator_init_data as rail_delay
and push this change to core driver of regulator i.e. if it is non-zero
then take this value from this field otherwise take from <xxx>-regulator
driver?
I can also work towards If there is any other good options and
acceptable to linux community.
Thanks,
Laxman
next reply other threads:[~2012-02-13 9:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 9:18 Laxman Dewangan [this message]
2012-02-13 16:37 ` Regulator enable/disable delay based on board design: How to handle? Mark Brown
2012-02-13 17:58 ` Laxman Dewangan
2012-02-14 1:09 ` Mark Brown
2012-02-14 11:23 ` Laxman Dewangan
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=4F38D55A.5020208@nvidia.com \
--to=ldewangan@nvidia.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-kernel@vger.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;
as well as URLs for NNTP newsgroup(s).