From patchwork Mon Nov 6 07:08:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 10042687 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A641560247 for ; Mon, 6 Nov 2017 07:10:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97709298EA for ; Mon, 6 Nov 2017 07:10:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C39C29912; Mon, 6 Nov 2017 07:10:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2157E298EA for ; Mon, 6 Nov 2017 07:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=vyhmpQv9EYQeHFYvid4ficuytVmbZ3fC9235xa0fnOU=; b=tnz8rUVq1VyZjlmc8WVo9AjuKA 95F4p2YcZSAknvYOThlt5PiIoQFPO6ZAp8BkQvIuI8Yk/pQc22PGBnzcXOs/n4xvPf5AaYod0wjRH 40R0/hdf8MwlMygAJt8n+P/Go9WF33GtUWWYWdPYmfz3svapnIn2GkAGxgnh+iTzn9ZyeGBqRhti9 I4uv70dqOPUAyUeMcl00hFetCQPP3CwzKUKugbTucxvz88owTH08wFJ1+W3UtxcjxdcYfWTzBb94+ BRm3r83u8w+gMQ/N1Y4jZ9K6I56Vm6iAEhl4cyeiirQ3h9qCqouu590aOXsgEVYz7u2P30Vw4CF/n FGtqZYrw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eBbYE-0007Ih-TX; Mon, 06 Nov 2017 07:10:30 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eBbWb-0004rH-2M for linux-arm-kernel@lists.infradead.org; Mon, 06 Nov 2017 07:08:51 +0000 Received: by mail-pf0-x243.google.com with SMTP id z11so7084257pfk.4 for ; Sun, 05 Nov 2017 23:08:32 -0800 (PST) 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=0ViRC5iwIqjfCi25lqrKdJbKrkbYFj1l0ViPbZbq4jM=; b=kXQHDTsVn1OnFOmuQNZMUJooG6tz0Gg4s4tgbuO1N4BIO8wn5Zswt8Z/bEW2RDhvmF Pbe+JmHBQxD5omc6exWCHa5C4KP/ItB/2Z0O2QalpmIFeVmSUpXEdL/V4U+CRBNU0zsQ Nv086uzq1sw6vzdka1j7b8hGeAgBEO79f/Wnc= 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=0ViRC5iwIqjfCi25lqrKdJbKrkbYFj1l0ViPbZbq4jM=; b=Y1sPTgZSqjDMMtWQ4HFJ5G7idOIdt8ulLduHK9tJl8UqwzALKy1gtj5m0lzvdk6t0R E7KjB7eroef7jEPUjPw3OICwW+V9AQ0FeUUHb827n8hWB0QhkFWcaOo7fhYj9ff8kMqx rmCg+kPqBsOVe8HlBbSJyXrNJTnJHaOJ0T1UmGUDfQOq2513ppZWA7Kj2GOxFLvy3D3Z SuyV6ZHuN9Hh+fXIofsA7r2xNYaslLGGcPBf1ASkKR8dV4k9FRnRbOw7xYfyONW3/RVi LpgYjj3Z4hqyw5i/eEdUEJirOVU3AfxQTJW50FJB5q3JxFiUMzM7mw4ub6syePYgQYqW Y47w== X-Gm-Message-State: AMCzsaXoAywf7aEwR5WLVmxMqmDcf0uxwpwq2iqOaM9lHd7V06eI8vB8 M4lbXad7eWIQ8f0kZyOnyIXP/g== X-Google-Smtp-Source: ABhQp+Tt3W752NP9eSfJiL1ZpdOfVBQCyCpXjd1dP1PQXZAHWnS1vAx0xp/laYvgGVlNY98tWu+o5A== X-Received: by 10.99.181.67 with SMTP id u3mr14621336pgo.118.1509952111845; Sun, 05 Nov 2017 23:08:31 -0800 (PST) Received: from localhost ([45.113.250.253]) by smtp.gmail.com with ESMTPSA id p71sm23063358pfl.56.2017.11.05.23.08.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Nov 2017 23:08:31 -0800 (PST) From: Amit Kucheria To: amit.kucheria@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: hisilicon: hi6220-hikey: Allow USR1 LED to notify kernel panic Date: Mon, 6 Nov 2017 12:38:15 +0530 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171105_230849_228911_B397854E X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , linux-arm-msm@vger.kernel.org, timur@codeaurora.org, Will Deacon , xuwei5@hisilicon.com, Rob Herring , manivannan.sadhasivam@linaro.org, andy.gross@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Blink the LED on a kernel panic. Signed-off-by: Amit Kucheria Acked-by: Guodong Xu Acked-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index 3aee612..e94fa1a 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -359,6 +359,7 @@ user_led1 { label = "user_led1"; gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */ + panic-indicator; linux,default-trigger = "cpu0"; };