lkml.org 
[lkml]   [2013]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 10/17] clk: at91: add peripheral clk macros for peripheral clk dt bindings
On 11/10/2013 11:53, Boris BREZILLON :
> This patch adds the peripheral divisors macros (for sam9x5 compatible IPs)
> which will be used by peripheral clk dt definitions.
>
> Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
> include/dt-bindings/clk/at91.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/dt-bindings/clk/at91.h b/include/dt-bindings/clk/at91.h
> index 0b4cb99..a3b07ca 100644
> --- a/include/dt-bindings/clk/at91.h
> +++ b/include/dt-bindings/clk/at91.h
> @@ -19,4 +19,10 @@
> #define AT91_PMC_MOSCRCS 17 /* Main On-Chip RC */
> #define AT91_PMC_CFDEV 18 /* Clock Failure Detector Event */
>
> +/* sam9x5 peripheral divisors */
> +#define AT91SAM9X5_PERIPH_CLK_DIV1 0
> +#define AT91SAM9X5_PERIPH_CLK_DIV2 1
> +#define AT91SAM9X5_PERIPH_CLK_DIV4 2
> +#define AT91SAM9X5_PERIPH_CLK_DIV8 3
> +
> #endif
>


--
Nicolas Ferre


\
 
 \ /
  Last update: 2013-10-17 18:41    [W:0.205 / U:31.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site