From patchwork Fri Mar 8 01:01:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10844041 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CD2E014DE for ; Fri, 8 Mar 2019 01:02:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACED22E43D for ; Fri, 8 Mar 2019 01:02:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F94A2E47F; Fri, 8 Mar 2019 01:02:04 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 4EB5A2E43D for ; Fri, 8 Mar 2019 01:02:04 +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: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:In-Reply-To: References:List-Owner; bh=1lR12XlChBqTvKNDekMd5kTQD+4XoBmvrXQf3PfXogk=; b=HGZ yFcbBB2ou4sq+13FK9JWpYzBezQ1WKTwahLIOS+Rwp37zLRXCrMgwOjLAhIRaEw1VTg2yQkEtMt0/ xqFcZiPglY6w7/vLcxbTRVL484Qo+nUW+ctQS9s1v/UvCl9qHCYIjELaMLa5Q4D7fybAtdIfxDTu4 voJMgwjI1oKd1h0Z6SQBcz05q1kStnHqxdgcGf2xjL8+wDB9jq29sSr6GElshr6ITUDZhmtLnpkD/ 6snKrsf54GSsi+FvxN9HbnBj1fmd7OoGFYpCy52bIBYDCfWqYbTCrKZJeqTBXaM3UPLLZHFSLJ2XU zkMg/IcdLoueTPkhXZDl46KRhZRV42g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h23tg-0006yb-ME; Fri, 08 Mar 2019 01:02:00 +0000 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h23td-0006xp-FY for linux-arm-kernel@lists.infradead.org; Fri, 08 Mar 2019 01:01:59 +0000 Received: by mail-yw1-xc44.google.com with SMTP id 189so15012698ywi.3 for ; Thu, 07 Mar 2019 17:01:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=roTGUc/iUtoD/bRzohE1XMQPLiQpUuAxtKFRFE3P4sU=; b=rbwFRKdTTXwIKp+ZSdSphtLhRNfPQDyEayw9qlp1GAtpBTScZAd6e99OrcRpmHe86M bwjjyfwZFbkTyXXyRLBG7RQ5FOIzt5nZZMHm2XGFWCjcLuctfCeDGUyY+/uA48t/c4P9 XQeqDd9kpDATf3Rf5fl3XB5KQqAjoDHed/9CL4mx9j+X9/8llywEeHQd7g9gE92H8gqb 0e+x1+yCrUT/b/aWpnGCeHvAcMsK9r+G5dwrnmTQp/1GtWIarUpkAZt+7C42zcmZsz3g FT5z4AQacqzxYJtEq9LRP0EDQkbshiyS5Cb3iJ8D29hegg+XuOZ3YNV9L5gdz/Gi+Y9/ wMBQ== 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; bh=roTGUc/iUtoD/bRzohE1XMQPLiQpUuAxtKFRFE3P4sU=; b=R2ERjKKm2SPKfhqiE2R37nzbqa+bNq4ayKZ+E2yI536W9p4vveFolf+T73lOLK6xzo kkz7ISlFLsywWSrf6QbzaCBsiLWq2DgFF+vQ/ZbQYwcn45WjMg/sNAGOXwuS7b0DNSq2 /2qt3rc8Yg54xM9uMK/w0pfdwZBOpHVq2sZaL35KXNvUeZLJu3XgeAqfJxf/wqBejjVg ffPwbJNni+cBmGDlzoifVM3g121yAY6IIbnScyuHP/1JHh2/PYAuYymUbIicI3klyxXV 5s/j+nwkRyYMglVhMlEz+T8fTkIm9U7DvTBz4tmCSM6gX3zdu0hAw1Yg/4fMB9pOnwaE qJvg== X-Gm-Message-State: APjAAAXAloWzSQ5qBX9tu0UTuPgbg5xm4gCqLTC2phnAfCQGbQ+h8gBA 3O7LgXf3iXRwvF7sLsK4oirea0ywTWhnrQ== X-Google-Smtp-Source: APXvYqyK6SQypWiySbcgzkfJtP3nG2bdYnaBrZYnqmsOSqA+m1YZ2hs8XYRi0afBEfIx7LRaouU2Xw== X-Received: by 2002:a5b:60f:: with SMTP id d15mr13944910ybq.183.1552006915140; Thu, 07 Mar 2019 17:01:55 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id v124sm2237176ywc.49.2019.03.07.17.01.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 17:01:54 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: imx6qdl: Enable fsl,sec-v4.0-pwrkey Date: Thu, 7 Mar 2019 19:01:48 -0600 Message-Id: <20190308010148.9000-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_170157_523513_8EF0A394 X-CRM114-Status: GOOD ( 11.06 ) 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, Adam Ford , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Shawn Guo 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 The imx6q Technical reference manual shows the interrupt is available to wake from sleep using the power button. The driver has been available for quite some time, and other variants of the i.MX6 have it enabled, so this implements it much like the others. Signed-off-by: Adam Ford Reviewed-by: Fabio Estevam diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index fe17a3405edc..6b3e48d2e5ec 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -4,6 +4,7 @@ // Copyright 2011 Linaro Ltd. #include +#include #include / { @@ -833,6 +834,14 @@ status = "disabled"; }; + snvs_pwrkey: snvs-powerkey { + compatible = "fsl,sec-v4.0-pwrkey"; + regmap = <&snvs>; + interrupts = ; + linux,keycode = ; + wakeup-source; + }; + snvs_lpgpr: snvs-lpgpr { compatible = "fsl,imx6q-snvs-lpgpr"; };