From patchwork Wed Oct 18 20:57:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 116323 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp6495834qgn; Wed, 18 Oct 2017 13:57:39 -0700 (PDT) X-Received: by 10.84.241.129 with SMTP id b1mr2780127pll.103.1508360259730; Wed, 18 Oct 2017 13:57:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508360259; cv=none; d=google.com; s=arc-20160816; b=IyQf4Oax4j9LrpdvyYr6ySsPTzvhvWOZq0SqHQ2p9AXcR+iD0b19JlZSh2HS9on+ed LEHHOly33w0H+897rRn3nwcuaSoxHkC/dRwPbOuPf7iBp6mbLgq0EbAj/2wxInDvOfho uwFWfJmLWA8ihfC2ybawdyYQq09Gh5pg8zXzmOR0cMK7giNXz8N/fXK9nD9NgTIqWxyy /sz86UnUtinRdo2IwWgwHdo/6bq08O0yxc5eDxi2Y5SOQKtp5WzKVfvcSZW+EAXGs+rK T3+d0vCFzP3VFgH8VvBw9WosJ+xA/7SgBRSy+2ZtqigPGS8lvp9i31hSkGeLJd0wVkl3 9g8g== 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=O5p9gI+PFU5yjLtolcrQ5LfFTgr0c236FYIXORqf11E=; b=hjiJjnsES7BAWEc00D5LtVuXVkFpM0bFSChgPTt1rna41rExFGHDBvtH4GbyHkFlGB 81PwcbrFS3kiCpH9nmEbR2IOOe/wsdgEplxUMqxEPuSEQtAF+xmDGrYzL7QTJvwKG9Uq HFYRsitYUEiJWhZYDlaAWWGabnf7UDOZcJqZ+j9FX3n0l9gWEXhUcjK/BnJ1/w2GRYoS pnsvEk3foRq++6VQmwnOU2NBVdZEEUSThydkwW3lhIq3WBy5Z4py2FwxcwkPCkd/HJvP KRltwZUfNzKktVNjMLQAhfCGBn0BG0jUwFlcuvzKp212k0kaF/OV5FgShVZ5HpzOJb1K ErdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bGHvtrTX; 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 h32si8294362pld.280.2017.10.18.13.57.39; Wed, 18 Oct 2017 13:57:39 -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=bGHvtrTX; 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 S1751824AbdJRU5h (ORCPT + 27 others); Wed, 18 Oct 2017 16:57:37 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:45560 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751592AbdJRU5d (ORCPT ); Wed, 18 Oct 2017 16:57:33 -0400 Received: by mail-pg0-f66.google.com with SMTP id b192so5256926pga.2 for ; Wed, 18 Oct 2017 13:57:33 -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=O5p9gI+PFU5yjLtolcrQ5LfFTgr0c236FYIXORqf11E=; b=bGHvtrTXam7UoQMIBI+CPIdT4+MkGNu6Ftc1ge0UzCIEOnuO7szKIcV05+5HQ2LCxn OvqQgS1dFe/x2EappvuG8+QXmRKN3YCWEvD/4zZGYeP+0YJ/3wDua6u329DrN6+Ocxr5 UC60SW7FntHlZroMo8U0qDIUSpQPlho2QD5oE= 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=O5p9gI+PFU5yjLtolcrQ5LfFTgr0c236FYIXORqf11E=; b=EgS6Sk1vUPUPwIIE6FqZupjZIwiYexVNie3leNM/woq7/wN8telDVqLxx3v/r6c8DS fm1MinFAhb3cu9cQTGYd1R63+fUZBcSwWBO4VGIQJws2fZHfIMbo/SN4Ij2npPj4WZh3 lnypIP9t1+6xxkIPUDS12J+HCOrqHyf+WlZRcEJ98ykW6msGYMHNtI1X8kvvwHq3QvML oHG+Udj7ByQxLKfcuypPnnGj1XsggoutHHRhwibcsC8Nikc7TRKw/vAdjXxddNaIu4KG iHfm7UN29Ute38dM51prnDpSzreQX1yOwQqQF2JWoEVLxxyaXVyBmdHZPEYQUeFRkRaz KRDQ== X-Gm-Message-State: AMCzsaUe6VDw8HzN2WXr3Oz0YUCod9Qn+M8oDwhrnWTOELfTv93rFE7Z 2FEv2n5dILs6y+gSmk36+5cVnb91z5M= X-Google-Smtp-Source: AOwi7QBqWZlz6ROK/ezoqVtA7a11u2mszqpQOf42WsHT143II0f62AFz6wczx8Q4hmU0xodDZuTVSQ== X-Received: by 10.101.90.193 with SMTP id d1mr14794950pgt.423.1508360252915; Wed, 18 Oct 2017 13:57:32 -0700 (PDT) Received: from localhost ([45.113.250.2]) by smtp.gmail.com with ESMTPSA id s4sm19261615pgr.32.2017.10.18.13.57.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 13:57:32 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, manivannan.sadhasivam@linaro.org Cc: "David S. Miller" , Wei Yongjun , Olof Johansson , Rob Herring , Arnd Bergmann , Timur Tabi Subject: [PATCH 1/4] arm64: defconfig: enable new trigger modes for leds Date: Thu, 19 Oct 2017 02:27:21 +0530 Message-Id: <5c7bbac3efb2149d79f5c1735f91e64e8ff303cf.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 Enable panic and disk activity triggers to tie to LED activity Signed-off-by: Amit Kucheria --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.4 Acked-by: Manivannan Sadhasivam diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 34480e9..4ed357f 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -460,6 +460,8 @@ CONFIG_LEDS_SYSCON=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y +CONFIG_LEDS_TRIGGER_PANIC=y +CONFIG_LEDS_TRIGGER_DISK=y CONFIG_EDAC=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_MAX77686=y From patchwork Wed Oct 18 20:57:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 116324 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp6495895qgn; Wed, 18 Oct 2017 13:57:44 -0700 (PDT) X-Received: by 10.99.55.82 with SMTP id g18mr14557049pgn.31.1508360264155; Wed, 18 Oct 2017 13:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508360264; cv=none; d=google.com; s=arc-20160816; b=bpzt9parig4VTLs0pV+kXyRSRWgxhgZlWaiOwgsecqasKtqahA28ZSooRNwd7S23nY MvT2QkqUVdDooHoftKUjWDGEgYEjid2CWUSEV4QkK92oxiOGm4oXGo7B0utwoNmBvHrl QHM8tGFt/6u+ehDG76MtdBVcoLOSdpLRvRLxss/3dYejw9TXchwoSyZ4gmerK3rDmWfY O7bUVPshkQPOZxjTU+SagBOe+BJU/u8qHcJxzT3zqCJtETeX2vmKDF84AzbROvUAjE0t tLJy1Y0QyWI66kTPPRhkn0LxCFmbQ7GbEvBLUwEJh0tlNv+EblPBIrVSwZNbudIKyIma DWvA== 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=34UxCvath0JOe4Z0wmxTnfn/3wpVqdlAhO1ZxEbUcYs=; b=TI8Ns2be3XuY3gbnfqkUcV6xxpQawhFtTHTSkTojCKBUz3hBeZoMID9HrQmF98Lp2i LMRHDWcK6U8JqZeqJJYLDVDajfdVruYdFipUbYB/1l3S1pFYIoDD/kLqArn8dDjtXa6/ mpwUiry+AwbYIUkS8cbPo4NzWFCfF7RULupx4AXUbLL0wVbrY8+wzfXAZL4NyY/FDJnU j2Qfcf+F0bKi2TXQHlrjjHciiNBYw+lBBkyx6TLC3FufHpzSJ/IoaB3sUvLI6BgGgKCk j8ukNEFXBfjhnA1Ei3abXxAsXW3L6NKt1UPToKGjpOOjrrwFuzgvGVMyRBZh+NRYkwnm icNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h/gyJ1fB; 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 s126si7486632pgc.618.2017.10.18.13.57.43; Wed, 18 Oct 2017 13:57:44 -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=h/gyJ1fB; 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 S1751851AbdJRU5l (ORCPT + 27 others); Wed, 18 Oct 2017 16:57:41 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:43186 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751592AbdJRU5h (ORCPT ); Wed, 18 Oct 2017 16:57:37 -0400 Received: by mail-pf0-f196.google.com with SMTP id a8so4846297pfc.0 for ; Wed, 18 Oct 2017 13:57:37 -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=34UxCvath0JOe4Z0wmxTnfn/3wpVqdlAhO1ZxEbUcYs=; b=h/gyJ1fBm1ipmjafai3LL3pZYva8gNiWm//mSlbvDo951Xyb1lYvZzfaVmXwApwkmi LS84JHtiflM5PrFswA/CNMn5JUWnFaTTswFS12BFVEAg3/UZnTXnFOqBKbcIleKSlGno KEMVvoc0u+t4pu6TISli3t2Ao+UuZAojoMTtI= 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=34UxCvath0JOe4Z0wmxTnfn/3wpVqdlAhO1ZxEbUcYs=; b=pDwHEIqZRMUsGnKhUwPyx1BAWxaJeJixxCfD8XbC4MQR/K/ssEADChNCe525xYC8gH W45fodRwhBgOB7aakyeplxf91LhTwvJfPJYNdvgXwo1ovFUmvA+BFgYgGq/BB23lli3B kPiKltLAYOFSNrdL2AQiM3TE8kCkeyQNUqAhArQ/jiR15iajEobqjLT6Xih3dOvZ5anv NHmMZXltb5ze2x+DLpk5atHjd2FcOtCf4HWm5M6YheFCeKOwfw+4dgtS99EGLE8y0TDW CnZgxnl+kAylH0KjH0D3BxQEcMce69wEYxKpdLKmh7df2r1aqiILfEvBFXYddtd+6L20 2veA== X-Gm-Message-State: AMCzsaUtOnYsz77ZKc18evOK82T7OBG551y8qyohXe8XboRcRwsBn8Re OKtyE0B84jMODE/FViPUvJjSyBgklmI= X-Google-Smtp-Source: ABhQp+Q30bLITdQfkDZYx7M/zyHAy2RH5B2FY0mFKmUuYg0hd/DYuTSkOHZB3OfPOoPtiGHPsb1j5w== X-Received: by 10.98.69.145 with SMTP id n17mr3807850pfi.310.1508360256908; Wed, 18 Oct 2017 13:57:36 -0700 (PDT) Received: from localhost ([45.113.250.2]) by smtp.gmail.com with ESMTPSA id p12sm21685042pgn.90.2017.10.18.13.57.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 13:57:36 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, manivannan.sadhasivam@linaro.org Cc: Linus Torvalds Subject: [PATCH 2/4] arm64: dts: qcom: apq8016-sbc: Allow USR4 LED to notify kernel panic Date: Thu, 19 Oct 2017 02:27:22 +0530 Message-Id: <3b5d74337e9067d2d9b5763502074761a8a96d1f.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/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 Wed Oct 18 20:57:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 116325 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp6495945qgn; Wed, 18 Oct 2017 13:57:49 -0700 (PDT) X-Received: by 10.98.185.10 with SMTP id z10mr15883164pfe.8.1508360269412; Wed, 18 Oct 2017 13:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508360269; cv=none; d=google.com; s=arc-20160816; b=cYoLNHXXSyLzxV37pyWtRgnlQQlUEAFkpQd5gAOCGuV2RyVwpXA2+dJIOvFHvP5qL7 4NfSKNkUeWlzSxWTwV9gLy5DqkGSgbcotnZ2+TSXRKWgZdPcxJ+hHIv367HvYIm4f2Sd bLM2tDWkMOIN3HCCvXPIBgSZwj/pTa7tGD8pj2UxFAEN5uIjIhYHEPeRlo53c3VF2r6Q 601RqEgw4m0NNEfYcPUe1vKxAWBLp7OLeFEdSRCz7k5IXnqJjviXR9CrtvFVTBcab7Wp c4hvAMDfHrnodMZ6CF2MuZey4pxk01oDE4ZCQzJzYsXzNuOK2pc9goW1K41tatzxU7HC 8puA== 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=yzqWlM0cWLazTug6NbCy1aAb2Rrlsq0tE23NjVD7XRc=; b=Y1rP+k/KTjrPmJgrWt3H64DoxBVgbTdFkZtyCjdj5UquIdQjeYwQetjizWrGJylGrX Sih1TCMyzEUw0fThOJ0+nbsFTHPcpqGu8YexBZ94YF0hyjid87rdDOSGbo1NDJq0YmaT plVPSoa9FYiv8zR7dN/zlMP7QW+4ICZC7m0h3y3a3CrEW/fRQAcGSPtT/6Z0murs0BbS WWgj4SUruydtUu0y/gkDgLSS+Ajqqr9CF3Mf1kSFvNbZXrLpdUffZC3QKp3iS9cumdeE 7X0Mkltodk0B2VUPRdwytveNBxESrqiZmDKF37ZLzBbczuzEzeHvit1LGYwmWN8b8IGP Fs8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ie1YAcZ2; 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 k5si7425016pgq.184.2017.10.18.13.57.48; Wed, 18 Oct 2017 13:57:49 -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=Ie1YAcZ2; 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 S1751772AbdJRU5p (ORCPT + 27 others); Wed, 18 Oct 2017 16:57:45 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:48676 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbdJRU5m (ORCPT ); Wed, 18 Oct 2017 16:57:42 -0400 Received: by mail-pg0-f66.google.com with SMTP id v78so5251531pgb.5 for ; Wed, 18 Oct 2017 13:57:42 -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=yzqWlM0cWLazTug6NbCy1aAb2Rrlsq0tE23NjVD7XRc=; b=Ie1YAcZ2xPudPQhkWxZeVaTvbneHkW4tFlbFpOqfVqzlLBhjnMen75XkCnGpRR0jUh fhvL9IsF26kL9DnvBZFz1/OObVUyctvxM/kAMXbgtpXCYSkH0qWHAnIVYFm2zxX0Gvtd C1NdV1nwrr2RDvL3bWtzdGu4VQyITLLXugkz0= 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=yzqWlM0cWLazTug6NbCy1aAb2Rrlsq0tE23NjVD7XRc=; b=AqDiu9rw2XAI2LCEVDWKB8A0Z9xYmZRYDRISxuEL8E7qv+zarzfdyqgzrgP28p7VMM 8SbFxm+v0vKcTrAUszGIs9YpByWCkOHOSKBGZiscXNxTXdBCarZI10sdQcWF0nzkZBE8 973Fai7F3pvRZp16eX9PwaycADTAGosKfTljVANrhMcT5d4FnhrOnx/X0wFbsolJD42V VCWDC53GRdc70PcwplPFJ5BMUzWBMGLM24BN43xAnj/lsQ/6o6Sm0nrOMyItPbjIQ+tl Qp6/GPHuAXDEJjzwlJQ+Ugzzony4zpygcSxjVDlL5GCRbhZAB9z5u5PyHoe53FmeJPgq gP3w== X-Gm-Message-State: AMCzsaXaqvnE4SUxucspq8G3d467VpKnkYQ89K/prXKWR9F92WdHeB2n v4mjiN06GAyWXY7v44HoXWpm/0Y0lEM= X-Google-Smtp-Source: ABhQp+SHFz4dtBCt6JVhWwiLrmAAUnXRjMlTdk8eOGv3BHSBxL7To1hKwNURlyyS4sKpkKmcP+m/ag== X-Received: by 10.84.246.197 with SMTP id j5mr8203593plt.7.1508360261265; Wed, 18 Oct 2017 13:57:41 -0700 (PDT) Received: from localhost ([45.113.250.2]) by smtp.gmail.com with ESMTPSA id w27sm26684977pfi.18.2017.10.18.13.57.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 13:57:40 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, manivannan.sadhasivam@linaro.org Cc: Linus Torvalds Subject: [PATCH 3/4] arm64: dts: hisilicon: hi6220-hikey: Allow USR1 LED to notify kernel panic Date: Thu, 19 Oct 2017 02:27:23 +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 --- 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 2b52630..c536403 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -358,6 +358,7 @@ user_led1 { label = "user_led1"; gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */ + panic-indicator; linux,default-trigger = "cpu0"; }; 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"; };