Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6222036rwl; Mon, 9 Jan 2023 05:53:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXvb+eJR8IwTKlMMeZ+/KtTZu5sMz0/FKuVCNWLTMg+wXghLnoLMwfX4o4FaOUkDxf6cikNO X-Received: by 2002:a05:6a20:d496:b0:a7:a3cf:ddce with SMTP id im22-20020a056a20d49600b000a7a3cfddcemr73664216pzb.21.1673272414636; Mon, 09 Jan 2023 05:53:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673272414; cv=none; d=google.com; s=arc-20160816; b=b9g5mU6hO9/d9MFrvdRr37BtdtXuRHGLe8V4uxY2o4DJR15/wm2GFavJW1ie1uM31T l06du0riduPSdpfld9TVi5sW0bX25hsAJXAU4JYkbYvJctih0XaalYEe0qqPPW+AYtWQ NCp3cR5m8IR0zxWXdDlQUPYRPWpywQBcnuOKlKPquJBVBbGZLKkgP8UGwocdTUxHN7bd MU9GIlbEvsM7KxWs0ZbmkvD2VRASHOY5osTGOgek8PcZ9DT8Eobaf6EJTEcRjgZRfOg3 WGbUK6I3Fpam4XMqqxf24oXf0Ep1D2Qn1xsByJrZ80s1bCvtXECdkZKOxkf8oM93nvOa +P5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=B3jBRjO9IAbKcHwhVWuIPgLtBqos7T41n/G8h6mSlZo=; b=KeR5Tx5rBqRk1XvNNfvv6N3Teqdg6g9kvKZcKUMAHYkcQ7fps8U739u8Zrig9Uo8AJ 46bjBIRGQAUpFI76R3wVDquviOItQWh8prPQcCGstds/5b6AVO3wz6Yv6H/g9+oyb9+X tVVVfY/NKqe1jVpMSt2fInCQKagas33aNb7h5VMqdaa72/3HW60QvmXxzLcGYH0IHZ7P yyzCoczDykE3pyhD82O7wjqcqQIW2rEem7rzn5aE7mLN3Qrwkve6/OwEjtK0nnsN7caJ tmoIpmTsr5wa/rPvnaSwJ5m1BUpSsTnfrH1G/B5T2+TMXhm0m0Ng3l/CDauLH2PjG9wZ M5Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x23-20020a634a17000000b0046fec9f9ed8si8858992pga.704.2023.01.09.05.53.28; Mon, 09 Jan 2023 05:53:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237157AbjAINVE (ORCPT + 52 others); Mon, 9 Jan 2023 08:21:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237130AbjAINUp (ORCPT ); Mon, 9 Jan 2023 08:20:45 -0500 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49ABE1581D; Mon, 9 Jan 2023 05:20:41 -0800 (PST) Received: from toolbox.toradex.int ([31.10.206.125]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LdpDh-1oXsDy2kzr-00j5YO; Mon, 09 Jan 2023 14:20:18 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, Marcel Ziswiler , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v1 2/4] ARM: dts: colibri-imx6ull: improve wake-up with gpio key Date: Mon, 9 Jan 2023 14:19:59 +0100 Message-Id: <20230109132001.43489-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230109132001.43489-1-marcel@ziswiler.com> References: <20230109132001.43489-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:iwk28kDmTbG30NxDFZ0mJdTN6LCOY4Ooop7lbpEK6KbsV9r0HnS U9STLh8mM1LMsnhkbhrbZrDVrgmFJhpxxGPaHm4IxX+MBPd+G3/eHZhpUTLtCkbSzl9D8t+ EY2pRhlLTbX9m8/RwyhDuWjkgK96+kNdd4eV8QL5Y7oWAy/up063N3OqY8ETt71TUm4f6cl 0s9mxjPNquGf5247YMd3Q== UI-OutboundReport: notjunk:1;M01:P0:NO27kr/GBQs=;elwqcXqF7YvXGCse2NsLoUSEmVL v7wOotcM+ZolSiC5C+5ljq8LT4nrWCRCoYRcuLbBtvbB3jpP1DWe0wbNuj8n357h+NvDktepv 3sIFa4pZ5aD8XxEMdgZpjqJMRI9chi1DwBy/nnPV+kjx+lV/nfqd28yBHOmpspZxFjptG1o0n WTGCHJTt1+UlOVockefrRYn0MmUYlZkimUu5lc2Dm1Lr4olWo60zj7BX/o2/g8ptfxYwj2so0 a/lf5xGtgGHa4ovGHVobeNNMWRKYP7TOmCxjYgfxfC03uZSyFlTBbkYoENG+dR79XAnd4S8IF LrOEuvf/VXIv2f/wayj3awvTySuwDu7LllPk+X4l/KN2avCGb4hz6W/9kaj/990ljlCG3fZVh zq6jyxyPKDiB4cCnpOoloxUAuQDgFaOJo3nHa2LA8kV6HuLpMZxwkAdGuo3EBq3JD5AFGxyYv 1m8OQ+DWsbJlpcMxlda3mNNwmDs/H/1esyTw7h0zyk0Bcf+XW6qnzDWmKQVeDCEByLjP87hxh TnX9U/MbnwAN7lbNh4ymmiXtGSkQvv6OxJMYjuB8FpgrkDjX2JgnF8408bQqgiEQyIQH74Ad5 TqNpAQBGT2xGFQVdxV0uIsZbG6Az2HGPKJVIQ9Y+H6XysB8RB7ZKM6BtXUdEAXZYlgXCATaJ+ ekK90K/XT88jmes9QtpUTPdFuJnm+lLE9kg5e9GCqA== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Ziswiler The pin GPIO5_IO01 externally pulls down, it is required to sequentially connect this pin (signal WAKE_MICO#) to +3v3 and then disconnect it to trigger a wakeup interrupt. Adding the flag GPIO_PULL_DOWN allows the system to be woken up just connecting the pin GPIO5_IO01 to +3v3. Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/imx6ull-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 336ab2e0534c..368d11ae7a8a 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -53,7 +53,7 @@ gpio-keys { wakeup { debounce-interval = <10>; - gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */ + gpios = <&gpio5 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* SODIMM 45 */ label = "Wake-Up"; linux,code = ; wakeup-source; -- 2.35.1