Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1903892ybv; Sun, 23 Feb 2020 18:04:13 -0800 (PST) X-Google-Smtp-Source: APXvYqw6aSVk8LItT7Bvek9zLOKAIaWRAWk0JJJNGI2nJzHHdyvS8yymgSlPbzptKshx+r4kKo4t X-Received: by 2002:a05:6808:b13:: with SMTP id s19mr10476090oij.119.1582509853194; Sun, 23 Feb 2020 18:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582509853; cv=none; d=google.com; s=arc-20160816; b=cdNDOCqgGBqGibuNhZHJ53pAcjCemGmU+JL0ZJiviYI+W0id7AtlnQMNoiJlZAeLfY fsEXInGiVcCvHAxQI+iSYxas2AercpP/Ru2DuBYOKgVLral77yi8oQ5fJbu5nV7ULFnm PkSACeM0vtqgjWKr8nXpoklV4OPRnb8D0o+3OD4D5sQEAw8am0jgxuZujHhvUgs5xbM3 1B5lWAPucRHMtkyFZdmi1oBU38QgdMT6yP9s4jOsK+AbyDdRuDwuJuXh2Jz+5twX6enY R0F/u9nAgZKmsjumQhGqckbNmvO7/HFf/CyxG1h3sYEBSKd8SJR8fpbPtnMVGBRQyinu Olcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BsUujIY18wRSkNKhzBXvd1G1A8puBS95bY80qdXL8Pk=; b=dQWIugjhX24ArIL9h+/WJnOlqyPYxJbsMWi+e591HZpA28JQ3YVYRXZHevUF6FMmSM HUFph/8lkZXnOZEMr/nOVXf8Al2o3WuO411TNVauMzKxALXZGo0mJI30DGBwWZPbU4WM cGgmrjsIri4yjlO5O3lWHOzxiIA/j2gT/VK434Adqm7YeluEXotQRpFlx2rVIaVk9Eo1 53Xequ1h7eLvPnYf7JOJ6B5N+4w+NsSSyekn1AflNOCblqkwvDC2XxCnudPCQzbMTM59 l8IZhGRp+uadGty0CoP592/i+3PQo0r5ae+EzUwT8cU2qZ4zq88WsCzB3nnYXr/AghVu Ct1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tsznOYtC; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x23si5454580otq.41.2020.02.23.18.04.01; Sun, 23 Feb 2020 18:04:13 -0800 (PST) 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=@kernel.org header.s=default header.b=tsznOYtC; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727187AbgBXCC6 (ORCPT + 99 others); Sun, 23 Feb 2020 21:02:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:54018 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbgBXCC6 (ORCPT ); Sun, 23 Feb 2020 21:02:58 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1C8D82051A; Mon, 24 Feb 2020 02:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582509777; bh=cHdXWjpBFusazvMN9LdKno9+AYhTzTc6BdgJplICU2g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tsznOYtCHh2XnqXgIpKmtke23itFEAACrRE3GJiz6WIYoGItnDbBIu3DMTSQtZ9R4 kBmDpblUpygrz979M3SO6qGIspeWwJF31KLot86qxH5FCUJlWSgubL70CosOXXfP/V HKSE7N22nGHlH8PYegB3WYfXDm8KymJHCI5bOJoA= Date: Mon, 24 Feb 2020 10:02:52 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, Anson.Huang@nxp.com, devicetree@vger.kernel.org, kernel@puri.sm, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Angus Ainslie (Purism)" Subject: Re: [PATCH v2 4/9] arm64: dts: librem5-devkit: allow modem to wake the system from suspend Message-ID: <20200224020251.GF27688@dragon> References: <20200218084942.4884-1-martin.kepplinger@puri.sm> <20200218084942.4884-5-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200218084942.4884-5-martin.kepplinger@puri.sm> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 18, 2020 at 09:49:37AM +0100, Martin Kepplinger wrote: > From: "Angus Ainslie (Purism)" > > Connect the WoWWAN signal to a gpio key to wake up the system from suspend. > > Signed-off-by: Angus Ainslie (Purism) > Signed-off-by: Martin Kepplinger > --- > .../arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > index ec12477d925d..9c81b07f43f3 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > @@ -55,6 +55,15 @@ > wakeup-source; > linux,code = ; > }; > + > + wwan_wake { We prefer to use hyphen over underscore in node name. Shawn > + label = "WWAN_WAKE"; > + gpios = <&gpio3 8 GPIO_ACTIVE_LOW>; > + interrupt-parent = <&gpio3>; > + interrupts = <8 GPIO_ACTIVE_LOW>; > + wakeup-source; > + linux,code = ; > + }; > }; > > leds { > @@ -574,6 +583,7 @@ > MX8MQ_IOMUXC_SAI2_RXFS_GPIO4_IO21 0x16 > MX8MQ_IOMUXC_SAI2_RXC_GPIO4_IO22 0x16 > MX8MQ_IOMUXC_SAI5_RXC_GPIO3_IO20 0x180 /* HP_DET */ > + MX8MQ_IOMUXC_NAND_DATA02_GPIO3_IO8 0x80 /* nWoWWAN */ > >; > }; > > -- > 2.20.1 >