Message ID | 1466346887-26459-1-git-send-email-dev@kresin.me |
---|---|
State | Accepted |
Headers | show
Return-Path: <lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rXc4T2gzjz9s2Q for <incoming@patchwork.ozlabs.org>; Mon, 20 Jun 2016 00:36:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kresin-me.20150623.gappssmtp.com header.i=@kresin-me.20150623.gappssmtp.com header.b=eEytSOaD; dkim-atps=neutral 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 1bEdok-0005Ps-Sm; Sun, 19 Jun 2016 14:35:18 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bEdoh-00048w-Ar for lede-dev@lists.infradead.org; Sun, 19 Jun 2016 14:35:16 +0000 Received: by mail-wm0-x244.google.com with SMTP id r201so8309109wme.0 for <lede-dev@lists.infradead.org>; Sun, 19 Jun 2016 07:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kresin-me.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=QXC+8pePRSSBp49SMpkUtEWiKFEWS7ad9dX18dDRvp0=; b=eEytSOaDZXpjR60kUyVeG/N2rAAwrqePGcQxWKXT4b/YjSUe5t1MutPzzaGHohDS2u UNwg62wZ3QsNt7PIrV9/e/fgGxpaVep0GcGx8tCiPH9KdtNAuKXQduHgZpqbhYrWMjMn ERybQup2PJ4iEQBI+UQaY52m3TcD1smieK8mgnuvU7Ks3CLyOzTJzvZ4nHM7gt1ZAI62 TS2w0WNVSetevadqLOIpaZ+Q1HT/JLUt3o2lISiswySaP0WkMYN9iwUuSntg93qRZksH t2Qf8sllSfFsC/EX4UZKDw5Q5Ey/tndZz/xsQwuqzu5AgvrRaSl3HYgw2HvL8PQEO+wV 2xtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=QXC+8pePRSSBp49SMpkUtEWiKFEWS7ad9dX18dDRvp0=; b=Kpz9+t543dVZADb537NFnBzk6e0S5OGGShG2ApedlG9nM7bd9/EV7/ymuIVejnxDAv ebnsC5MUmLnP1isSGq9BYd30bcYP3EZdJMbXLPC3Py66CZL3d25cJKAA1i6rqyHmLU1c p0CbZ9oS4roHxwiOXbQq18tnIBEk74looDsbJ/US+VRVYZvgTJoavxfYCwk1bBYzM3Ev QqLBaq9z/WN7MiVZ2EqBU12D2gpbVpE4wLUQn79cBNAwfoDCnfTqghyHJvz1VEkLS7uW DI1WMEF3OAbY/GxeouiqJzM7b7zM2nVmta7SigvpJPfCK12tyoXZMt3ku5DoNDu2JAU2 3/Fw== X-Gm-Message-State: ALyK8tJ/u2TWosaZEf8foyeIcADrcyhtz9OQY7nZlzy2UGjkenMqDaSZMhkR1Btx098YKA== X-Received: by 10.195.12.229 with SMTP id et5mr11581669wjd.22.1466346892096; Sun, 19 Jun 2016 07:34:52 -0700 (PDT) Received: from desktop.wvd.kresin.me (p5DDC653E.dip0.t-ipconnect.de. [93.220.101.62]) by smtp.gmail.com with ESMTPSA id q71sm8793523wme.17.2016.06.19.07.34.51 for <lede-dev@lists.infradead.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Jun 2016 07:34:51 -0700 (PDT) From: Mathias Kresin <dev@kresin.me> To: lede-dev@lists.infradead.org Date: Sun, 19 Jun 2016 16:34:47 +0200 Message-Id: <1466346887-26459-1-git-send-email-dev@kresin.me> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160619_073515_533552_82E5FC6E X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:244 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH] lantiq: BTHOMEHUBV5A - use the power event code for the restart button X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <lede-dev.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/lede-dev/> List-Post: <mailto:lede-dev@lists.infradead.org> List-Help: <mailto:lede-dev-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Lede-dev" <lede-dev-bounces@lists.infradead.org> Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts index e62a18d..2013b31 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts @@ -158,7 +158,7 @@ restart { label = "restart"; gpios = <&gpio 39 1>; - linux,code = <0x198>; + linux,code = <0x74>; }; };
The restart event code is used in LEDE to trigger a factory reset on long press as well. By using the power event code, the restart functionality can be used without being prone to trigger a factory reset. Signed-off-by: Mathias Kresin <dev@kresin.me> --- target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)