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: 616487 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3qwrV46xPxz9sxb for ; Fri, 29 Apr 2016 08:05:00 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=vanguardiasur-com-ar.20150623.gappssmtp.com header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.b=XhksdPUl; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753774AbcD1WEe (ORCPT ); Thu, 28 Apr 2016 18:04:34 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:35822 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753956AbcD1WED (ORCPT ); Thu, 28 Apr 2016 18:04:03 -0400 Received: by mail-pf0-f178.google.com with SMTP id 77so6683050pfv.2 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=TvmMfigkdK8YKHZ9j2JHyYSxw1fgEdH1+OXXx9RmtpNxa2mOAaVaLMu7usxDeFFIMo eHE8o7mReiNK+5EYEjKcqVv1jYuea+rVZ14U5Rub15OG/zLmtN2OohOxCTr5NjRs3QFh LJ1B3RmVYkAVVjniy/EXSD3poROQf/MlV548vGm1hSChyAT5JSg7A5Me2CV0PkVfllOo Av9hdRIwVaa2yLAs85FL2jss5UMOjDCEL0GYO4xOISxwkdzvC0Enzbm5MJyZnvJhmSPg b21f3lgwp7Rvz/ZQHqwvGg3RH7AodEqpfhl+CJVC9lhwUDJoKRnQwvh7EfMMQEo4zoEK kD3w== X-Gm-Message-State: AOPr4FXHsCR6ux5uomZszIpB836nLNoKk3+01/7G1mq9VKw0ipZu8adJMIHUlWLa2/l3dA== 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: , , , Cc: Richard Purdie , Jacek Anaszewski , Kumar Gala , Ian Campbell , Mark Rutland , Pawel Moll , Rob Herring , Pavel Machek , Ezequiel Garcia 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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