* [PATCH v2] clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks
@ 2020-07-22 16:18 Alex Bee
2020-07-22 19:21 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Alex Bee @ 2020-07-22 16:18 UTC (permalink / raw)
To: Heiko Stuebner, linux-rockchip
Cc: Alex Bee, Michael Turquette, Stephen Boyd, linux-clk,
linux-arm-kernel, linux-kernel
Since the loopbacktest clock is not exported and is not touched in the
driver, it has to be added to rk3188_critical_clocks to be protected from
being disabled and in order to get the emac working.
Signed-off-by: Alex Bee <knaerzche@gmail.com>
---
Changes in v2:
- add sclk_mac_lbtest to rk3188_critical_clocks instead of adding the
CLOCK_IGNORE_UNUSED flag
drivers/clk/rockchip/clk-rk3188.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c
index 77aebfb1d6d5..730020fcc7fe 100644
--- a/drivers/clk/rockchip/clk-rk3188.c
+++ b/drivers/clk/rockchip/clk-rk3188.c
@@ -751,6 +751,7 @@ static const char *const rk3188_critical_clocks[] __initconst = {
"pclk_peri",
"hclk_cpubus",
"hclk_vio_bus",
+ "sclk_mac_lbtest",
};
static struct rockchip_clk_provider *__init rk3188_common_clk_init(struct device_node *np)
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks
2020-07-22 16:18 [PATCH v2] clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks Alex Bee
@ 2020-07-22 19:21 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2020-07-22 19:21 UTC (permalink / raw)
To: Alex Bee, linux-rockchip
Cc: Heiko Stuebner, Stephen Boyd, linux-arm-kernel, linux-kernel,
linux-clk, Michael Turquette
On Wed, 22 Jul 2020 18:18:20 +0200, Alex Bee wrote:
> Since the loopbacktest clock is not exported and is not touched in the
> driver, it has to be added to rk3188_critical_clocks to be protected from
> being disabled and in order to get the emac working.
Applied, thanks!
[1/1] clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks
commit: ef990bcad58cf1d13c5a49191a2c2342eb8d6709
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-22 19:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 16:18 [PATCH v2] clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks Alex Bee
2020-07-22 19:21 ` Heiko Stuebner
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).