From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2 V3] clk: sirf: add CSR atlas7 clk and reset support
Date: Wed, 10 Jun 2015 14:33:45 -0700 [thread overview]
Message-ID: <20150610213345.GF29640@codeaurora.org> (raw)
In-Reply-To: <CAGsJ_4xUk1kDnLDrRnipN+Kpm6oOe8C-4DfhdshVUmv+PKjgig@mail.gmail.com>
On 06/11, Barry Song wrote:
> 2015-05-22 5:33 GMT+08:00 Stephen Boyd <sboyd@codeaurora.org>:
> > On 05/16, Barry Song wrote:
> >> 2015-05-16 2:30 GMT+08:00 Stephen Boyd <sboyd@codeaurora.org>:
> >> > On 05/15, Barry Song wrote:
> >
> > It isn't really about making boot time faster, it's about using
> > the proper linux device model for clock providers. That way when
> > we want to support things like suspend/resume, deferred probe,
> > devm_*(), sysfs, etc. we can use the device model instead of
> > resorting to things like syscore_ops for suspend/resume or
> > forgoing features entirely.
> >
>
> my feeling is if the clock controller is an internal controller which
> serve all controllers in the SoC, "deferred probe" might be yes for
> almost all HW since all HW need clock. so it seems it makes "deferred
> probe" has no meaning. clock controller seems to be 1st HW which needs
> to be ready.
That sounds like a probe ordering problem, and I agree most
likely the clock driver will need to probe first in this case. It
doesn't do anything about other problems like suspend/resume or
other features that the device model provides solutions for
though. Maybe we don't use these features, but it doesn't mean we
should forgo the device model just because we don't need it.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2015-06-10 21:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-15 7:39 [PATCH 1/2 V3] clk: sirf: add CSR atlas7 clk and reset support Barry Song
2015-05-15 7:39 ` [PATCH 2/2 V3] ARM: dts: atlas7: add fixed frequency clocks in car node Barry Song
2015-05-15 17:00 ` Stephen Boyd
2015-05-15 18:30 ` [PATCH 1/2 V3] clk: sirf: add CSR atlas7 clk and reset support Stephen Boyd
2015-05-16 15:09 ` Barry Song
2015-05-21 21:33 ` Stephen Boyd
2015-06-10 16:30 ` Barry Song
2015-06-10 21:33 ` Stephen Boyd [this message]
2015-06-11 11:46 ` Barry Song
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=20150610213345.GF29640@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.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).