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: 10042685 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 1BC7D60247 for ; Mon, 6 Nov 2017 07:10:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CB6B29645 for ; Mon, 6 Nov 2017 07:10:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00ED2298EA; Mon, 6 Nov 2017 07:10: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 86F6F29645 for ; Mon, 6 Nov 2017 07:10:03 +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=uxoK9mkIMKOpvzgEArETarvYsT2GUTznosQpVMX0lLg=; b=BK1j+xNUHeaZ6nBzvIFTK+h2Fp VNlyfqxYsHaz71UgC08NIJaTp5033fdfFGM2/gFoGHqVc4NgAjWNeupACixhnUX+SL2fhFVP8Y0dc nuwKnWphcB4NTZnn5TXlx6Z/6R2zpv2nWmmmVS9P6i3yTohRDH0IGU+2nYG8cyMQAcKDvzQBXyvCJ FVqyIug39FilFj64ri2Y51DnAJ6axElTXQ9D3nMeACCPEUG/k10vG3jnKjebCH5CZ0tagQMxZZjRm 4SNEuY5lF/kvRcrKiGB1YBXGxaMTiwa4/NzgSWXb/gGMGsUzSz+jZ8OFjGaGpzyOywcefjy4vAN6a QB41jV/w==; 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 1eBbXm-0005he-L0; Mon, 06 Nov 2017 07:10:02 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eBbWb-0004qY-2J for linux-arm-kernel@lists.infradead.org; Mon, 06 Nov 2017 07:08:51 +0000 Received: by mail-pf0-x243.google.com with SMTP id n14so7078106pfh.8 for ; Sun, 05 Nov 2017 23:08:28 -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=iITirMc3gQvg6zRMhlniet25nS2lGlFaiaaUEUuAb/P+H+QdkcqlFpYMv3hYecICTt G8MuizeqTiLYyown+3EyDJbalHBfnnxP3jD21H7m31jWZfFqJOW6Je3drbts+KIb2qXd vohLcrNbrStFkenJdhAuqi3fZJwdEJAp31rrCaZz09NmMRuBrLfh0h4G+NaQOaE128B1 hkXBKnAsSjZaFuMVRSTchzxHe0DKz66+WvJk9HVEE6v/49JZXV0+sYSB1bX6ce7M19Gg AfzefGaCx76nM46JDVapF3WAntpG9mUB0pwOo9rlOX8EGuR4ClALcQrDZ4EVkMje9q2w 4BLw== X-Gm-Message-State: AMCzsaVDySW/pyS/kH7fyvV5POmfiFXefKeTRtSvcr2mUbCtSc9Ixr3S am73xZ3LYXeIRWFrwx9p+0ezBw== X-Google-Smtp-Source: ABhQp+TSpn9hu1efUGY5dVWBLR2f+m3F1jB6wMJzwnG5vzH7SLDzHj+HOXFfPRcwgwLGlUeLQBA8LQ== 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 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171105_230849_199294_D8E58B70 X-CRM114-Status: GOOD ( 10.40 ) 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, David Brown , Rob Herring , manivannan.sadhasivam@linaro.org, andy.gross@linaro.org, linux-soc@vger.kernel.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: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 1 + 1 file changed, 1 insertion(+) 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"; };