From patchwork Wed Jan 15 05:12:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 11333359 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BAAEF139A for ; Wed, 15 Jan 2020 05:12:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98A5E222C3 for ; Wed, 15 Jan 2020 05:12:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=sholland.org header.i=@sholland.org header.b="JtHRU5AI"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="r8QJ1Vci" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726362AbgAOFM4 (ORCPT ); Wed, 15 Jan 2020 00:12:56 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38517 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbgAOFM4 (ORCPT ); Wed, 15 Jan 2020 00:12:56 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 70BE222063; Wed, 15 Jan 2020 00:12:55 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 15 Jan 2020 00:12:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=cCfNpcLfulKvvKIqmX9Urmpb5z 9P3CxW2vuUSkqMzMc=; b=JtHRU5AI3xckgQuUm+7i6AD9HKNy2BOoCNUDLrFTtC 2ztp7GvUUNdJMG3kl8Lk8s7wO3xcYd3keSN/0JOzvDdX9iDasKYNjm7gVG6lVaLu Idpep/hOQ3pr00fFGY4VXR/dTbX+lFcY2h+yVk+zRQhb5s7Ni9OgZmJgW+oumG0+ dDq3IwWByP5Vzi8Jay/knfrFTx+W1CFz5M+WJHJ/vCkmlLG8mtBnKhPE4KCyMQPO cDDJfOmhpnmEJO9rDkMLqZnlWPnZjeT1WgwASh7FklgvcpZfBKUS6hSyWU1Dtke1 //p/eLte8677ZHTSWZaGvOfwnToQN07gLCzMdzOK5Ebg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=cCfNpcLfulKvvKIqm X9Urmpb5z9P3CxW2vuUSkqMzMc=; b=r8QJ1Vcics+fQayn22PFOtreHCDzn32Da ubBpgJNu3o42EJ9NSwYRsZTY8X+6+YN4hB3/9iZONch8hi1d5aVhDwrGnhtFH7ZO ZbL+tLPyQ8LKi2TICo+oT+nwble3q4NSF757+9jONIKEw+wG5UdbvOOv1Tvl5i2L keQWF3sRmTtYem3JW41BCJxUYAjRFq2ZU7GyUHYBzrRCYvPvqQkTIxtNSqcQnXLE xUb5C5edwZC8lBNhaY0F2XEmJf0eAY6Lhpfqrjk5eIKxIVi7GZ5FlcshsrSJSm+q 1dvMzjQvmzUTPdzlVHvCZetQwPI4Bunnlos2bHJ0JTPvLSj0W8lDA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrtddvgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghlucfj ohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecukfhppeejtd drudefhedrudegkedrudehudenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghl sehshhholhhlrghnugdrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id D79018005C; Wed, 15 Jan 2020 00:12:53 -0500 (EST) From: Samuel Holland To: Dmitry Torokhov , Hans de Goede , Chen-Yu Tsai Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Samuel Holland Subject: [PATCH v2 0/2] Input: axp20x-pek wakeup enablement Date: Tue, 14 Jan 2020 23:12:51 -0600 Message-Id: <20200115051253.32603-1-samuel@sholland.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This series allows enabling or disabling wakeup via the power button on X-Powers PMICs, for all AXP2xx/AXP8xx variants. This v2 of the patch series keeps the existing behavior of the AXP288 variant used on x86 platforms. Changes since v1: - Drop patch 1 - Use __maybe_unused instead of "#ifdef CONFIG_PM_SLEEP" [patch 2] - Add Reviewed-by [patch 3] Samuel Holland (2): Input: axp20x-pek - Respect userspace wakeup configuration Input: axp20x-pek - Enable wakeup for all AXP variants drivers/input/misc/axp20x-pek.c | 38 +++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-)