From patchwork Wed Oct 18 20:57:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 116324 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp6495895qgn; Wed, 18 Oct 2017 13:57:44 -0700 (PDT) X-Received: by 10.99.55.82 with SMTP id g18mr14557049pgn.31.1508360264155; Wed, 18 Oct 2017 13:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508360264; cv=none; d=google.com; s=arc-20160816; b=bpzt9parig4VTLs0pV+kXyRSRWgxhgZlWaiOwgsecqasKtqahA28ZSooRNwd7S23nY MvT2QkqUVdDooHoftKUjWDGEgYEjid2CWUSEV4QkK92oxiOGm4oXGo7B0utwoNmBvHrl QHM8tGFt/6u+ehDG76MtdBVcoLOSdpLRvRLxss/3dYejw9TXchwoSyZ4gmerK3rDmWfY O7bUVPshkQPOZxjTU+SagBOe+BJU/u8qHcJxzT3zqCJtETeX2vmKDF84AzbROvUAjE0t tLJy1Y0QyWI66kTPPRhkn0LxCFmbQ7GbEvBLUwEJh0tlNv+EblPBIrVSwZNbudIKyIma DWvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=34UxCvath0JOe4Z0wmxTnfn/3wpVqdlAhO1ZxEbUcYs=; b=TI8Ns2be3XuY3gbnfqkUcV6xxpQawhFtTHTSkTojCKBUz3hBeZoMID9HrQmF98Lp2i LMRHDWcK6U8JqZeqJJYLDVDajfdVruYdFipUbYB/1l3S1pFYIoDD/kLqArn8dDjtXa6/ mpwUiry+AwbYIUkS8cbPo4NzWFCfF7RULupx4AXUbLL0wVbrY8+wzfXAZL4NyY/FDJnU j2Qfcf+F0bKi2TXQHlrjjHciiNBYw+lBBkyx6TLC3FufHpzSJ/IoaB3sUvLI6BgGgKCk j8ukNEFXBfjhnA1Ei3abXxAsXW3L6NKt1UPToKGjpOOjrrwFuzgvGVMyRBZh+NRYkwnm icNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h/gyJ1fB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s126si7486632pgc.618.2017.10.18.13.57.43; Wed, 18 Oct 2017 13:57:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h/gyJ1fB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751851AbdJRU5l (ORCPT + 27 others); Wed, 18 Oct 2017 16:57:41 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:43186 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751592AbdJRU5h (ORCPT ); Wed, 18 Oct 2017 16:57:37 -0400 Received: by mail-pf0-f196.google.com with SMTP id a8so4846297pfc.0 for ; Wed, 18 Oct 2017 13:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=34UxCvath0JOe4Z0wmxTnfn/3wpVqdlAhO1ZxEbUcYs=; b=h/gyJ1fBm1ipmjafai3LL3pZYva8gNiWm//mSlbvDo951Xyb1lYvZzfaVmXwApwkmi LS84JHtiflM5PrFswA/CNMn5JUWnFaTTswFS12BFVEAg3/UZnTXnFOqBKbcIleKSlGno KEMVvoc0u+t4pu6TISli3t2Ao+UuZAojoMTtI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=34UxCvath0JOe4Z0wmxTnfn/3wpVqdlAhO1ZxEbUcYs=; b=pDwHEIqZRMUsGnKhUwPyx1BAWxaJeJixxCfD8XbC4MQR/K/ssEADChNCe525xYC8gH W45fodRwhBgOB7aakyeplxf91LhTwvJfPJYNdvgXwo1ovFUmvA+BFgYgGq/BB23lli3B kPiKltLAYOFSNrdL2AQiM3TE8kCkeyQNUqAhArQ/jiR15iajEobqjLT6Xih3dOvZ5anv NHmMZXltb5ze2x+DLpk5atHjd2FcOtCf4HWm5M6YheFCeKOwfw+4dgtS99EGLE8y0TDW CnZgxnl+kAylH0KjH0D3BxQEcMce69wEYxKpdLKmh7df2r1aqiILfEvBFXYddtd+6L20 2veA== X-Gm-Message-State: AMCzsaUtOnYsz77ZKc18evOK82T7OBG551y8qyohXe8XboRcRwsBn8Re OKtyE0B84jMODE/FViPUvJjSyBgklmI= X-Google-Smtp-Source: ABhQp+Q30bLITdQfkDZYx7M/zyHAy2RH5B2FY0mFKmUuYg0hd/DYuTSkOHZB3OfPOoPtiGHPsb1j5w== X-Received: by 10.98.69.145 with SMTP id n17mr3807850pfi.310.1508360256908; Wed, 18 Oct 2017 13:57:36 -0700 (PDT) Received: from localhost ([45.113.250.2]) by smtp.gmail.com with ESMTPSA id p12sm21685042pgn.90.2017.10.18.13.57.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 13:57:36 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, manivannan.sadhasivam@linaro.org Cc: Linus Torvalds Subject: [PATCH 2/4] arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic Date: Thu, 19 Oct 2017 02:27:22 +0530 Message-Id: <3b5d74337e9067d2d9b5763502074761a8a96d1f.1508360121.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi index 1d63e6b..e4a6850 100644 --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi @@ -174,6 +174,7 @@ label = "apq8016-sbc:green:user4"; gpios = <&pm8916_gpios 2 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; + panic-indicator; default-state = "off"; };