From patchwork Fri Apr 15 00:49:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 8844011 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D2382C0553 for ; Fri, 15 Apr 2016 00:52:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B14D202A1 for ; Fri, 15 Apr 2016 00:52:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3268620270 for ; Fri, 15 Apr 2016 00:51:59 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqrxk-0006ag-H8; Fri, 15 Apr 2016 00:50:20 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqrxg-0005R9-Rd for linux-arm-kernel@lists.infradead.org; Fri, 15 Apr 2016 00:50:17 +0000 Received: by mail-pf0-x229.google.com with SMTP id 184so51306430pff.0 for ; Thu, 14 Apr 2016 17:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MhAAfu9sVJWX+ppt1JhYFtgUWxd9DhyzSoz59k4YJdM=; b=zhPFaOmd6e2FjAh8aba7ZArMelAGdfGCoQbC1fU4z+Oe5CrabeiJE0uFS1T6xieLwu by84lSgfPIDKQYiZTPWdW/3vsv6ob25lGb0BCvLVFfVOUBTPs4pNHdIU0NNVMX4rVbJi /xAubvMj+F6cgTXdrFzZx02V1FkknyaFZL4nMvEi+JMwc3tIOL/DJULbtDlPvTT3Gsx9 3r4+uEBHabuI53hcDPu+n9kgqAch7vM8wACVle8KfH2YnKKyIvAQKOWg0gUGe6ez3a9N Dx6qUNaTTRNhd7q5pZjCu/7clnKpLbDCL7BTWZtXRZQRAbRpvHJhWz/kQDJ7f0RAu99l eHXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MhAAfu9sVJWX+ppt1JhYFtgUWxd9DhyzSoz59k4YJdM=; b=TeDxKpIBBBZdqgTkicz/cZLRlfodQc7ytWiHKra9L3TvQKpKR8MfLgtQbuT2J4+6QT w8vPvN/z1DY0Gq6Re8pv7pSvv7zslpva4qlxjmuJU54yZCg2+Z854+48fi8Xmjdk9MQe Mab8mvthOCY17z6oXrL5+oKVIxVt5DC9GD8NcDBSaqW6dcrz8DQXCVtLrJeMli2ZnuTt k2ga/Y3qrQekb4BayAph3UjYQI/tPXmTpASqDKjuN2hMGHFX8g8ibcrzeGJyu1CJE2XG UDIhImzMS/2UyR6iet0HkB+iphfZYW6zOdSq7GD+tPTUSaQ9XMn1tCEKXx4v2c3eZE3Q YytQ== X-Gm-Message-State: AOPr4FU6SZcFnwehKZDJL7BlB9+ow0ff/OT+jQVaS1BcN6hjp/J5qQRaCrusbCKM3ANXqLsd X-Received: by 10.98.29.208 with SMTP id d199mr7115885pfd.17.1460681395510; Thu, 14 Apr 2016 17:49:55 -0700 (PDT) Received: from localhost (c-73-97-43-80.hsd1.wa.comcast.net. [73.97.43.80]) by smtp.gmail.com with ESMTPSA id g6sm60491866pfg.15.2016.04.14.17.49.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Apr 2016 17:49:55 -0700 (PDT) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH] ARM: davinci_all_defconfig: enable SPI and NOR as modules Date: Thu, 14 Apr 2016 17:49:53 -0700 Message-Id: <1460681393-15000-1-git-send-email-khilman@baylibre.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160414_175016_963297_BB1822DA X-CRM114-Status: UNSURE ( 8.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable SPI driver and SPI NOR flash support as modules. Tested with SPI NOR flash on DA850-EVM. Basic boot test only to confirm NOR flash device detection. Signed-off-by: Kevin Hilman --- Also boot tested on dm365-evm. Tested on top of Sekhar's master branch, based on v4.6-rc1 arch/arm/configs/davinci_all_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index c5bccd9d010e..961246199898 100644 --- a/arch/arm/configs/davinci_all_defconfig +++ b/arch/arm/configs/davinci_all_defconfig @@ -70,8 +70,10 @@ CONFIG_MTD_CFI=m CONFIG_MTD_CFI_INTELEXT=m CONFIG_MTD_CFI_AMDSTD=m CONFIG_MTD_PHYSMAP=m +CONFIG_MTD_M25P80=m CONFIG_MTD_NAND=m CONFIG_MTD_NAND_DAVINCI=m +CONFIG_MTD_SPI_NOR=m CONFIG_PROC_DEVICETREE=y CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_RAM=y @@ -117,6 +119,8 @@ CONFIG_SERIAL_OF_PLATFORM=y CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_DAVINCI=y +CONFIG_SPI=y +CONFIG_SPI_DAVINCI=m CONFIG_PINCTRL_SINGLE=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_PCF857X=y