From patchwork Mon Nov 6 07:08:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 118012 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2454746qgn; Sun, 5 Nov 2017 23:09:17 -0800 (PST) X-Google-Smtp-Source: ABhQp+T0N2L7ADytqOYo13stZ30vmW2O1/4zy62jf61woodW0XndGtKpt6FD/gIRvrusawc5pAai X-Received: by 10.84.232.202 with SMTP id x10mr13689464plm.101.1509952156854; Sun, 05 Nov 2017 23:09:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509952156; cv=none; d=google.com; s=arc-20160816; b=mcGkFpwwy+vYSi5G/EKr6tEMAJyYKQywOUQQeSu5juy6IAQNzMohPe6fDW61K4AgZO T0NloEMhtczBJwOlqXtHCkEaNaD72xAY0s+gWTBlAWNk5OU/A0wgUOvWKLIWknxSQIi8 lyo6iK3nysxD7fKFtMfHxgr4b+2bNVyDupl7meqzN2VBDfUfaVf2RHbAKn/rKbTDt41s 0Cje4rjBagEJw3gMcdGtWI3B9u5L+LL8SmSkV8wc4Kne/5jR4v7WjXGPyH9kWVeZ45lH i5DfMtzzl09xSaYiM0hMfuEFWcHMVuaLE8Ik/Mk/2YheLMdPUhMyCvE+pIUeLCTRMc1+ Xu5Q== 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=yib7QHfvsBx/AkDt/oxVyCw17pkgh3b0iFUENldsUKA=; b=nSSuqyIMaU7WfJkM9z7CP3Tc9zuLzii7PVsoVywldlpcTNrrr+z3ucrradc393DzNI B0Dc6buotGZftkMk+QKIXipvC0Jkv3I8+tuLMEW/HHZBI637nh/03c922Xx3AkUixEjs 0LvqtYttNzKaEbD9OcDg2ENMpIaZszTI7NBSO52CD6esrE8a/rgbQtvUqthd0GjBZSbn ispeoewyCp3cmLPy8LlQv1KbSbADOnUrrEQ9T6/HXd+/ikXrAILRRLKsfGDaruH9BuXq RLkE2loceDLb/ihJ5Fgu+e7mSjHuOg1+NNy8BEZOYjtvh/BckigHXMoNjRmkQDoaJFe3 +zfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XLQLflcU; 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 g207si11672773pfb.413.2017.11.05.23.09.16; Sun, 05 Nov 2017 23:09:16 -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=XLQLflcU; 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 S1751955AbdKFHJO (ORCPT + 26 others); Mon, 6 Nov 2017 02:09:14 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:49346 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751733AbdKFHI3 (ORCPT ); Mon, 6 Nov 2017 02:08:29 -0500 Received: by mail-pf0-f193.google.com with SMTP id i5so7083154pfe.6 for ; Sun, 05 Nov 2017 23:08:29 -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=yib7QHfvsBx/AkDt/oxVyCw17pkgh3b0iFUENldsUKA=; b=XLQLflcUdhdCvlLeQAmRQYOpD5XNuEAOMnzhRWDpVMiETmD/4Yx3+mn1Nkkv1fYmwS RX4QjLYSRiffWTHBmMIe73h6LfADHZf47IEc6HwQ8wMbmZqcI+83yu+C42tN3Cv/WrHn qU3oIVmXLIgQtQQwwvz589hfBaZyukZrAqoDE= 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=yib7QHfvsBx/AkDt/oxVyCw17pkgh3b0iFUENldsUKA=; b=BgFMcH7Iq8VN+r8CDg3cP4b3LFXlN3RAeo2el6hrAFYC7YPGZB11vzAjJFgPyA5dLo ErpBa8y+0ByLG/OVviRX7EIdhIkq4i/+uB/3/guvSsx6zm2fwxE4wllzOdFjXVoecoAo nt1zmBornO3vkFcVcBoS5ps3uRs1W1Dj48fx/x44OGdVHyhjVFeGy5ZKwgeQOTTqW6be Fv9Q0jPeXBAA/tgZZoT+TcQDl5HJo9WEe5Ank/0g/MMfYWxsTJ9fmwouoB7ew8swnRCM l5giki5TBofLJWzRAcbgvxCOCP+La8YQ6zDVBi1QdCpFpWLW4bKoGg4HwFOHqU6PvTDd V+Pg== X-Gm-Message-State: AMCzsaUzj19Pdoo+1fTUIKJcQI62Y7jNAtm+nxhhG11b6dLPr6De7BoO e2wyFWe2kQafPa20DSpXSTbvMw== X-Received: by 10.84.132.76 with SMTP id 70mr14140418ple.135.1509952108300; Sun, 05 Nov 2017 23:08:28 -0800 (PST) Received: from localhost ([45.113.250.253]) by smtp.gmail.com with ESMTPSA id u131sm18389655pgc.89.2017.11.05.23.08.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Nov 2017 23:08:27 -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, David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-soc@vger.kernel.org Subject: [PATCH v2 2/4] arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic Date: Mon, 6 Nov 2017 12:38:14 +0530 Message-Id: <0134cfea0d980093d74617dca4ab5021478eb705.1509951550.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 Acked-by: Manivannan Sadhasivam --- 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"; }; 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"; }; From patchwork Mon Nov 6 07:08:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 118011 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2454342qgn; Sun, 5 Nov 2017 23:08:44 -0800 (PST) X-Google-Smtp-Source: ABhQp+SO6ZvtrANn0HA3CRvA3xPB8DhMFfsFXqCCH+Z7/WCuUGnmYTMPdhtikMEtiHH1TEMFdyCL X-Received: by 10.99.63.199 with SMTP id m190mr14513508pga.275.1509952124724; Sun, 05 Nov 2017 23:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509952124; cv=none; d=google.com; s=arc-20160816; b=HYsyC4/kE8EGrGewIFWNortiMAcu1FsC5w6yNhz49YGBRDRMO6CqYzwiXbHT8T6fTy j5fN214AUbmuGeKUj87FaNWNRm03LgPbSYWnwDKcOj49L0k/0i9kXCQw87+a/tVlVPg+ xsAvmh0X6x+z6abs5aSyRfQatDF/yqch4ogLES8J/YHv9zaWpgdnhMJrI4tHhHr7VHxl BC8r5fxM2G9qoVdevP/Bl5Xo3W8cs1/HWLZ+avW28OxnvId0ILpiLZX4fyUe7daoJ1bo /DeGr6Xfnr9fHUuYyQRq70LgdLRx0FT5W0P1OwWnM55g57UVkI5btL1iX7GfsylEmsnk +otg== 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=nr/vMjoShQKh+ZrPsfQt1wenQQxnyEYRJ8O2VEs6lh0=; b=j9HLldKBoZZ1ucumduNZ21uKIMsBgrUyGvi2D7kbrUIXAJcTWCpqGyjLevCPqPH+0j WjmW6gH3E+aqy+ZQ7U1ZiTpk9fCt2iRwkeC9KqVRyWjA3M2Jd6jQeMSZ6WsfO4mfVz0q tnTdBNG/2pxkUCTgiMNSXiAsP4KGY1vzG4RGM0KBLf2CR0hYT00ueHW3ifyRQdPZTOQR yoJb2U2IrLQndIOzT/gAHQeWSmiX33QenI7xPW0xTCznQFxDkwfPQ2Sdtrxx7+2/vRwJ m/Oq1Axs78vxYwQMlDNP6eTGSzPU0Ap1j6Wfp1ioffrwV36NnOszpAiuzUmMbfmJICgP OAvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FLB6plEY; 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 k139si11742265pfd.399.2017.11.05.23.08.44; Sun, 05 Nov 2017 23:08:44 -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=FLB6plEY; 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 S1751926AbdKFHIm (ORCPT + 26 others); Mon, 6 Nov 2017 02:08:42 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:46443 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbdKFHIi (ORCPT ); Mon, 6 Nov 2017 02:08:38 -0500 Received: by mail-pg0-f67.google.com with SMTP id k7so7523972pga.3 for ; Sun, 05 Nov 2017 23:08:38 -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=nr/vMjoShQKh+ZrPsfQt1wenQQxnyEYRJ8O2VEs6lh0=; b=FLB6plEYhUWwUYkR7GBM9NwRaxflhQnsUL5dUgdttmbgoLMdqA3leTnD6R9B5mf7Sg T1wH8h6ToIydrwfn2STKaza38nxyzV9X/P/0Rnl1WP0F20iL5nsTosXv4ICb6HQKEDgU x93QVoDfGA7cvnv2wQgZnRIUsIWBI5+auwfn0= 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=nr/vMjoShQKh+ZrPsfQt1wenQQxnyEYRJ8O2VEs6lh0=; b=qVNMCPPjHX3PqazE3Od29eFbEc18IJY99jy04iRVQTQutoj5OQ7dzp6xJrYlkTslrl Y7m3qmOskm+Vdvdh4cPZlVZNeAhsXFkST/fNxJUIa8MX8iXukvNaiBhveRd9yQPJJCqy cEIT3ct3Fju+S1cHsgXBE8Z0Uy77GL32gTU+MI9yU4SHTpyreV+sfvrahuJ9gqsHNPx4 zQhkyC33qFn5jVtFH88DeOIJg6fFSWzfbOx/hT+3oRSN9jO7Q24Ov64L4e/lEM5CdhWg hZURu1hPaan3r4y/59csnMbqOIf0qXH/nzhUF6SKaVprn2dbVJX3hVxI27kE0nANGQVV BgrQ== X-Gm-Message-State: AMCzsaW72ew17SEyZKyUJPXREVwX3VehubfMHifMpl3uyCZ5QIWoIqrJ qI6uzdWgES0Jm/VdDBhePY6+tg== X-Received: by 10.99.153.1 with SMTP id d1mr14212956pge.379.1509952117780; Sun, 05 Nov 2017 23:08:37 -0800 (PST) Received: from localhost ([45.113.250.253]) by smtp.gmail.com with ESMTPSA id 70sm21234874pfv.97.2017.11.05.23.08.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Nov 2017 23:08:34 -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 4/4] arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify kernel panic Date: Mon, 6 Nov 2017 12:38:16 +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 Tested-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index e9f87cb..1cf77ee 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -109,6 +109,7 @@ label = "user_led4"; /* gpio_190_user_led4 */ gpios = <&gpio23 6 0>; + panic-indicator; linux,default-trigger = "cpu0"; };