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"; };