* [PATCH v1] clk: tegra: Mark Memory Controller clock as critical
@ 2018-06-03 22:48 Dmitry Osipenko
2018-06-05 11:20 ` Peter De Schrijver
2018-07-09 0:09 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Osipenko @ 2018-06-03 22:48 UTC (permalink / raw)
To: Peter De Schrijver, Prashant Gaikwad, Michael Turquette, Stephen Boyd
Cc: linux-tegra, linux-clk, linux-kernel
Memory Controller should be always-on. Currently the sibling EMC clock is
marked as critical, let's mark MC clock too for consistency.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
drivers/clk/tegra/clk-divider.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/tegra/clk-divider.c b/drivers/clk/tegra/clk-divider.c
index 16e0aee14773..58874c1bbf5e 100644
--- a/drivers/clk/tegra/clk-divider.c
+++ b/drivers/clk/tegra/clk-divider.c
@@ -194,6 +194,7 @@ static const struct clk_div_table mc_div_table[] = {
struct clk *tegra_clk_register_mc(const char *name, const char *parent_name,
void __iomem *reg, spinlock_t *lock)
{
- return clk_register_divider_table(NULL, name, parent_name, 0, reg,
- 16, 1, 0, mc_div_table, lock);
+ return clk_register_divider_table(NULL, name, parent_name,
+ CLK_IS_CRITICAL, reg, 16, 1, 0,
+ mc_div_table, lock);
}
--
2.17.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1] clk: tegra: Mark Memory Controller clock as critical
2018-06-03 22:48 [PATCH v1] clk: tegra: Mark Memory Controller clock as critical Dmitry Osipenko
@ 2018-06-05 11:20 ` Peter De Schrijver
2018-07-09 0:09 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Peter De Schrijver @ 2018-06-05 11:20 UTC (permalink / raw)
To: Dmitry Osipenko
Cc: Prashant Gaikwad, Michael Turquette, Stephen Boyd, linux-tegra,
linux-clk, linux-kernel
On Mon, Jun 04, 2018 at 01:48:05AM +0300, Dmitry Osipenko wrote:
> Memory Controller should be always-on. Currently the sibling EMC clock is
> marked as critical, let's mark MC clock too for consistency.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
> ---
> drivers/clk/tegra/clk-divider.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/tegra/clk-divider.c b/drivers/clk/tegra/clk-divider.c
> index 16e0aee14773..58874c1bbf5e 100644
> --- a/drivers/clk/tegra/clk-divider.c
> +++ b/drivers/clk/tegra/clk-divider.c
> @@ -194,6 +194,7 @@ static const struct clk_div_table mc_div_table[] = {
> struct clk *tegra_clk_register_mc(const char *name, const char *parent_name,
> void __iomem *reg, spinlock_t *lock)
> {
> - return clk_register_divider_table(NULL, name, parent_name, 0, reg,
> - 16, 1, 0, mc_div_table, lock);
> + return clk_register_divider_table(NULL, name, parent_name,
> + CLK_IS_CRITICAL, reg, 16, 1, 0,
> + mc_div_table, lock);
> }
> --
> 2.17.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-clk" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] clk: tegra: Mark Memory Controller clock as critical
2018-06-03 22:48 [PATCH v1] clk: tegra: Mark Memory Controller clock as critical Dmitry Osipenko
2018-06-05 11:20 ` Peter De Schrijver
@ 2018-07-09 0:09 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2018-07-09 0:09 UTC (permalink / raw)
To: Dmitry Osipenko, Michael Turquette, Peter De Schrijver, Prashant Gaikwad
Cc: linux-tegra, linux-clk, linux-kernel
Quoting Dmitry Osipenko (2018-06-03 15:48:05)
> Memory Controller should be always-on. Currently the sibling EMC clock is
> marked as critical, let's mark MC clock too for consistency.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-09 0:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-03 22:48 [PATCH v1] clk: tegra: Mark Memory Controller clock as critical Dmitry Osipenko
2018-06-05 11:20 ` Peter De Schrijver
2018-07-09 0:09 ` Stephen Boyd
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).