Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757952Ab3JQQDY (ORCPT ); Thu, 17 Oct 2013 12:03:24 -0400 Received: from eusmtp01.atmel.com ([212.144.249.243]:4836 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756444Ab3JQQDW (ORCPT ); Thu, 17 Oct 2013 12:03:22 -0400 Message-ID: <52600A45.6070508@atmel.com> Date: Thu, 17 Oct 2013 18:03:17 +0200 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Boris BREZILLON , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , Andrew Victor , Jean-Christophe Plagniol-Villard , Russell King , "Mike Turquette" , Felipe Balbi , "Greg Kroah-Hartman" , Grant Likely , Ludovic Desroches , Josh Wu , Richard Genoud CC: , , , , Subject: Re: [PATCH v4 10/17] clk: at91: add peripheral clk macros for peripheral clk dt bindings References: <1381477081-6041-1-git-send-email-b.brezillon@overkiz.com> <1381485180-13796-1-git-send-email-b.brezillon@overkiz.com> In-Reply-To: <1381485180-13796-1-git-send-email-b.brezillon@overkiz.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1189 Lines: 37 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 Acked-by: Nicolas Ferre > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/