From: Stephen Boyd <sboyd@kernel.org>
To: heiko <heiko@sntech.de>, mturquette <mturquette@baylibre.com>,
zhangqing@rock-chips.com
Cc: linux-clk <linux-clk@vger.kernel.org>,
linux-rockchip <linux-rockchip@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
huangtao <huangtao@rock-chips.com>,
张学广 <sugar.zhang@rock-chips.com>
Subject: Re: Re: [PATCH v1] clk: gate: export clk_gate_endisable
Date: Wed, 07 Aug 2024 13:57:21 -0700 [thread overview]
Message-ID: <d673b1539ad5d4abfff29900461f9209.sboyd@kernel.org> (raw)
In-Reply-To: <2024080709283455745026@rock-chips.com>
Quoting zhangqing@rock-chips.com (2024-08-06 18:28:34)
> Hi,
>
> Some modules, which need to do workaround, need to disabled the clock directly,
> independent of the reference count.
We don't want clk consumers going behind the clk provider and turning it
off and on. You'll need to figure out some other way to do this. Are
there really other consumers besides the one changing the pin to a gpio?
If there's only one user then it seems like clk_disable() should work?
next prev parent reply other threads:[~2024-08-07 20:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 7:38 Elaine Zhang
2024-08-06 17:52 ` Stephen Boyd
[not found] ` <2024080709283455745026@rock-chips.com>
2024-08-07 20:57 ` Stephen Boyd [this message]
2024-08-08 1:09 ` zhangqing
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=d673b1539ad5d4abfff29900461f9209.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=heiko@sntech.de \
--cc=huangtao@rock-chips.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=sugar.zhang@rock-chips.com \
--cc=zhangqing@rock-chips.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
all inboxes | Powered by JetHome®