lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNARo_yGJW+OqLvoDUZgztxT+dr7W3xNvvEiQjZRzEtF03w@mail.gmail.com>
Date:   Thu, 8 Mar 2018 17:38:00 +0900
From:   Masahiro Yamada <yamada.masahiro@...ionext.com>
To:     Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
Cc:     Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <sboyd@...eaurora.org>,
        linux-clk <linux-clk@...r.kernel.org>,
        linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
        Masami Hiramatsu <masami.hiramatsu@...aro.org>,
        Jassi Brar <jaswinder.singh@...aro.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] clk: uniphier: add Pro4/Pro5/PXs2 audio system clock

2018-03-08 17:23 GMT+09:00 Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>:
> Add clock for audio subsystem (AIO) on UniPhier
> Pro4/Pro5/PXs2 SoCs.
>
> Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@...ionext.com>
> ---


Acked-by: Masahiro Yamada <yamada.masahiro@...ionext.com>



>  drivers/clk/uniphier/clk-uniphier-sys.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c
> index d244e724e198..06c5269f63f5 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_PRO4_SYS_CLK_AIO(idx)                                 \
> +       UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 8),            \
> +       UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13)
> +
> +#define UNIPHIER_PRO5_SYS_CLK_AIO(idx)                                 \
> +       UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 12),           \
> +       UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13)
> +
>  #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)
> @@ -104,6 +112,7 @@ const struct uniphier_clk_data uniphier_pro4_sys_clk_data[] = {
>         UNIPHIER_PRO4_SYS_CLK_GIO(12),                  /* Ether, SATA, USB3 */
>         UNIPHIER_PRO4_SYS_CLK_USB3(14, 0),
>         UNIPHIER_PRO4_SYS_CLK_USB3(15, 1),
> +       UNIPHIER_PRO4_SYS_CLK_AIO(40),
>         { /* sentinel */ }
>  };
>
> @@ -132,6 +141,7 @@ const struct uniphier_clk_data uniphier_pro5_sys_clk_data[] = {
>         UNIPHIER_PRO4_SYS_CLK_GIO(12),                          /* PCIe, USB3 */
>         UNIPHIER_PRO4_SYS_CLK_USB3(14, 0),
>         UNIPHIER_PRO4_SYS_CLK_USB3(15, 1),
> +       UNIPHIER_PRO5_SYS_CLK_AIO(40),
>         { /* sentinel */ }
>  };
>
> @@ -149,6 +159,7 @@ const struct uniphier_clk_data uniphier_pxs2_sys_clk_data[] = {
>         /* The document mentions 0x2104 bit 18, but not functional */
>         UNIPHIER_CLK_GATE("usb30-phy", 16, NULL, 0x2104, 19),
>         UNIPHIER_CLK_GATE("usb31-phy", 20, NULL, 0x2104, 20),
> +       UNIPHIER_PRO5_SYS_CLK_AIO(40),
>         { /* sentinel */ }
>  };
>
> --
> 2.16.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-clk" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ