* [PATCH 1/2] clk: uniphier: add audio system clock
@ 2017-08-10 7:23 Katsuhiro Suzuki
2017-08-10 7:23 ` [PATCH 2/2] clk: uniphier: add video input subsystem clock Katsuhiro Suzuki
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Katsuhiro Suzuki @ 2017-08-10 7:23 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Masahiro Yamada, linux-clk
Cc: Masami Hiramatsu, Jassi Brar, linux-kernel, Katsuhiro Suzuki
Add clock for audio subsystem (AIO) and SoC internal audio codec
(EVEA) on UniPhier LD11/LD20 SoCs.
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
---
drivers/clk/uniphier/clk-uniphier-sys.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c
index ad0218182a9f..7c4528d0fb6e 100644
--- a/drivers/clk/uniphier/clk-uniphier-sys.c
+++ b/drivers/clk/uniphier/clk-uniphier-sys.c
@@ -57,6 +57,14 @@
#define UNIPHIER_PRO4_SYS_CLK_USB3(idx, ch) \
UNIPHIER_CLK_GATE("usb3" #ch, (idx), NULL, 0x2104, 16 + (ch))
+#define UNIPHIER_LD11_SYS_CLK_AIO(idx) \
+ UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 10), \
+ UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2108, 0)
+
+#define UNIPHIER_LD11_SYS_CLK_EVEA(idx) \
+ UNIPHIER_CLK_FACTOR("evea-io100m", -1, "spll", 1, 20), \
+ UNIPHIER_CLK_GATE("evea", (idx), "evea-io100m", 0x2108, 1)
+
const struct uniphier_clk_data uniphier_sld3_sys_clk_data[] = {
UNIPHIER_CLK_FACTOR("spll", -1, "ref", 65, 1), /* 1597.44 MHz */
UNIPHIER_CLK_FACTOR("upll", -1, "ref", 6000, 512), /* 288 MHz */
@@ -158,6 +166,8 @@ const struct uniphier_clk_data uniphier_ld11_sys_clk_data[] = {
/* Index 5 reserved for eMMC PHY */
UNIPHIER_LD11_SYS_CLK_STDMAC(8), /* HSC, MIO */
UNIPHIER_CLK_FACTOR("usb2", -1, "ref", 24, 25),
+ UNIPHIER_LD11_SYS_CLK_AIO(40),
+ UNIPHIER_LD11_SYS_CLK_EVEA(41),
/* CPU gears */
UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8),
UNIPHIER_CLK_DIV4("mpll", 2, 3, 4, 8),
@@ -194,6 +204,8 @@ const struct uniphier_clk_data uniphier_ld20_sys_clk_data[] = {
UNIPHIER_CLK_GATE("usb30", 14, NULL, 0x210c, 14),
UNIPHIER_CLK_GATE("usb30-phy0", 16, NULL, 0x210c, 12),
UNIPHIER_CLK_GATE("usb30-phy1", 17, NULL, 0x210c, 13),
+ UNIPHIER_LD11_SYS_CLK_AIO(40),
+ UNIPHIER_LD11_SYS_CLK_EVEA(41),
/* CPU gears */
UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8),
UNIPHIER_CLK_DIV4("spll", 2, 3, 4, 8),
--
2.13.2
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/2] clk: uniphier: add video input subsystem clock
2017-08-10 7:23 [PATCH 1/2] clk: uniphier: add audio system clock Katsuhiro Suzuki
@ 2017-08-10 7:23 ` Katsuhiro Suzuki
2017-08-10 11:07 ` Masahiro Yamada
2017-09-01 1:41 ` Stephen Boyd
2017-08-10 11:06 ` [PATCH 1/2] clk: uniphier: add audio system clock Masahiro Yamada
2017-09-01 1:41 ` Stephen Boyd
2 siblings, 2 replies; 7+ messages in thread
From: Katsuhiro Suzuki @ 2017-08-10 7:23 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Masahiro Yamada, linux-clk
Cc: Masami Hiramatsu, Jassi Brar, linux-kernel, Katsuhiro Suzuki
Add a clock for video input subsystem (EXIV) on
UniPhier LD11/LD20 SoCs.
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
---
drivers/clk/uniphier/clk-uniphier-sys.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c
index 7c4528d0fb6e..c60aa586fea7 100644
--- a/drivers/clk/uniphier/clk-uniphier-sys.c
+++ b/drivers/clk/uniphier/clk-uniphier-sys.c
@@ -65,6 +65,10 @@
UNIPHIER_CLK_FACTOR("evea-io100m", -1, "spll", 1, 20), \
UNIPHIER_CLK_GATE("evea", (idx), "evea-io100m", 0x2108, 1)
+#define UNIPHIER_LD11_SYS_CLK_EXIV(idx) \
+ UNIPHIER_CLK_FACTOR("exiv-io200m", -1, "spll", 1, 10), \
+ UNIPHIER_CLK_GATE("exiv", (idx), "exiv-io200m", 0x2110, 2)
+
const struct uniphier_clk_data uniphier_sld3_sys_clk_data[] = {
UNIPHIER_CLK_FACTOR("spll", -1, "ref", 65, 1), /* 1597.44 MHz */
UNIPHIER_CLK_FACTOR("upll", -1, "ref", 6000, 512), /* 288 MHz */
@@ -168,6 +172,7 @@ const struct uniphier_clk_data uniphier_ld11_sys_clk_data[] = {
UNIPHIER_CLK_FACTOR("usb2", -1, "ref", 24, 25),
UNIPHIER_LD11_SYS_CLK_AIO(40),
UNIPHIER_LD11_SYS_CLK_EVEA(41),
+ UNIPHIER_LD11_SYS_CLK_EXIV(42),
/* CPU gears */
UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8),
UNIPHIER_CLK_DIV4("mpll", 2, 3, 4, 8),
@@ -206,6 +211,7 @@ const struct uniphier_clk_data uniphier_ld20_sys_clk_data[] = {
UNIPHIER_CLK_GATE("usb30-phy1", 17, NULL, 0x210c, 13),
UNIPHIER_LD11_SYS_CLK_AIO(40),
UNIPHIER_LD11_SYS_CLK_EVEA(41),
+ UNIPHIER_LD11_SYS_CLK_EXIV(42),
/* CPU gears */
UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8),
UNIPHIER_CLK_DIV4("spll", 2, 3, 4, 8),
--
2.13.2
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 2/2] clk: uniphier: add video input subsystem clock
2017-08-10 7:23 ` [PATCH 2/2] clk: uniphier: add video input subsystem clock Katsuhiro Suzuki
@ 2017-08-10 11:07 ` Masahiro Yamada
2017-09-01 1:41 ` Stephen Boyd
1 sibling, 0 replies; 7+ messages in thread
From: Masahiro Yamada @ 2017-08-10 11:07 UTC (permalink / raw)
To: Katsuhiro Suzuki
Cc: Michael Turquette, Stephen Boyd, linux-clk, Masami Hiramatsu,
Jassi Brar, Linux Kernel Mailing List
2017-08-10 16:23 GMT+09:00 Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>:
> Add a clock for video input subsystem (EXIV) on
> UniPhier LD11/LD20 SoCs.
>
> Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] clk: uniphier: add video input subsystem clock
2017-08-10 7:23 ` [PATCH 2/2] clk: uniphier: add video input subsystem clock Katsuhiro Suzuki
2017-08-10 11:07 ` Masahiro Yamada
@ 2017-09-01 1:41 ` Stephen Boyd
2017-09-02 8:04 ` Katsuhiro Suzuki
1 sibling, 1 reply; 7+ messages in thread
From: Stephen Boyd @ 2017-09-01 1:41 UTC (permalink / raw)
To: Katsuhiro Suzuki
Cc: Michael Turquette, Masahiro Yamada, linux-clk, Masami Hiramatsu,
Jassi Brar, linux-kernel
On 08/10, Katsuhiro Suzuki wrote:
> Add a clock for video input subsystem (EXIV) on
> UniPhier LD11/LD20 SoCs.
>
> Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
> ---
Applied to clk-next with some conflict resolving, please check.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] clk: uniphier: add video input subsystem clock
2017-09-01 1:41 ` Stephen Boyd
@ 2017-09-02 8:04 ` Katsuhiro Suzuki
0 siblings, 0 replies; 7+ messages in thread
From: Katsuhiro Suzuki @ 2017-09-02 8:04 UTC (permalink / raw)
To: 'Stephen Boyd',
Suzuki, Katsuhiro/鈴木 勝博
Cc: Michael Turquette,
Yamada, Masahiro/山田 真弘, linux-clk,
Masami Hiramatsu, Jassi Brar, linux-kernel
Hello Stephen,
> Applied to clk-next with some conflict resolving, please check.
No problem. Thank you for applying!
Regards,
--
Katsuhiro Suzuki
> -----Original Message-----
> From: Stephen Boyd [mailto:sboyd@codeaurora.org]
> Sent: Friday, September 1, 2017 10:42 AM
> To: Suzuki, Katsuhiro/鈴木 勝博 <suzuki.katsuhiro@socionext.com>
> Cc: Michael Turquette <mturquette@baylibre.com>; Yamada, Masahiro/山田 真弘
> <yamada.masahiro@socionext.com>; linux-clk@vger.kernel.org; Masami Hiramatsu <masami.hiramatsu@linaro.org>;
> Jassi Brar <jaswinder.singh@linaro.org>; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 2/2] clk: uniphier: add video input subsystem clock
>
> On 08/10, Katsuhiro Suzuki wrote:
> > Add a clock for video input subsystem (EXIV) on UniPhier LD11/LD20
> > SoCs.
> >
> > Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
> > ---
>
> Applied to clk-next with some conflict resolving, please check.
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] clk: uniphier: add audio system clock
2017-08-10 7:23 [PATCH 1/2] clk: uniphier: add audio system clock Katsuhiro Suzuki
2017-08-10 7:23 ` [PATCH 2/2] clk: uniphier: add video input subsystem clock Katsuhiro Suzuki
@ 2017-08-10 11:06 ` Masahiro Yamada
2017-09-01 1:41 ` Stephen Boyd
2 siblings, 0 replies; 7+ messages in thread
From: Masahiro Yamada @ 2017-08-10 11:06 UTC (permalink / raw)
To: Katsuhiro Suzuki
Cc: Michael Turquette, Stephen Boyd, linux-clk, Masami Hiramatsu,
Jassi Brar, Linux Kernel Mailing List
2017-08-10 16:23 GMT+09:00 Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>:
> Add clock for audio subsystem (AIO) and SoC internal audio codec
> (EVEA) on UniPhier LD11/LD20 SoCs.
>
> Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
> ---
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] clk: uniphier: add audio system clock
2017-08-10 7:23 [PATCH 1/2] clk: uniphier: add audio system clock Katsuhiro Suzuki
2017-08-10 7:23 ` [PATCH 2/2] clk: uniphier: add video input subsystem clock Katsuhiro Suzuki
2017-08-10 11:06 ` [PATCH 1/2] clk: uniphier: add audio system clock Masahiro Yamada
@ 2017-09-01 1:41 ` Stephen Boyd
2 siblings, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2017-09-01 1:41 UTC (permalink / raw)
To: Katsuhiro Suzuki
Cc: Michael Turquette, Masahiro Yamada, linux-clk, Masami Hiramatsu,
Jassi Brar, linux-kernel
On 08/10, Katsuhiro Suzuki wrote:
> Add clock for audio subsystem (AIO) and SoC internal audio codec
> (EVEA) on UniPhier LD11/LD20 SoCs.
>
> Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
> ---
Applied to clk-next with some conflict resolving.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-09-02 8:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-10 7:23 [PATCH 1/2] clk: uniphier: add audio system clock Katsuhiro Suzuki
2017-08-10 7:23 ` [PATCH 2/2] clk: uniphier: add video input subsystem clock Katsuhiro Suzuki
2017-08-10 11:07 ` Masahiro Yamada
2017-09-01 1:41 ` Stephen Boyd
2017-09-02 8:04 ` Katsuhiro Suzuki
2017-08-10 11:06 ` [PATCH 1/2] clk: uniphier: add audio system clock Masahiro Yamada
2017-09-01 1:41 ` 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).