From patchwork Mon May 30 17:13:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Osipov X-Patchwork-Id: 830622 Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p4UHK99K014467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 30 May 2011 17:20:31 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QR62q-0003y9-KB; Mon, 30 May 2011 17:14:24 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QR62o-0002Hu-B7; Mon, 30 May 2011 17:14:22 +0000 Received: from mail-ww0-f41.google.com ([74.125.82.41]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QR62k-0002Hb-Rl for linux-arm-kernel@lists.infradead.org; Mon, 30 May 2011 17:14:19 +0000 Received: by wwi18 with SMTP id 18so1776796wwi.0 for ; Mon, 30 May 2011 10:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=CYS8m2FKtrfYxEEa/oQVobqDjQd1uTDOgyKox3xPp+A=; b=mF/aBTHQp+u8nWhyfD2B1ItxWkqB2fxXel9qYWkATbvbRYDcF4D8yDG3H39jiy06dp hLj2o+xF5Ecar0kiYudsA+gwdkGSOiZgsl/Od4fXkJr33L+1AiK5fo3g5RB9RZv3Q8AM 2b6fysPXu2p8hCowahqXHr72fjVSocygOOxbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=fadwr65cgXTRkgSfirh1yYenla2iGXug9Z9nW1TS4A1G8pMTh6ui2v+5GBedMit4a3 YiJRl/ZqB03gEw1eaxT+X3Kxs3rXkh0+aA/lBYZn3crsPT4KcEcYlwKtLIGS8MGyV+4G nei9GTMcpA60SxckCqME6vNbd0a5aRh8ckWyY= Received: by 10.216.6.27 with SMTP id 27mr4837939wem.69.1306775656242; Mon, 30 May 2011 10:14:16 -0700 (PDT) Received: from localhost.localdomain (dhcp-315.wolf.ox.ac.uk [163.1.181.59]) by mx.google.com with ESMTPS id f73sm2616913wef.43.2011.05.30.10.14.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2011 10:14:15 -0700 (PDT) From: Maxim Osipov To: Andrew Victor , Nicolas Ferre , Jean-Christophe Plagniol-Villard , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] AT91: flexibity: default leds to heartbeat Date: Mon, 30 May 2011 18:13:47 +0100 Message-Id: <1306775627-6640-1-git-send-email-maxim.osipov@gmail.com> X-Mailer: git-send-email 1.7.4.1 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110530_131419_179412_030854D4 X-CRM114-Status: GOOD ( 12.57 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is freemail (maxim.osipov[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.41 listed in list.dnswl.org] -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 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain Cc: Maxim Osipov X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 30 May 2011 17:20:31 +0000 (UTC) This patch changes default behavior of Flexibity board LEDs to blinking for boot diagnostic purpose. Signed-off-by: Maxim Osipov --- arch/arm/mach-at91/board-flexibity.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-at91/board-flexibity.c b/arch/arm/mach-at91/board-flexibity.c index 4fdc96c..8cbec8a 100644 --- a/arch/arm/mach-at91/board-flexibity.c +++ b/arch/arm/mach-at91/board-flexibity.c @@ -96,49 +96,49 @@ static struct gpio_led flexibity_leds[] = { .name = "usb1:green", .gpio = AT91_PIN_PA12, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", }, { .name = "usb1:red", .gpio = AT91_PIN_PA13, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", }, { .name = "usb2:green", .gpio = AT91_PIN_PB26, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", }, { .name = "usb2:red", .gpio = AT91_PIN_PB27, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", }, { .name = "usb3:green", .gpio = AT91_PIN_PC8, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", }, { .name = "usb3:red", .gpio = AT91_PIN_PC6, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", }, { .name = "usb4:green", .gpio = AT91_PIN_PB4, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", }, { .name = "usb4:red", .gpio = AT91_PIN_PB5, .active_low = 1, - .default_trigger = "default-on", + .default_trigger = "heartbeat", } };