Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753763AbaLDKeb (ORCPT ); Thu, 4 Dec 2014 05:34:31 -0500 Received: from eusmtp01.atmel.com ([212.144.249.243]:27926 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753224AbaLDKe3 (ORCPT ); Thu, 4 Dec 2014 05:34:29 -0500 Message-ID: <548038B3.3080105@atmel.com> Date: Thu, 4 Dec 2014 11:34:27 +0100 From: Nicolas Ferre Organization: atmel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Boris Brezillon , "Jean-Christophe Plagniol-Villard" , Alexandre Belloni , Andrew Victor CC: Samuel Ortiz , Lee Jones , Rob Herring , Pawel Moll , "Mark Rutland" , Ian Campbell , Kumar Gala , , , , "Arnd Bergmann" , Jean-Jacques Hiblot Subject: Re: [PATCH v5 07/11] ARM: at91: select ATMEL_EBI when compiling a kernel for at91sam9 or sama5d3 References: <1417639455-17410-1-git-send-email-boris.brezillon@free-electrons.com> <1417639455-17410-8-git-send-email-boris.brezillon@free-electrons.com> In-Reply-To: <1417639455-17410-8-git-send-email-boris.brezillon@free-electrons.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.161.30.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 03/12/2014 21:44, Boris Brezillon a ?crit : > at91sam9* and sama5d* SoCs have an EBI (External Bus Interface). > Select the ATMEL_EBI driver when support for these SoCs is selected. > > Signed-off-by: Boris Brezillon > --- > .../bindings/memory-controllers/atmel-ebi.txt | 18 +++++++++--------- > arch/arm/mach-at91/Kconfig | 2 ++ > 2 files changed, 11 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/memory-controllers/atmel-ebi.txt b/Documentation/devicetree/bindings/memory-controllers/atmel-ebi.txt > index 3749ea1..68af1ad 100644 > --- a/Documentation/devicetree/bindings/memory-controllers/atmel-ebi.txt > +++ b/Documentation/devicetree/bindings/memory-controllers/atmel-ebi.txt > @@ -16,6 +16,7 @@ Required properties: > "atmel,at91sam9261-ebi" > "atmel,at91sam9263-ebi0" > "atmel,at91sam9263-ebi1" > + "atmel,at91sam9rl-ebi" > "atmel,at91sam9g45-ebi" > "atmel,at91sam9x5-ebi" > "atmel,sama5d3-ebi" > @@ -51,15 +52,14 @@ Required child cs node properties: > memory layout. > > Optional child cs node properties: > -- atmel,generic-dev boolean property specifying if the device is > - a generic device. > +- atmel,specialized-logic boolean property specifying if the device is > + a connected to a specialized logic: > + NAND, Compact Flash, SDR-SDRAM. Ah, ok, seen it here. > The following properties are only parsed if > - this property is present. > - Specialized devices are attached to specialized > - controllers which are responsible for > - configuring the bus appropriately. > - Here are some examples of specialized > - controllers: NAND, CompactFlash, SDR-SDRAM. > + this property is absent. > + If this property is set, specialized controller > + drivers are responsible for configuring the bus > + appropriately. > > - atmel,bus-width: width of the asynchronous device's data bus > 8, 16 or 32. > @@ -99,7 +99,7 @@ present 0 is assumed): > - atmel,tdf-optimized data float optimized mode. If present the data > float time is optimized depending on the next > device being accessed (next device setup > - time is substracted to the current devive data > + time is subtracted to the current device data > float time). > > > diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig > index 0e6d548..78b1412 100644 > --- a/arch/arm/mach-at91/Kconfig > +++ b/arch/arm/mach-at91/Kconfig > @@ -49,6 +49,7 @@ config SOC_AT91SAM9 > select GENERIC_CLOCKEVENTS > select MEMORY if USE_OF > select ATMEL_SDRAMC if USE_OF > + select ATMEL_EBI > > config SOC_SAMA5 > bool > @@ -58,6 +59,7 @@ config SOC_SAMA5 > select USE_OF > select MEMORY > select ATMEL_SDRAMC > + select ATMEL_EBI > > menu "Atmel AT91 System-on-Chip" > > -- 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/