From patchwork Thu May 17 13:45:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 8741 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AB3C823E23 for ; Thu, 17 May 2012 13:46:20 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 7AF81A186AA for ; Thu, 17 May 2012 13:46:20 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so2138099yhp.11 for ; Thu, 17 May 2012 06:46:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=6Hz29laKgkWC5/CMBEgzVQ4SmRIvcKXi0ynHodMCRlY=; b=OVpGwGicyP34OEJl+NvIC/GN4gyDrGUMN2Kp7TV5uLFAvwCQfIOjcYiedWYMa3KBXI /yxljgcEfmniyXu8iguHEEOtYS7AM8bYAO3NFkrTHikw7T3nVzkXpOFi5KWMoN9gy6kF rXWZ5EdMgrBfJat1ThYpHwIhh+MlaR0oApkPXWQf5oKTBNx9iPdS9RL1msSmFjMbktQy l9rcNhvBWv51WGJp8Tp3hdF5W2HpHkphAUtOYgc7I7+XZqerx1UmKm53x1E0KF7khbKZ Dl2KDiCeHiljTbIVXzLlGgUbiWrSoAuQ1oupAAUYFxRBTFfp862fHde2Y4kEpyum+vG1 wVlw== Received: by 10.50.87.227 with SMTP id bb3mr5329410igb.57.1337262379993; Thu, 17 May 2012 06:46:19 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp29011ibd; Thu, 17 May 2012 06:46:19 -0700 (PDT) Received: by 10.180.20.137 with SMTP id n9mr18761707wie.3.1337262378556; Thu, 17 May 2012 06:46:18 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id d3si7393850wed.115.2012.05.17.06.46.18 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 06:46:18 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-we0-f178.google.com with SMTP id e53so1560530wer.37 for ; Thu, 17 May 2012 06:46:18 -0700 (PDT) Received: by 10.181.11.137 with SMTP id ei9mr18381864wid.21.1337262378063; Thu, 17 May 2012 06:46:18 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id h8sm21166277wix.4.2012.05.17.06.46.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 06:46:17 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, broonie@opensource.wolfsonmicro.com, sameo@linux.intel.com Cc: Lee Jones Subject: [PATCH 04/18] ARM: ux500: CONFIG: Compile in support for leds-gpio Date: Thu, 17 May 2012 14:45:09 +0100 Message-Id: <1337262323-27692-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1337262323-27692-1-git-send-email-lee.jones@linaro.org> References: <1337262323-27692-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmyoeZZ4chdvCexpPf1qYalHF3L87iSMmL1z+IZyvPd6QU+cKGMY4MfqyXmn0bOIpf0DWuR Code exists in the mop500 board file (used for HREF and Snowball) to initialise Snowball's user LED via the leds-gpio driver. However, the driver isn't currently built when using the default configuration file. This patch aims to change that behavior. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/configs/u8500_defconfig | 3 +++ arch/arm/mach-ux500/Kconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index 7e84f45..c6973c5 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig @@ -85,6 +85,9 @@ CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_LM3530=y CONFIG_LEDS_LP5521=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_AB8500=y CONFIG_RTC_DRV_PL031=y diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index e2923da..3840475 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -41,6 +41,7 @@ config MACH_HREFV60 config MACH_SNOWBALL bool "U8500 Snowball platform" select MACH_MOP500 + select LEDS_GPIO help Include support for the snowball development platform.