Message ID | 1423731078-26681-12-git-send-email-tomeu.vizoso@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A63AF9F380 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Feb 2015 08:58:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DDDDE20103 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Feb 2015 08:58:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2957B200F4 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Feb 2015 08:58:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLpYq-0005j1-OQ; Thu, 12 Feb 2015 08:55:48 +0000 Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLpWI-0002iu-Nz for linux-arm-kernel@lists.infradead.org; Thu, 12 Feb 2015 08:53:11 +0000 Received: by mail-we0-f181.google.com with SMTP id w62so8539072wes.12 for <linux-arm-kernel@lists.infradead.org>; Thu, 12 Feb 2015 00:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=M+XTtkPUkT2iOYQSnZFMRS1vaLBiXW19ij0zMFOBhv8=; b=V1loi6cSQ6aIpAvljS/CBZY24uf3OMd6n8WycfH/NtN3omwjJav7P5paIdGq445uQQ 0bdRuOB69L4jxuKWAxfEFdEIFZ5wWmtvobWZ8Az95vHDHN1eMIxVcclbI4i2F1yXAgkr JOMT7ArIv7YHgLA+NrFGnPyfvutBI6CvvX1IIgo87ZD13vRihP5mZHNn9obdWLhDnsdw HqymT79wCMZiGxk5CSUY1VzxHfP8I3ocaH2jatKvdLtV9Dwlz0Vap7O6fjs9w17S5l1b P0+kTeUYFMqIh82B07kagKSXsWikacHi00sC/JvPrf29Yi6tDitB2+FDyJxYw0bM0DqK uyFw== X-Received: by 10.180.72.241 with SMTP id g17mr4056902wiv.58.1423731168591; Thu, 12 Feb 2015 00:52:48 -0800 (PST) Received: from cizrna.lan (37-48-47-45.tmcz.cz. [37.48.47.45]) by mx.google.com with ESMTPSA id w16sm1571919wia.15.2015.02.12.00.52.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 00:52:47 -0800 (PST) From: Tomeu Vizoso <tomeu.vizoso@collabora.com> To: linux-tegra@vger.kernel.org Subject: [PATCH v5 11/11] ARM: tegra: Add gpio-restart node Date: Thu, 12 Feb 2015 09:51:05 +0100 Message-Id: <1423731078-26681-12-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1423731078-26681-1-git-send-email-tomeu.vizoso@collabora.com> References: <1423731078-26681-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150212_005310_969120_7059C65E X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.5 (/) Cc: Mark Rutland <mark.rutland@arm.com>, Alexandre Courbot <gnurou@gmail.com>, Russell King <linux@arm.linux.org.uk>, Pawel Moll <pawel.moll@arm.com>, Tomeu Vizoso <tomeu.vizoso@collabora.com>, Stephen Warren <swarren@wwwdotorg.org>, Andrew Bresticker <abrestic@chromium.org>, Simon Glass <sjg@chromium.org>, Ian Campbell <ijc+devicetree@hellion.org.uk>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Kumar Gala <galak@codeaurora.org>, Dylan Reid <dgreid@chromium.org>, Javier Martinez Canillas <javier.martinez@collabora.co.uk>, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi index 9b3fca8..0b130cb 100644 --- a/arch/arm/boot/dts/tegra124-nyan.dtsi +++ b/arch/arm/boot/dts/tegra124-nyan.dtsi @@ -683,6 +683,12 @@ nvidia,mic-det-gpios = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>; }; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; + priority = <200>; + }; }; #include "cros-ec-keyboard.dtsi"
The Nyan Chromebooks have a GPIO line dedicated to restarting the system. Using this line will make sure that the TPM is restarted as well. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> --- arch/arm/boot/dts/tegra124-nyan.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)