Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752102AbaLCUqr (ORCPT ); Wed, 3 Dec 2014 15:46:47 -0500 Received: from down.free-electrons.com ([37.187.137.238]:42904 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752029AbaLCUoa (ORCPT ); Wed, 3 Dec 2014 15:44:30 -0500 From: Boris Brezillon To: Nicolas Ferre , Jean-Christophe Plagniol-Villard , Alexandre Belloni , Andrew Victor Cc: Samuel Ortiz , Lee Jones , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Jean-Jacques Hiblot , Boris Brezillon Subject: [PATCH v5 07/11] ARM: at91: select ATMEL_EBI when compiling a kernel for at91sam9 or sama5d3 Date: Wed, 3 Dec 2014 21:44:11 +0100 Message-Id: <1417639455-17410-8-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417639455-17410-1-git-send-email-boris.brezillon@free-electrons.com> References: <1417639455-17410-1-git-send-email-boris.brezillon@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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" -- 1.9.1 -- 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/