From patchwork Mon Apr 4 20:22:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 8743961 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 473449F38C for ; Mon, 4 Apr 2016 20:25:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FF9220263 for ; Mon, 4 Apr 2016 20:25: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 3F030201EF for ; Mon, 4 Apr 2016 20:25:00 +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 1anB1w-00074P-6h; Mon, 04 Apr 2016 20:23:24 +0000 Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anB1P-0006nF-L5 for linux-arm-kernel@lists.infradead.org; Mon, 04 Apr 2016 20:22:52 +0000 Received: by mail-qk0-x234.google.com with SMTP id o6so67363743qkc.2 for ; Mon, 04 Apr 2016 13:22:31 -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=81AhptZvnYrm/UFES5Qhqo3Ohe0aQuTLo39/L/7KPZg=; b=O4m9dApHfqhvIiGRxAm4MICO8Kft9bzsR0EnCbKS6QPNViOY8kYcPyvLzLWaLZmQcJ /oT2xlOUhdeYiGDRFxsgljOICOWSh13+wUUufbAgQp5SAYzCmFTHFCxri1Vrgwzmytyw dh5tjxMUT+XgfBqmmWBBAFT3SS71qUvl8dMjARGgflsga0uJPLrHnrDIdlaEOn3vtrXn E07O44rEWIjCGjoagtmKU2QXumBl6WuLPhFnrTlaWUADXYF4GE6hQXt90XC6hpmRJPCD 8J2Qp38qqbnGENDDBOvo6IQ3FOCz/29lQSsQiN6DAN6uEo3AzxmCNA8BdagEBEWo6Mki hV3w== 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=81AhptZvnYrm/UFES5Qhqo3Ohe0aQuTLo39/L/7KPZg=; b=MUHQIeKF4yz464nXRb49Y5vINhw9GrXRnIbQpEEC81qhz+34D8h3xkxHi1zPtEDvNI ZEWx8NaOzcdcnK3W/8mBaVUp4qGZXQ+aiOmFMeaVvGePXwOy9Oqx7RgiWOKhi2FPq5qK 2q6wE780+B2uZ5m7fFmVtCd8X17mXynYOvlC24i4PMIZHzyTZ+X6s23IjAnztkogw2Is pJNIxoIL665HSqpOBmGmF1821kBoCEqUFZnrvOGFlzRioc2RowJZ2ZEYoOnTTbg1U2Xx Q8wjRcq+sPjl587ppkSTp5UAisQ8ieE2+6/QwVmwlCRBzPwdVm94qXUEKJtAib8VBpx2 WPfA== X-Gm-Message-State: AD7BkJLtzZ1TFqhtPwMZUWChMVRSDq6M+s5Wo12ZiH4VF/hp++BSfNUO3MpUoffvJ01Vig== X-Received: by 10.55.79.134 with SMTP id d128mr36148095qkb.73.1459801350578; Mon, 04 Apr 2016 13:22:30 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.156]) by smtp.gmail.com with ESMTPSA id w75sm13065124qka.49.2016.04.04.13.22.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Apr 2016 13:22:29 -0700 (PDT) From: Ezequiel Garcia To: , , Subject: [PATCH 4/5] devicetree: leds: Introduce "panic-blink" optional property Date: Mon, 4 Apr 2016 17:22:05 -0300 Message-Id: <1459801326-5541-5-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1459801326-5541-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1459801326-5541-1-git-send-email-ezequiel@vanguardiasur.com.ar> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160404_132251_889388_905B54DA X-CRM114-Status: GOOD ( 10.33 ) 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: Richard Purdie , Jacek Anaszewski , Ezequiel Garcia 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. Signed-off-by: Ezequiel Garcia --- Documentation/devicetree/bindings/leds/common.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt index 68419843e32f..dd409df9203a 100644 --- a/Documentation/devicetree/bindings/leds/common.txt +++ b/Documentation/devicetree/bindings/leds/common.txt @@ -37,6 +37,8 @@ Optional properties for child nodes: property is mandatory for the LEDs in the non-flash modes (e.g. torch or indicator). +- panic-blink : Mark this LED to be used by the panic LED trigger. + 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