From patchwork Wed Apr 13 18:08:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 8824761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 460E8C0553 for ; Wed, 13 Apr 2016 18:11:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6E6EF20357 for ; Wed, 13 Apr 2016 18:11:05 +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 5DB732014A for ; Wed, 13 Apr 2016 18:11:04 +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 1aqPE9-0006Nl-BI; Wed, 13 Apr 2016 18:09:21 +0000 Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqPDv-0006Jx-Qf for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2016 18:09:08 +0000 Received: by mail-qg0-x234.google.com with SMTP id f105so49382796qge.2 for ; Wed, 13 Apr 2016 11:08:47 -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=529p+oC5/XUBsDVvQB0Bvd0VISqonXfQww4Yg86fI3w=; b=PvBHqJIkNj7gSjOchr+k+HrIAvgCtatAM42uJkXXewLw206Ah23jxrpnzB6l7Z5C+R GuCg5iS/qBUWK3BOohlfFwnc0gmZ+jbe4IGfdthLkX9Iqsx4WnoqvGamr0ahs4PcAinS 0M89FxLM7gKiCc0Q63L0XyTfyZCYSnG0getCJlaf7/OVHDQ7/IUUFGjB3Z3PcMvhrAOw nMZpbrUdgVR6lgakV+WZzVJlMhRApIHa8iWjFPswQkS/a1A+a49QnVZCIiYNRAy3LvZv MmaX3PJ6zl5Dmwr8YYzwq1Tqp+pliuEQI6jvT470fXpOoXGs7XHeTtU214dQ9+ekGHJu IJbQ== 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=529p+oC5/XUBsDVvQB0Bvd0VISqonXfQww4Yg86fI3w=; b=Ip2hOq1/igRMXaT9GqILijdZ5pfaf1BAa6k8oTKANSidb2wx/8c9WtsT7RhgKWC6K6 ghoFTkL5GNXgTvC2xzXTticsMkKnYQra5G+yhXVciAOLPojG8zOr9hqs9p1JG8ngP38S BVNjH2HQFwDBDoDB2o0Du/tBBfbGXdCrOVzamrmFF3omcOZEOTsa3Qhws1gl4naVd4nt bipgDJ3fCinFaVPrO5W1NZ6H2lYgLhLOlUoNnZDUw21zX7nfv1mTKAHMDeC4wfqIyr2O Fu41P0w5WtlpLIj1lap88qhvUlbwJbEzJNvl8y0nH5Q/xzpJ2kcOmdn7DGaxX4z1CqRw 6kCg== X-Gm-Message-State: AOPr4FVDW/O+WlO03ODNQT6LuZgP2ZtN0nqL4lx4Z/XGNnRb8KJUFVyTl1FpuYF6gxPepg== X-Received: by 10.140.159.69 with SMTP id f66mr14049214qhf.18.1460570926347; Wed, 13 Apr 2016 11:08:46 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.156]) by smtp.gmail.com with ESMTPSA id x189sm16248410qhb.43.2016.04.13.11.08.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Apr 2016 11:08:45 -0700 (PDT) From: Ezequiel Garcia To: , , , Subject: [PATCH v2 2/3] devicetree: leds: Introduce "panic-indicator" optional property Date: Wed, 13 Apr 2016 15:08:18 -0300 Message-Id: <1460570899-24642-3-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1460570899-24642-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1460570899-24642-1-git-send-email-ezequiel@vanguardiasur.com.ar> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160413_110908_095260_218C7B22 X-CRM114-Status: GOOD ( 10.59 ) 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 , 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. Signed-off-by: Ezequiel Garcia Acked-by: Rob Herring --- 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..7b646a7808ce 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 properties 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