From patchwork Wed Oct 18 20:57:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 116326 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp6495976qgn; Wed, 18 Oct 2017 13:57:51 -0700 (PDT) X-Received: by 10.101.76.6 with SMTP id u6mr14675694pgq.93.1508360271599; Wed, 18 Oct 2017 13:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508360271; cv=none; d=google.com; s=arc-20160816; b=iF7Om6mv0/GZPV5rC9rAdU9pZ+ws7YfESFEH1A8s5uiIcqxeHCMN2i3DrbKRlkRmNW c7zJMDmxxiMj+Io6AGBWB9NAAIOKG2MXZynhaHDeM6zJbhVpJvyxQUDeMnPfa6mZAQ0Q ELEyp4JbU9RQctrFsjZjuFSmE1aCsG3K5l9PqJdwIPVX1b4RvAuh+MZ4O6Jz0uWZmCh/ ZgRtd11DUFh27qI+zJad7wgcmg1/kCzRmk06b4KMP4OYe3sJ4T/1WcZPPW8w8i5kQ4Lb b5r5ATvxHvT2s9jOOl7dKOBqJnCIYXlr5q1ZBbiAUqWGz+P8NYxLe+p90PqbuReUHXBi PCeg== 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=GP6EuqJm/8Ana9oZ4nVqNZdSEskMErzouoOYIORK1Cg=; b=DR9ydvpvXj9cmii/arhTjN90xdeb05+wusf68KuHckbQueCv84jECGXYEyHI3KNmpe dA/C3UPlceMRGY8y9WtMr9IqrPR4sridm/RTyoMeoykEUcCl0tqdlDmyj+97sJx9cZKK VpjLgoJRsV+gw0z9uJTwpC41Qx4vv2iU+RjMwvh4Rz5rA4WDZ6a/gBZUPlTxm1yBDWr1 UjTPpx8enbmf3p85tEavXPi2JAk8M6nmkNozrJId3rI+UFwl3N2lmUJGzBKDw3K2MzmU iLZ6kbypGz6bi3F2S4yOVdZZ1JfRYxlw5Cv3nNxHvfPiaWBV0xaVM2y6p3Bmct5uwDGN CcnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dTMENsB1; 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 1si4149575plj.170.2017.10.18.13.57.51; Wed, 18 Oct 2017 13:57:51 -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=dTMENsB1; 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 S1751884AbdJRU5t (ORCPT + 27 others); Wed, 18 Oct 2017 16:57:49 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:48688 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbdJRU5p (ORCPT ); Wed, 18 Oct 2017 16:57:45 -0400 Received: by mail-pf0-f195.google.com with SMTP id b79so4842902pfk.5 for ; Wed, 18 Oct 2017 13:57:45 -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=GP6EuqJm/8Ana9oZ4nVqNZdSEskMErzouoOYIORK1Cg=; b=dTMENsB1kVnY3sIiPhC+BsHoxlIK/dPpu2ezm21HBuhZOX5DfOm2pq9VbNxEXKwm+H ED0x6ELLv0+8SZ6VQu+l3wiZgdaGa/WR9cKhtfFutrNFDXl+EE1dgiLR6d9Y0MS/gdJX 1drbYpSNngenK7alJ7WegSfqUlASQv5QFupQ8= 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=GP6EuqJm/8Ana9oZ4nVqNZdSEskMErzouoOYIORK1Cg=; b=BAI2albG5uIdBl5w7w3DRq3i/AlIdwvU73lmg0fJP5FhJL8moOxQkb0FbrQ9aTnO75 7UQNB7/5wQkscC7r8efvOLqPRvdsfyxfmWOuTMPGFvboHXWP9bd1gh0+jPqpzQwGj6GH LEV3HW+Md+M12b1v0cpNZNxSIi4+/SQt3V31w5LO4t7mPGOdGpynpVyLy3HmTJ9CCBR/ S5z5bvgd7CDxLp/EyGOL/8S5zr0Zl92rSkCDVSEbTUDJI0K9gK+jfiN2ZO3naaElRcmC SEVMnipF2fotvfLg4ikWl+68UVCjMnyBMmqkPWlmiElydMWOEMOiNJFvaBo/o9WBfSuG WV6Q== X-Gm-Message-State: AMCzsaWLJw/udwWb1qXrGcZ+YshySa10XPIEdyo3nBhZDUu53Y7xYqqa WjndAF5w1wxcv5zXgoSEodRhK8h+ntg= X-Google-Smtp-Source: AOwi7QArUi9L/oDSTUNX3e1USxnTFf6fefViPpNg1bH0rJ2mHBSqyJNXbWyj4z4wE4DWfjNTD3aLDA== X-Received: by 10.98.64.207 with SMTP id f76mr15715980pfd.279.1508360265042; Wed, 18 Oct 2017 13:57:45 -0700 (PDT) Received: from localhost ([45.113.250.2]) by smtp.gmail.com with ESMTPSA id a24sm10740068pfc.79.2017.10.18.13.57.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 13:57:44 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, manivannan.sadhasivam@linaro.org Cc: Wei Xu , Guodong Xu Subject: [PATCH 4/4] arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify kernel panic Date: Thu, 19 Oct 2017 02:27:24 +0530 Message-Id: <2e9f4d4efd6568931aef634b499625f6d2ac5ae6.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/hisilicon/hi3660-hikey960.dts | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 Acked-by: Guodong Xu diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index fd4705c..febbcb5 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -108,6 +108,7 @@ label = "user_led4"; /* gpio_190_user_led4 */ gpios = <&gpio23 6 0>; + panic-indicator; linux,default-trigger = "cpu0"; };