From patchwork Fri May 18 08:39:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 8787 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 93CA823E23 for ; Fri, 18 May 2012 08:39:27 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5A186A181BC for ; Fri, 18 May 2012 08:39:27 +0000 (UTC) Received: by yenq6 with SMTP id q6so3165596yen.11 for ; Fri, 18 May 2012 01:39:26 -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=yEkVLei5+lCyllP47V0FxGOnZutaBKRYCW4hPj6VzfQ=; b=ay9cZ63sN2xaKkgEbhF3lUZb7IG6MpR1l77hYytPnt9OHh8u1kwk+TSKkXqeOElNPp B0tUqGHGc0VOEi52wAgI1MW7kclzhTClmzHnEU64BAFElsME7ZGw2NLGlLS0NJhrnfY9 NZTNZB/5SGD08vejLz+HS/HPC29lLpmeZrN1zxouaXYa+j9YehqrKFFsgIsI2ZV0E6gF cN5A1psrCNbSo+1hy7Lbj+k9vKr2xKdzudhD1yO2u+0Y7luMmYgSCpxx/GRdhbc45kbe VMaU5v4E+bmrZFSHURlz04csP88lpiMFJP64yBkKy6elPu5WNbKWAl5TM2BU4XwpIJeN B/Sw== Received: by 10.50.40.193 with SMTP id z1mr7968245igk.0.1337330366545; Fri, 18 May 2012 01:39:26 -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 o8csp86423ibd; Fri, 18 May 2012 01:39:25 -0700 (PDT) Received: by 10.180.106.7 with SMTP id gq7mr11576448wib.4.1337330365181; Fri, 18 May 2012 01:39:25 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id o43si10523287wee.144.2012.05.18.01.39.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 01:39:25 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 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-wg0-f50.google.com with SMTP id ds11so2667382wgb.31 for ; Fri, 18 May 2012 01:39:24 -0700 (PDT) Received: by 10.180.81.66 with SMTP id y2mr58558261wix.22.1337330364700; Fri, 18 May 2012 01:39:24 -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 bn9sm63091322wib.5.2012.05.18.01.39.23 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 01:39:23 -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 02/16] ARM: ux500: Enable LED heartbeat functionality on Snowball Date: Fri, 18 May 2012 09:39:01 +0100 Message-Id: <1337330355-17747-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1337330355-17747-1-git-send-email-lee.jones@linaro.org> References: <1337330355-17747-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQl2IQCETxPJ5D0riKQQX1bjg+DYdcCZv51+wuu5HP71C4vVUyy9qHg/DMJlGGhBXD9i4sH1 This patch configures the user LED on Snowball to double flash every second or so, whilst it's still alive. This can give key indications as to what the board is doing in the case of no console output. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index de94b2d..8845286 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -57,7 +57,7 @@ static struct gpio_led snowball_led_array[] = { { .name = "user_led", - .default_trigger = "none", + .default_trigger = "heartbeat", .gpio = 142, }, };