From patchwork Wed Oct 29 21:19:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 404801 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 39BC6140081 for ; Thu, 30 Oct 2014 08:22:19 +1100 (AEDT) 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 1XjafF-0003tT-LB; Wed, 29 Oct 2014 21:20:21 +0000 Received: from mail-qa0-x233.google.com ([2607:f8b0:400d:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XjafC-0002Dy-EB for linux-arm-kernel@lists.infradead.org; Wed, 29 Oct 2014 21:20:19 +0000 Received: by mail-qa0-f51.google.com with SMTP id f12so2829466qad.10 for ; Wed, 29 Oct 2014 14:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Se1Z3MG/zdjnhMGiyZ6sxRJ92WrD6HnVXOLK/jjtNHc=; b=nVoRg1xZ18+yAH8lyS8MZUAk5/1WlT5nUv19vIu0xGszeC9SFqMlKUIrkVmybkA5IA qNcl4Ul4WdfBb4OB7GkVItytsiKzZJC9EYsW6PWrwRzwUewOvnVjjON9Hkl+YXRsbWK2 YF4v52iCRY1tkJ4RnHw4ap+CsQRvT9F0FtZ8gTo0QN4bpdGGFC9G610jwPFidOiPnejU CRYYTayh71P7lCbX5Pzs7nZLjpiqzy5yoAd4KUGHOpPPNOcSid25SCW2pGrATFoRtyCw viBRLCl2KDP9hxFMgt6jqI6DF7VeAnXtJ5SB8nI7UT/vhWZV7NMrxoiGKjBOdMisON/w T7iQ== X-Received: by 10.224.167.81 with SMTP id p17mr19839731qay.101.1414617593418; Wed, 29 Oct 2014 14:19:53 -0700 (PDT) Received: from localhost.localdomain ([201.82.52.106]) by mx.google.com with ESMTPSA id e9sm5085861qgd.46.2014.10.29.14.19.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Oct 2014 14:19:52 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH] ARM: imx: Explicitly select CONFIG_SPI Date: Wed, 29 Oct 2014 19:19:28 -0200 Message-Id: <1414617568-27615-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141029_142018_624276_4105EEC2 X-CRM114-Status: GOOD ( 10.56 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam Since 3.18-rc1 CONFIG_SPI is no longer automatically selected for imx_v4_v5_defconfig and imx_v6_v7_defconfig, so in order to keep the same behaviour as previous kernel versions and avoid regressions, let's explicitly select CONFIG_SPI. Signed-off-by: Fabio Estevam --- Shawn, If possible, please apply this as a bug fix for 3.18. arch/arm/configs/imx_v4_v5_defconfig | 1 + arch/arm/configs/imx_v6_v7_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig index e688741..e6b0007 100644 --- a/arch/arm/configs/imx_v4_v5_defconfig +++ b/arch/arm/configs/imx_v4_v5_defconfig @@ -97,6 +97,7 @@ CONFIG_SERIAL_IMX_CONSOLE=y # CONFIG_HW_RANDOM is not set CONFIG_I2C_CHARDEV=y CONFIG_I2C_IMX=y +CONFIG_SPI=y CONFIG_SPI_IMX=y CONFIG_SPI_SPIDEV=y CONFIG_GPIO_SYSFS=y diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 8fca6e2..6790f1b 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -158,6 +158,7 @@ CONFIG_I2C_CHARDEV=y CONFIG_I2C_ALGOPCF=m CONFIG_I2C_ALGOPCA=m CONFIG_I2C_IMX=y +CONFIG_SPI=y CONFIG_SPI_IMX=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_MC9S08DZ60=y