From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Stephen Boyd <sboyd@kernel.org>
Cc: "Russell King" <linux@armlinux.org.uk>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Michael Turquette" <mturquette@baylibre.com>,
"Claudiu Beznea" <Claudiu.Beznea@microchip.com>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Lee Jones" <lee.jones@linaro.org>,
linux-clk <linux-clk@vger.kernel.org>,
"open list:REAL TIME CLOCK (RTC) SUBSYSTEM"
<linux-rtc@vger.kernel.org>,
"Ludovic Desroches" <Ludovic.Desroches@microchip.com>,
"Oleksij Rempel" <o.rempel@pengutronix.de>,
"Alexandru Ardelean" <aardelean@deviqon.com>,
linux-pwm@vger.kernel.org, "Arnd Bergmann" <arnd@arndb.de>,
"Mark Brown" <broonie@kernel.org>,
"Jonathan Cameron" <Jonathan.Cameron@huawei.com>,
"linux-arm Mailing List" <linux-arm-kernel@lists.infradead.org>,
"Alessandro Zummo" <a.zummo@towertech.it>,
linux-spi <linux-spi@vger.kernel.org>,
"Wolfram Sang" <wsa@kernel.org>,
"Sascha Hauer" <kernel@pengutronix.de>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Linus Torvalds" <torvalds@linux-foundation.org>
Subject: Re: About clk maintainership [Was: Re: [PULL] Add variants of devm_clk_get for prepared and enabled clocks enabled clocks]
Date: Sat, 31 Jul 2021 11:07:07 +0300 [thread overview]
Message-ID: <CAHp75VebJrb2VLSz7j+gX1RsVggHt1hNu7QyMWmPsY7D+UjUFw@mail.gmail.com> (raw)
In-Reply-To: <162771727997.714452.2303764341103276867@swboyd.mtv.corp.google.com>
On Sat, Jul 31, 2021 at 10:41 AM Stephen Boyd <sboyd@kernel.org> wrote:
> Quoting Russell King (Oracle) (2021-07-28 13:40:34)
> > > I adapted the Subject in the hope to catch Stephen's and Michael's
> > > attention. My impression is that this thread isn't on their radar yet,
> > > but the topic here seems important enough to get a matching Subject.
> I still wonder if it would be better if we had some sort of DT binding
> that said "turn this clk on when the driver probes this device and keep
> it on until the driver is unbound".
DT is not the only way the clocks are established in the kernel.
> That would probably work well for
> quite a few drivers that don't want to ever call clk_get() or
> clk_prepare_enable() and could tie into the assigned-clock-rates
> property in a way that let us keep the platform details out of the
> drivers.
> We could also go one step further and make a clk pm domain when
> this new property is present and then have the clk be enabled based on
> runtime PM of the device (and if runtime PM is disabled then just enable
> it at driver probe time).
This sounds like a good idea from a usage perspective.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2021-07-31 8:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210510174142.986250-1-u.kleine-koenig@pengutronix.de>
[not found] ` <20210609202123.u5rmw7al4x3rrvun@pengutronix.de>
[not found] ` <20210625171434.3xusxpxjprcdqa47@pengutronix.de>
[not found] ` <20210705080144.zfbzkm7l3gmnh6st@pengutronix.de>
[not found] ` <20210722060654.nudpdtemosi64nlb@pengutronix.de>
[not found] ` <YPkg0wtYIoHKpTUW@kunai>
[not found] ` <20210722081817.2tsjzof4gvldq6ka@pengutronix.de>
[not found] ` <YPlfcbkxiBmB+vw1@kunai>
[not found] ` <CAHp75VfC=s12Unw3+Cn0ag71mM5i90=Jbwj4nYwB5cPKiUTRSA@mail.gmail.com>
2021-07-23 9:13 ` [PULL] Add variants of devm_clk_get for prepared and enabled clocks enabled clocks Uwe Kleine-König
2021-07-26 9:18 ` Claudiu.Beznea
2021-07-26 9:52 ` Andy Shevchenko
2021-07-26 12:32 ` Wolfram Sang
2021-07-26 13:28 ` Andy Shevchenko
2021-07-26 17:40 ` Wolfram Sang
2021-07-28 20:25 ` About clk maintainership [Was: Re: [PULL] Add variants of devm_clk_get for prepared and enabled clocks enabled clocks] Uwe Kleine-König
2021-07-28 20:40 ` Russell King (Oracle)
2021-07-31 7:41 ` Stephen Boyd
2021-07-31 8:07 ` Andy Shevchenko [this message]
2021-07-31 12:00 ` Uwe Kleine-König
2021-08-02 9:36 ` Jonathan Cameron
2021-08-02 9:48 ` Russell King (Oracle)
2021-08-02 15:27 ` Uwe Kleine-König
2021-08-02 16:38 ` Russell King (Oracle)
2021-08-02 17:13 ` Andy Shevchenko
2021-08-02 20:28 ` Russell King (Oracle)
2021-08-03 8:11 ` Stephen Boyd
2021-08-03 10:40 ` Uwe Kleine-König
2021-08-06 0:26 ` Stephen Boyd
2021-09-14 13:22 ` Uwe Kleine-König
2021-09-14 13:52 ` Mark Brown
2021-08-03 7:44 ` Stephen Boyd
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=CAHp75VebJrb2VLSz7j+gX1RsVggHt1hNu7QyMWmPsY7D+UjUFw@mail.gmail.com \
--to=andy.shevchenko@gmail.com \
--cc=Claudiu.Beznea@microchip.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=Ludovic.Desroches@microchip.com \
--cc=a.zummo@towertech.it \
--cc=aardelean@deviqon.com \
--cc=akpm@linux-foundation.org \
--cc=alexandre.belloni@bootlin.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=kernel@pengutronix.de \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mturquette@baylibre.com \
--cc=o.rempel@pengutronix.de \
--cc=sboyd@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=torvalds@linux-foundation.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wsa@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).