All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/4] ARM: shmobile: r8a7791: Add SYS-DMAC clocks
Date: Mon, 02 Jun 2014 18:13:29 +0000	[thread overview]
Message-ID: <538CBEC9.6090707@cogentembedded.com> (raw)
In-Reply-To: <1401716424-29740-2-git-send-email-geert+renesas@glider.be>

Hello.

On 06/02/2014 05:40 PM, Geert Uytterhoeven wrote:

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>   arch/arm/mach-shmobile/clock-r8a7791.c | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)

> diff --git a/arch/arm/mach-shmobile/clock-r8a7791.c b/arch/arm/mach-shmobile/clock-r8a7791.c
> index e2fdfcc14436..b0b2294513e2 100644
> --- a/arch/arm/mach-shmobile/clock-r8a7791.c
> +++ b/arch/arm/mach-shmobile/clock-r8a7791.c
> @@ -178,7 +178,7 @@ enum {
>   	MSTP719, MSTP718, MSTP715, MSTP714,
>   	MSTP522,
>   	MSTP314, MSTP312, MSTP311,
> -	MSTP216, MSTP207, MSTP206,
> +	MSTP219, MSTP218, MSTP216, MSTP207, MSTP206,

    I'd put the latter two on a separate line or on the same line with the 
following three.

>   	MSTP204, MSTP203, MSTP202,
>   	MSTP124,
>   	MSTP_NR
> @@ -215,6 +215,8 @@ static struct clk mstp_clks[MSTP_NR] = {
>   	[MSTP312] = SH_CLK_MSTP32_STS(&div6_clks[DIV6_SD1], SMSTPCR3, 12, MSTPSR3, 0), /* SDHI1 */
>   	[MSTP311] = SH_CLK_MSTP32_STS(&div6_clks[DIV6_SD2], SMSTPCR3, 11, MSTPSR3, 0), /* SDHI2 */
>   	[MSTP216] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 16, MSTPSR2, 0), /* SCIFB2 */
> +	[MSTP219] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 19, MSTPSR2, 0), /* SYS-DMAC0 */
> +	[MSTP218] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 18, MSTPSR2, 0), /* SYS-DMAC1 */

    I think these 2 clocks should precede SCIFB2 clock.

>   	[MSTP207] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 7, MSTPSR2, 0), /* SCIFB1 */
>   	[MSTP206] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 6, MSTPSR2, 0), /* SCIFB0 */
>   	[MSTP204] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 4, MSTPSR2, 0), /* SCIFA0 */

WBR, Sergei


WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: shmobile: r8a7791: Add SYS-DMAC clocks
Date: Mon, 02 Jun 2014 22:13:29 +0400	[thread overview]
Message-ID: <538CBEC9.6090707@cogentembedded.com> (raw)
In-Reply-To: <1401716424-29740-2-git-send-email-geert+renesas@glider.be>

Hello.

On 06/02/2014 05:40 PM, Geert Uytterhoeven wrote:

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>   arch/arm/mach-shmobile/clock-r8a7791.c | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)

> diff --git a/arch/arm/mach-shmobile/clock-r8a7791.c b/arch/arm/mach-shmobile/clock-r8a7791.c
> index e2fdfcc14436..b0b2294513e2 100644
> --- a/arch/arm/mach-shmobile/clock-r8a7791.c
> +++ b/arch/arm/mach-shmobile/clock-r8a7791.c
> @@ -178,7 +178,7 @@ enum {
>   	MSTP719, MSTP718, MSTP715, MSTP714,
>   	MSTP522,
>   	MSTP314, MSTP312, MSTP311,
> -	MSTP216, MSTP207, MSTP206,
> +	MSTP219, MSTP218, MSTP216, MSTP207, MSTP206,

    I'd put the latter two on a separate line or on the same line with the 
following three.

>   	MSTP204, MSTP203, MSTP202,
>   	MSTP124,
>   	MSTP_NR
> @@ -215,6 +215,8 @@ static struct clk mstp_clks[MSTP_NR] = {
>   	[MSTP312] = SH_CLK_MSTP32_STS(&div6_clks[DIV6_SD1], SMSTPCR3, 12, MSTPSR3, 0), /* SDHI1 */
>   	[MSTP311] = SH_CLK_MSTP32_STS(&div6_clks[DIV6_SD2], SMSTPCR3, 11, MSTPSR3, 0), /* SDHI2 */
>   	[MSTP216] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 16, MSTPSR2, 0), /* SCIFB2 */
> +	[MSTP219] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 19, MSTPSR2, 0), /* SYS-DMAC0 */
> +	[MSTP218] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 18, MSTPSR2, 0), /* SYS-DMAC1 */

    I think these 2 clocks should precede SCIFB2 clock.

>   	[MSTP207] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 7, MSTPSR2, 0), /* SCIFB1 */
>   	[MSTP206] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 6, MSTPSR2, 0), /* SCIFB0 */
>   	[MSTP204] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR2, 4, MSTPSR2, 0), /* SCIFA0 */

WBR, Sergei

  reply	other threads:[~2014-06-02 18:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 13:40 [PATCH 0/4] ARM: shmobile: koelsch legacy: Enable DMA for QSPI Geert Uytterhoeven
2014-06-02 13:40 ` Geert Uytterhoeven
2014-06-02 13:40 ` [PATCH 1/4] ARM: shmobile: r8a7791: Add SYS-DMAC clocks Geert Uytterhoeven
2014-06-02 13:40   ` Geert Uytterhoeven
2014-06-02 18:13   ` Sergei Shtylyov [this message]
2014-06-02 18:13     ` Sergei Shtylyov
2014-06-03  7:04     ` Geert Uytterhoeven
2014-06-03  7:04       ` Geert Uytterhoeven
2014-06-03 23:26       ` Simon Horman
2014-06-03 23:26         ` Simon Horman
2014-06-02 13:40 ` [PATCH 2/4] ARM: shmobile: r8a7791: Add SYS-DMAC support Geert Uytterhoeven
2014-06-02 13:40   ` Geert Uytterhoeven
2014-06-02 13:40 ` [PATCH 3/4] ARM: shmobile: r8a7791: Add QSPI DMA support Geert Uytterhoeven
2014-06-02 13:40   ` Geert Uytterhoeven
2014-06-02 13:40 ` [PATCH 4/4] ARM: shmobile: koelsch legacy: Enable DMA for QSPI Geert Uytterhoeven
2014-06-02 13:40   ` Geert Uytterhoeven
2014-06-03  4:29 ` [PATCH 0/4] " Khiem Nguyen
2014-06-03  4:29   ` Khiem Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538CBEC9.6090707@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.