* [PATCH] clk: tegra: Fix vic03 mux index
@ 2014-02-20 13:54 ` Peter De Schrijver
0 siblings, 0 replies; 6+ messages in thread
From: Peter De Schrijver @ 2014-02-20 13:54 UTC (permalink / raw)
To: Peter De Schrijver
Cc: Prashant Gaikwad, Mike Turquette, Stephen Warren, Thierry Reding,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
The vic03 mux uses a linear mapping.
Signed-off-by: Peter De Schrijver <pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
drivers/clk/tegra/clk-tegra-periph.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/tegra/clk-tegra-periph.c b/drivers/clk/tegra/clk-tegra-periph.c
index f5376a3..1fa5c3f 100644
--- a/drivers/clk/tegra/clk-tegra-periph.c
+++ b/drivers/clk/tegra/clk-tegra-periph.c
@@ -371,9 +371,7 @@ static const char *mux_pllp3_pllc_clkm[] = {
static const char *mux_pllm_pllc_pllp_plla_pllc2_c3_clkm[] = {
"pll_m", "pll_c", "pll_p", "pll_a", "pll_c2", "pll_c3", "clk_m"
};
-static u32 mux_pllm_pllc_pllp_plla_pllc2_c3_clkm_idx[] = {
- [0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 6,
-};
+#define mux_pllm_pllc_pllp_plla_pllc2_c3_clkm_idx NULL
static const char *mux_pllm_pllc2_c_c3_pllp_plla_pllc4[] = {
"pll_m", "pll_c2", "pll_c", "pll_c3", "pll_p", "pll_a_out0", "pll_c4",
--
1.7.7.rc0.72.g4b5ea.dirty
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] clk: tegra: Fix vic03 mux index
@ 2014-02-20 13:54 ` Peter De Schrijver
0 siblings, 0 replies; 6+ messages in thread
From: Peter De Schrijver @ 2014-02-20 13:54 UTC (permalink / raw)
To: Peter De Schrijver
Cc: Prashant Gaikwad, Mike Turquette, Stephen Warren, Thierry Reding,
linux-arm-kernel, linux-tegra, linux-kernel
The vic03 mux uses a linear mapping.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
---
drivers/clk/tegra/clk-tegra-periph.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/tegra/clk-tegra-periph.c b/drivers/clk/tegra/clk-tegra-periph.c
index f5376a3..1fa5c3f 100644
--- a/drivers/clk/tegra/clk-tegra-periph.c
+++ b/drivers/clk/tegra/clk-tegra-periph.c
@@ -371,9 +371,7 @@ static const char *mux_pllp3_pllc_clkm[] = {
static const char *mux_pllm_pllc_pllp_plla_pllc2_c3_clkm[] = {
"pll_m", "pll_c", "pll_p", "pll_a", "pll_c2", "pll_c3", "clk_m"
};
-static u32 mux_pllm_pllc_pllp_plla_pllc2_c3_clkm_idx[] = {
- [0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 6,
-};
+#define mux_pllm_pllc_pllp_plla_pllc2_c3_clkm_idx NULL
static const char *mux_pllm_pllc2_c_c3_pllp_plla_pllc4[] = {
"pll_m", "pll_c2", "pll_c", "pll_c3", "pll_p", "pll_a_out0", "pll_c4",
--
1.7.7.rc0.72.g4b5ea.dirty
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] clk: tegra: Fix vic03 mux index
@ 2014-02-20 13:54 ` Peter De Schrijver
0 siblings, 0 replies; 6+ messages in thread
From: Peter De Schrijver @ 2014-02-20 13:54 UTC (permalink / raw)
To: linux-arm-kernel
The vic03 mux uses a linear mapping.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
---
drivers/clk/tegra/clk-tegra-periph.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/tegra/clk-tegra-periph.c b/drivers/clk/tegra/clk-tegra-periph.c
index f5376a3..1fa5c3f 100644
--- a/drivers/clk/tegra/clk-tegra-periph.c
+++ b/drivers/clk/tegra/clk-tegra-periph.c
@@ -371,9 +371,7 @@ static const char *mux_pllp3_pllc_clkm[] = {
static const char *mux_pllm_pllc_pllp_plla_pllc2_c3_clkm[] = {
"pll_m", "pll_c", "pll_p", "pll_a", "pll_c2", "pll_c3", "clk_m"
};
-static u32 mux_pllm_pllc_pllp_plla_pllc2_c3_clkm_idx[] = {
- [0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 6,
-};
+#define mux_pllm_pllc_pllp_plla_pllc2_c3_clkm_idx NULL
static const char *mux_pllm_pllc2_c_c3_pllp_plla_pllc4[] = {
"pll_m", "pll_c2", "pll_c", "pll_c3", "pll_p", "pll_a_out0", "pll_c4",
--
1.7.7.rc0.72.g4b5ea.dirty
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] clk: tegra: Fix vic03 mux index
2014-02-20 13:54 ` Peter De Schrijver
(?)
@ 2014-02-20 17:29 ` Stephen Warren
-1 siblings, 0 replies; 6+ messages in thread
From: Stephen Warren @ 2014-02-20 17:29 UTC (permalink / raw)
To: Peter De Schrijver
Cc: Prashant Gaikwad, Mike Turquette, Thierry Reding,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
On 02/20/2014 06:54 AM, Peter De Schrijver wrote:
> The vic03 mux uses a linear mapping.
Reviewed-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
(although I'm not sure why the clock is called vic03 rather than just
vic as it is in the TRM, but that's unrelated to this patch)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] clk: tegra: Fix vic03 mux index
@ 2014-02-20 17:29 ` Stephen Warren
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Warren @ 2014-02-20 17:29 UTC (permalink / raw)
To: Peter De Schrijver
Cc: Prashant Gaikwad, Mike Turquette, Thierry Reding,
linux-arm-kernel, linux-tegra, linux-kernel
On 02/20/2014 06:54 AM, Peter De Schrijver wrote:
> The vic03 mux uses a linear mapping.
Reviewed-by: Stephen Warren <swarren@nvidia.com>
(although I'm not sure why the clock is called vic03 rather than just
vic as it is in the TRM, but that's unrelated to this patch)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] clk: tegra: Fix vic03 mux index
@ 2014-02-20 17:29 ` Stephen Warren
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Warren @ 2014-02-20 17:29 UTC (permalink / raw)
To: linux-arm-kernel
On 02/20/2014 06:54 AM, Peter De Schrijver wrote:
> The vic03 mux uses a linear mapping.
Reviewed-by: Stephen Warren <swarren@nvidia.com>
(although I'm not sure why the clock is called vic03 rather than just
vic as it is in the TRM, but that's unrelated to this patch)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-02-20 17:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 13:54 [PATCH] clk: tegra: Fix vic03 mux index Peter De Schrijver
2014-02-20 13:54 ` Peter De Schrijver
2014-02-20 13:54 ` Peter De Schrijver
[not found] ` <1392904492-11979-1-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-02-20 17:29 ` Stephen Warren
2014-02-20 17:29 ` Stephen Warren
2014-02-20 17:29 ` Stephen Warren
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.