From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power
Date: Tue, 18 Apr 2017 17:29:35 +0300 [thread overview]
Message-ID: <1492525775.24567.69.camel@linux.intel.com> (raw)
In-Reply-To: <c5cf83a0-a518-aa77-18c5-1b0da7aa0456@samsung.com>
On Fri, 2017-04-07 at 19:05 +0900, Jaehoon Chung wrote:
> Hi Andy,
>
> On 04/06/2017 07:58 PM, Andy Shevchenko wrote:
> > On Thu, Apr 6, 2017 at 1:50 PM, Jaehoon Chung <jh80.chung@samsung.co
> > m> wrote:
> > > On 04/06/2017 06:46 PM, Andy Shevchenko wrote:
> > > > On Thu, 2017-04-06 at 18:24 +0900, Jaehoon Chung wrote:
> > > > > On 04/06/2017 05:51 PM, Andy Shevchenko wrote:
> > > > > > On Thu, Apr 6, 2017 at 6:44 AM, Simon Glass <sjg@chromium.or
> > > > > > g>
> > > > > > wrote:
> > > > > > > On 1 April 2017 at 07:11, Andy Shevchenko
> > > > > > > <andriy.shevchenko@linux.intel.com> wrote:
> > > > > how about mmc_power_init() is called in mmc_probe()?
> > > >
> > > > Yes, that's what I'm referring to. But the driver is pure SDHCI,
> > > > it
> > > > doesn't call mmc_probe() IIRC.
> > >
> > > After converting to DM, it might have the dependent to probing
> > > sequence.
> > > I'm not sure that u-boot has the priority for probing. maybe
> > > not...
> > >
> > > hmm..need to consider this patch..but i will think about more
> > > generic solution..
> >
> > It would be nice to have a generic solution indeed.
>
> Just thinking about below..?
>
> vcc_sd: sdmmc-regulator {
> ...
> regulator-boot-on;
> or
> regulator-always-on;
> ...
>
> };
>
> It should be always enabled..
Sorry, but no. It's not a regulator.
If you would like to know details, the 2 bits in PMU registers basically
represent clock gate and reset signal per IP which PMU controls.
P.S. Hardware might have a common regulator per power island which is
automatically latches the power down if all devices on the island are on
D3hot. But it's not controlled by software.
So, please consider my initial approach.
This patch holds Edison enabling...
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
next prev parent reply other threads:[~2017-04-18 14:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-15 18:25 [U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power Andy Shevchenko
2017-03-20 2:30 ` Simon Glass
2017-03-20 12:51 ` Andy Shevchenko
2017-04-01 4:24 ` Simon Glass
2017-04-01 13:11 ` Andy Shevchenko
2017-04-06 3:44 ` Simon Glass
2017-04-06 8:51 ` Andy Shevchenko
2017-04-06 9:24 ` Jaehoon Chung
2017-04-06 9:46 ` Andy Shevchenko
2017-04-06 10:50 ` Jaehoon Chung
2017-04-06 10:58 ` Andy Shevchenko
2017-04-07 10:05 ` Jaehoon Chung
2017-04-18 14:29 ` Andy Shevchenko [this message]
2017-04-18 14:33 ` Simon Glass
2017-04-18 14:45 ` Andy Shevchenko
2017-04-19 0:12 ` Simon Glass
2017-04-19 11:50 ` Andy Shevchenko
2017-04-23 1:18 ` Simon Glass
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=1492525775.24567.69.camel@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=u-boot@lists.denx.de \
/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