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: 10042689 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 CD68460247 for ; Mon, 6 Nov 2017 07:11:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF09C296AC for ; Mon, 6 Nov 2017 07:11:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B38132990F; Mon, 6 Nov 2017 07:11:03 +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 A22CC29921 for ; Mon, 6 Nov 2017 07:11:02 +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=kg6tOY5JyR2EVvVEWsEP/IGiwfHENXfKqWikZwPaWLM=; b=Sm3wU+BlQrqGCZY23aalyVhJao WAGXnXzrSZEzV1C6Z67uqu3ym8BgIXHiQWS9olYVwOZX+wFczLUpQ4rjP3VF6uAN87qcWG5mB8600 SPWcgilvn3nqzR3bbA7DbBuK3wvqV/hcdnR+E/kK3xarz+R2iBPtHj0GI1B4/lm04gcvtUTTfKoPN 2dTCt1gvR+f+BoZ4rqq55GAkbOvr14LJSKHPVMtaXIK6ZJOQujDgtyY3sWHgZqO4+wzZoYDreHuwU xu8Ul2kw0N+vzRsR0rU8bM1w7eAOQnUbhyusxhPBP4QQ7opXiGVG1IGSuZ8p9qkLJMp8UUZ4Yfn3u uWDZHHHg==; 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-0007eV-D0; Mon, 06 Nov 2017 07:10:56 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eBbWk-0004sL-BW for linux-arm-kernel@lists.infradead.org; Mon, 06 Nov 2017 07:09:00 +0000 Received: by mail-pg0-x244.google.com with SMTP id p9so7513422pgc.8 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=ao9ACtFeX+sRepyo0mXtz4EnxliUthb/NK2ItN5Zphmi0knqgdQBo7kT3THFu0B6FK 8pXJQZdy4lTPktWbPVDEv3ogL6l7aNfMYXUxzN6Ld4uHLxMrHqvtbcr8X0FKn63UI2Ka vFb2aZ9pK9ShlNVsMGEe5dYYZSRPKHMLP4mjOEHIDM7p3JzY/ShOd67D/HjbBLLPJfaG 6jlF9m7QMEzKXTER2zUDDVwHFReh/jfrvyaci0o7eYLQ/pOBnm9+ny8WxRW+LB2lFeyT VqV7Lb6hFvaPWE70AU5h4Ecaj8VMryTqWlDH50ib4B1B8en+9Ga+MMd4JabS/xc4e19x rv7g== X-Gm-Message-State: AMCzsaUomPsTAPRLUkmx4CWryabGDAFobAyquFIp3zLoUkdInNsb+7N4 UxnKbUTUu68TYHWKhsTJ2qR2Sw== X-Google-Smtp-Source: ABhQp+SjLyhhiThfZbQ8d3jj98KFybp0SuYfAZGL10QQXK/DOPFIth1SI5bpnfUmRUL3ud/UUCjM0Q== 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 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171105_230858_503679_6B1D7194 X-CRM114-Status: GOOD ( 10.69 ) 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 Tested-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 1 + 1 file changed, 1 insertion(+) 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"; };