* [PATCH] at91: sama5: fix incorrect PMC pcr div definition
@ 2013-05-23 10:18 Josh Wu
2013-05-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Josh Wu @ 2013-05-23 10:18 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Josh Wu <josh.wu@atmel.com>
---
arch/arm/mach-at91/include/mach/at91_pmc.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/arch/arm/mach-at91/include/mach/at91_pmc.h
index 31df120..2bd7f51 100644
--- a/arch/arm/mach-at91/include/mach/at91_pmc.h
+++ b/arch/arm/mach-at91/include/mach/at91_pmc.h
@@ -179,9 +179,9 @@ extern void __iomem *at91_pmc_base;
#define AT91_PMC_PCR_CMD (0x1 << 12) /* Command (read=0, write=1) */
#define AT91_PMC_PCR_DIV(n) ((n) << 16) /* Divisor Value */
#define AT91_PMC_PCR_DIV0 0x0 /* Peripheral clock is MCK */
-#define AT91_PMC_PCR_DIV2 0x2 /* Peripheral clock is MCK/2 */
-#define AT91_PMC_PCR_DIV4 0x4 /* Peripheral clock is MCK/4 */
-#define AT91_PMC_PCR_DIV8 0x8 /* Peripheral clock is MCK/8 */
+#define AT91_PMC_PCR_DIV2 0x1 /* Peripheral clock is MCK/2 */
+#define AT91_PMC_PCR_DIV4 0x2 /* Peripheral clock is MCK/4 */
+#define AT91_PMC_PCR_DIV8 0x3 /* Peripheral clock is MCK/8 */
#define AT91_PMC_PCR_EN (0x1 << 28) /* Enable */
#endif
--
1.7.10
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH] at91: sama5: fix incorrect PMC pcr div definition
2013-05-23 10:18 [PATCH] at91: sama5: fix incorrect PMC pcr div definition Josh Wu
@ 2013-05-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-23 12:16 ` Ludovic Desroches
2013-05-24 8:51 ` Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-05-23 12:11 UTC (permalink / raw)
To: linux-arm-kernel
On 18:18 Thu 23 May , Josh Wu wrote:
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Best Regards,
J.
> ---
> arch/arm/mach-at91/include/mach/at91_pmc.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/arch/arm/mach-at91/include/mach/at91_pmc.h
> index 31df120..2bd7f51 100644
> --- a/arch/arm/mach-at91/include/mach/at91_pmc.h
> +++ b/arch/arm/mach-at91/include/mach/at91_pmc.h
> @@ -179,9 +179,9 @@ extern void __iomem *at91_pmc_base;
> #define AT91_PMC_PCR_CMD (0x1 << 12) /* Command (read=0, write=1) */
> #define AT91_PMC_PCR_DIV(n) ((n) << 16) /* Divisor Value */
> #define AT91_PMC_PCR_DIV0 0x0 /* Peripheral clock is MCK */
> -#define AT91_PMC_PCR_DIV2 0x2 /* Peripheral clock is MCK/2 */
> -#define AT91_PMC_PCR_DIV4 0x4 /* Peripheral clock is MCK/4 */
> -#define AT91_PMC_PCR_DIV8 0x8 /* Peripheral clock is MCK/8 */
> +#define AT91_PMC_PCR_DIV2 0x1 /* Peripheral clock is MCK/2 */
> +#define AT91_PMC_PCR_DIV4 0x2 /* Peripheral clock is MCK/4 */
> +#define AT91_PMC_PCR_DIV8 0x3 /* Peripheral clock is MCK/8 */
> #define AT91_PMC_PCR_EN (0x1 << 28) /* Enable */
>
> #endif
> --
> 1.7.10
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] at91: sama5: fix incorrect PMC pcr div definition
2013-05-23 10:18 [PATCH] at91: sama5: fix incorrect PMC pcr div definition Josh Wu
2013-05-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2013-05-23 12:16 ` Ludovic Desroches
2013-05-24 8:51 ` Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Desroches @ 2013-05-23 12:16 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, May 23, 2013 at 06:18:48PM +0800, Josh Wu wrote:
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Nice catch, thanks Josh.
Ludovic
> ---
> arch/arm/mach-at91/include/mach/at91_pmc.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/arch/arm/mach-at91/include/mach/at91_pmc.h
> index 31df120..2bd7f51 100644
> --- a/arch/arm/mach-at91/include/mach/at91_pmc.h
> +++ b/arch/arm/mach-at91/include/mach/at91_pmc.h
> @@ -179,9 +179,9 @@ extern void __iomem *at91_pmc_base;
> #define AT91_PMC_PCR_CMD (0x1 << 12) /* Command (read=0, write=1) */
> #define AT91_PMC_PCR_DIV(n) ((n) << 16) /* Divisor Value */
> #define AT91_PMC_PCR_DIV0 0x0 /* Peripheral clock is MCK */
> -#define AT91_PMC_PCR_DIV2 0x2 /* Peripheral clock is MCK/2 */
> -#define AT91_PMC_PCR_DIV4 0x4 /* Peripheral clock is MCK/4 */
> -#define AT91_PMC_PCR_DIV8 0x8 /* Peripheral clock is MCK/8 */
> +#define AT91_PMC_PCR_DIV2 0x1 /* Peripheral clock is MCK/2 */
> +#define AT91_PMC_PCR_DIV4 0x2 /* Peripheral clock is MCK/4 */
> +#define AT91_PMC_PCR_DIV8 0x3 /* Peripheral clock is MCK/8 */
> #define AT91_PMC_PCR_EN (0x1 << 28) /* Enable */
>
> #endif
> --
> 1.7.10
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] at91: sama5: fix incorrect PMC pcr div definition
2013-05-23 10:18 [PATCH] at91: sama5: fix incorrect PMC pcr div definition Josh Wu
2013-05-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-23 12:16 ` Ludovic Desroches
@ 2013-05-24 8:51 ` Nicolas Ferre
2 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2013-05-24 8:51 UTC (permalink / raw)
To: linux-arm-kernel
On 23/05/2013 12:18, Josh Wu :
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
And stacked on top of at91-3.10-fixes.
Thanks for catching this! Bye.
> ---
> arch/arm/mach-at91/include/mach/at91_pmc.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/arch/arm/mach-at91/include/mach/at91_pmc.h
> index 31df120..2bd7f51 100644
> --- a/arch/arm/mach-at91/include/mach/at91_pmc.h
> +++ b/arch/arm/mach-at91/include/mach/at91_pmc.h
> @@ -179,9 +179,9 @@ extern void __iomem *at91_pmc_base;
> #define AT91_PMC_PCR_CMD (0x1 << 12) /* Command (read=0, write=1) */
> #define AT91_PMC_PCR_DIV(n) ((n) << 16) /* Divisor Value */
> #define AT91_PMC_PCR_DIV0 0x0 /* Peripheral clock is MCK */
> -#define AT91_PMC_PCR_DIV2 0x2 /* Peripheral clock is MCK/2 */
> -#define AT91_PMC_PCR_DIV4 0x4 /* Peripheral clock is MCK/4 */
> -#define AT91_PMC_PCR_DIV8 0x8 /* Peripheral clock is MCK/8 */
> +#define AT91_PMC_PCR_DIV2 0x1 /* Peripheral clock is MCK/2 */
> +#define AT91_PMC_PCR_DIV4 0x2 /* Peripheral clock is MCK/4 */
> +#define AT91_PMC_PCR_DIV8 0x3 /* Peripheral clock is MCK/8 */
> #define AT91_PMC_PCR_EN (0x1 << 28) /* Enable */
>
> #endif
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-24 8:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 10:18 [PATCH] at91: sama5: fix incorrect PMC pcr div definition Josh Wu
2013-05-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-23 12:16 ` Ludovic Desroches
2013-05-24 8:51 ` Nicolas Ferre
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.