From patchwork Tue Jan 5 08:59:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 59171 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp5847001lbb; Tue, 5 Jan 2016 01:01:08 -0800 (PST) X-Received: by 10.98.14.28 with SMTP id w28mr69411718pfi.42.1451984467993; Tue, 05 Jan 2016 01:01:07 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id 74si81290060pfn.248.2016.01.05.01.01.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jan 2016 01:01:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org 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 1aGNT6-0000FH-3S; Tue, 05 Jan 2016 08:59:52 +0000 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aGNT2-0000Co-LS for linux-arm-kernel@lists.infradead.org; Tue, 05 Jan 2016 08:59:49 +0000 Received: by mail-lb0-x22b.google.com with SMTP id pv2so186614408lbb.1 for ; Tue, 05 Jan 2016 00:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=zKYPT64rgMAByIOKjnj0s0Ia5tKSA+3A6MHzisWZsgs=; b=SHBTROBJrQDcnlwk9KDP9gX/aPO0Jo+tiGWhT6krVhKRoiTkw6NygUj7hm/1Wuyp5a aAhnpSPw4+f75f1hPkS9PF8TmAB9XYwo9UQoKlBSE1h2FZ0IK1JRKnMeX/QUwa1+rpoq 0fSqnGfpQVyIIF5xSuUQ8Mac5yqJOm7WgwoTk= 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; bh=zKYPT64rgMAByIOKjnj0s0Ia5tKSA+3A6MHzisWZsgs=; b=B90RP0VwjpWkdZcafDCQ2DpyhQmv1LE/91N+jwTAtyDjnrlGifYYHskYAlCdjWrTEA R2Wk9Nx0mQL3xLZXH5bwB68vKaHJExtLNLvCjJ+UrqkW8ej8gf1sFVeLIZw2cROT1aQX yBcqEDKjLrcba3jJMKVelTOap/DdzBuxG9a5Xc9pP+pPT9UTTPM4cHektZBhGHhUCCqz w48yrg/KWYgwbVEhi89JHO0mouRBkq75otSz2v621o0vARsALTFtm2J3Or5GpEg3oOsH ecFu6IgXUI8EZFbP4r5ikA8ioMtcbN6vnbeAl6eICb1W2QJF8QRfX+LaXyNPQ3GAVUA/ wSUg== X-Gm-Message-State: ALoCoQnbcuSEJPCe/LftDmJ4VjQkCemimwlwjhbwfXrS4S3tRis1alZLwqZxQa/1Q/R7hY+UlToS2vhAM2O39QsRBO6WWV7UKQ== X-Received: by 10.112.199.194 with SMTP id jm2mr25978009lbc.109.1451984366051; Tue, 05 Jan 2016 00:59:26 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q76sm11989110lfd.41.2016.01.05.00.59.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jan 2016 00:59:25 -0800 (PST) From: Linus Walleij To: arm@kernel.org Subject: [PATCH 1/2] ARM: versatile: select some defaults in defconfig Date: Tue, 5 Jan 2016 09:59:20 +0100 Message-Id: <1451984360-16885-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160105_005948_904060_4B82268E X-CRM114-Status: GOOD ( 13.63 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c04:0:0:0:22b listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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: Linus Walleij , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org This updates the Versatile defconfig to: - Use NO_HZ_IDLE and HIGH_RES_TIMERS - Enable the I2C driver - Enable the SPI driver - Enable the RTC driver for DS1338 as found on the Versatile boards - Compile in the MMCI MMC driver, which is good if you want to mount a root FS on the MMC card without having to first load this module from an initramfs Patch tested on the Versatile AB, QEMU for Versatile AB and QEMU for Versatile PB. Cc: Rob Herring Signed-off-by: Linus Walleij --- ARM SoC folks: please apply this directly to wherever this goes for the next merge window. --- arch/arm/configs/versatile_defconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.4.3 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/configs/versatile_defconfig b/arch/arm/configs/versatile_defconfig index 64bef9775bb6..75ef20462030 100644 --- a/arch/arm/configs/versatile_defconfig +++ b/arch/arm/configs/versatile_defconfig @@ -1,5 +1,7 @@ # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_BLK_DEV_INITRD=y CONFIG_SLAB=y @@ -47,6 +49,8 @@ CONFIG_SERIAL_AMBA_PL011=y CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_I2C=y CONFIG_I2C_CHARDEV=m +CONFIG_I2C_VERSATILE=y +CONFIG_SPI=y CONFIG_GPIOLIB=y CONFIG_GPIO_PL061=y # CONFIG_HWMON is not set @@ -59,13 +63,15 @@ CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_ARMAACI=m CONFIG_MMC=y -CONFIG_MMC_ARMMMCI=m +CONFIG_MMC_ARMMMCI=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_VERSATILE=y CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_DS1307=y CONFIG_EXT2_FS=y CONFIG_VFAT_FS=m CONFIG_JFFS2_FS=y