From patchwork Thu Apr 28 22:03:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 8975671 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 282059F1D3 for ; Thu, 28 Apr 2016 22:05:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41EE020259 for ; Thu, 28 Apr 2016 22:05:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 636B9200E7 for ; Thu, 28 Apr 2016 22:05:56 +0000 (UTC) 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 1avu32-0004Wx-Pf; Thu, 28 Apr 2016 22:04:36 +0000 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1avu2p-0004Qi-JC for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2016 22:04:24 +0000 Received: by mail-pf0-x22e.google.com with SMTP id y69so39225248pfb.1 for ; Thu, 28 Apr 2016 15:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xYXgrzK+YkQfZF6kZjFwWF67FWhQ/+Wd6yTTAgBYLSM=; b=XhksdPUl4DKw5tajqPM+H1e0FGy+oE3ylrhTgihEo8lmBX6BxQ+zjUolYjbA41BLsY Witbk4pzPb0rAGbPUjuqRljsRNCh+TEv6CoPcUgdOkRzmgclz/1zb8PZR5UBHDUTxJKC 47byvYep2KUKO1Y0ffH0Mx6yxA4GuvKwRYt6vcJvIrPGY2L4rStabhZa7id7q4JEKwvm DGIKupzf0DW2L3IDRbn+MVXdRcaXTOpdC9P3KlY5NIwEhlvEMid7AjSLigJYKSiLCSBi f23noDIfdrG51Km4T3v/eb4nuT3zcdS2Gqi+Xnzh0UDbj3ga4nbRUzKnf/qrVqjtODoN VF/w== 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:in-reply-to :references; bh=xYXgrzK+YkQfZF6kZjFwWF67FWhQ/+Wd6yTTAgBYLSM=; b=JqweQp1xJjfN80H0UYd/U4kJFr7JrHxHS4ar777LLMNVVW+EcIn6x1eYTdgNPeThsB mlIrgXiY8gVkkIwl7Dok4I7xckl6teCGzQ0YIP9IsNfRnO5uaLCFki9U/D2Z2y0IjXmb YFi6Us0klV26g+zddfiT8sb+ALIHF2omTiFHCg/o1dacfmEsAgOcnbnzl0LW8Nhgx6br VoZjTgoHWziaylMG5vAbF3Lnmy6itFZ7IygRhgQKMEp1nMiHK6ttqt2rP2UyeDIvBVh3 trW8OWP3nS/wA7iusDviK0yJGmCu4fHbVbnecZFVNJp1QZOroneXEh/UJfc8dTKPfa4A 1jwQ== X-Gm-Message-State: AOPr4FUuH1saagDtJxrunMFW25xXh92O6cHM/fLdJGJKSul5WRzYzx5jvqhgRKbAdNhGYQ== X-Received: by 10.98.100.77 with SMTP id y74mr24079374pfb.101.1461881042814; Thu, 28 Apr 2016 15:04:02 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.156]) by smtp.gmail.com with ESMTPSA id g84sm17609045pfj.42.2016.04.28.15.03.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Apr 2016 15:04:01 -0700 (PDT) From: Ezequiel Garcia To: , , , Subject: [PATCH v3 2/3] devicetree: leds: Introduce "panic-indicator" optional property Date: Thu, 28 Apr 2016 19:03:39 -0300 Message-Id: <1461881020-13964-3-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1461881020-13964-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1461881020-13964-1-git-send-email-ezequiel@vanguardiasur.com.ar> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160428_150423_742351_87A533AC X-CRM114-Status: GOOD ( 10.72 ) X-Spam-Score: -2.6 (--) 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: Mark Rutland , Pawel Moll , Ian Campbell , Rob Herring , Richard Purdie , Ezequiel Garcia , Pavel Machek , Kumar Gala , Jacek Anaszewski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It's desirable to specify which LEDs are to be blinked on a kernel panic. Therefore, introduce a devicetree boolean property to mark which LEDs should be treated this way, if possible. Acked-by: Rob Herring Signed-off-by: Ezequiel Garcia --- Documentation/devicetree/bindings/leds/common.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt index 68419843e32f..af10678ea2f6 100644 --- a/Documentation/devicetree/bindings/leds/common.txt +++ b/Documentation/devicetree/bindings/leds/common.txt @@ -37,6 +37,9 @@ Optional properties for child nodes: property is mandatory for the LEDs in the non-flash modes (e.g. torch or indicator). +- panic-indicator : This property specifies that the LED should be used, + if at all possible, as a panic indicator. + Required properties for flash LED child nodes: - flash-max-microamp : Maximum flash LED supply current in microamperes. - flash-max-timeout-us : Maximum timeout in microseconds after which the flash