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: 118010 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2454250qgn; Sun, 5 Nov 2017 23:08:37 -0800 (PST) X-Google-Smtp-Source: ABhQp+RrW09vus6GyfCz0pyi/HG8zHvKc14+Ynnq7f4Y+i3u14/zvHQeKpQRWrC7P+8jbHaDJlYQ X-Received: by 10.99.173.8 with SMTP id g8mr13966731pgf.87.1509952117224; Sun, 05 Nov 2017 23:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509952117; cv=none; d=google.com; s=arc-20160816; b=ksrvoJirs4phm98olSoDjiQOlKAJDzENkzppjAgGAnFy8HSM5TGFhMd71hp43u2+If 9cUxiBi7KS2Hwz7PptNGBOZ5vj+1AiisYyKRwtLuf/SeAPpkpvq6v8PN0u3CWB6spU3M WqgIKCW3z+Be6hU2pnI6s2CMT4KXN9DwhOTKCZ8CacQEsj28kXuuwIxRlRefnxefcCpU F+th0MFPrjWkFIWNVFzr34znzruyyDrHTMYam9cxs+T+RHsC1U6sKteNKfao6F6Oacs6 FMOKzPbOM2bPvTmCEJQoQh6iFZ8il7gNpKm9iOz4PFegqAx/B4dPCZzS1taTbkGBISRu b4Ag== 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=0ViRC5iwIqjfCi25lqrKdJbKrkbYFj1l0ViPbZbq4jM=; b=P2hOTRd6zoVgzmZ46OaVBgRYi/uGdjjegCEPc2976A26j7TNX9udECJD5eOBBt04yl 4gIGFGe5z5kxXmgS41l9ES3THKHb46gad7Dm8tYc9g0KQHXqLtplFCpou74Uj8ULcUF2 AgUAUIFSFDzCNJhwxozrik6fmWEd0tevrzwwbwTHoaKP//kGwz+Hv5CH3/QQZBYlxyb5 oVkjHS8NaHM3clup8sGghgZ67ATFY8xNYQqGheSd3IrQXFmI8bs4499eOITzMeWJ1syQ rX4iL3DDJ8Q1tUMR7zzHQ4AYZziFozUYgTfZ9iYDFUDDpkzmHebhMi9cpezsIeZMvO4a 5VDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kXQHDTsV; 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 q2si9672217plh.626.2017.11.05.23.08.36; Sun, 05 Nov 2017 23:08:37 -0800 (PST) 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=kXQHDTsV; 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 S1751880AbdKFHIe (ORCPT + 26 others); Mon, 6 Nov 2017 02:08:34 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:49351 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbdKFHIc (ORCPT ); Mon, 6 Nov 2017 02:08:32 -0500 Received: by mail-pf0-f194.google.com with SMTP id i5so7083236pfe.6 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=qPlJrDMxafne20caEuJvup7GZ4uDb9vNOJc+2dp6jFmZBUe/tolBDrx5RI0XOXkTsY suwSJ4yucztZJzx/QgBY/LDQxpPl0SQIgD9zTV8U9OhYvGu8fVBHNtcXnmkGBhpgGeZF S/DO6XLCuu6O6/gjzindq3XjS4Ox8nkakHt0lxaOMraISzjIlKZxVih4tvQy8Hb6lFNQ 178TmR3iFP2giShrkMTiaV4leyLGCezZkP9k31eTzK+RU1HS8npd8aEgpw/SVUcDG7k4 hPlbtkEOfx5IIMTuWOOtBylrwGtNQHvRvlb8P0zbuMmXLDFJDPb3qnw+F3CXc4ojAFne Yq1A== X-Gm-Message-State: AMCzsaVSPu9AsJAz6jPVWraAsYvJBtEMnTOhdTZDeQMM80hgD+4qwpfC xzSZdrR9Zr309H2mwMHdws8spw== 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 Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, xuwei5@hisilicon.com, andy.gross@linaro.org, manivannan.sadhasivam@linaro.org, devicetree@vger.kernel.org, timur@codeaurora.org, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon 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: 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 Acked-by: Guodong Xu Acked-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 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"; };