From patchwork Tue Sep 17 15:58:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 11149037 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 1218416B1 for ; Tue, 17 Sep 2019 15:58:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E4CB4214AF for ; Tue, 17 Sep 2019 15:58:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727368AbfIQP6X (ORCPT ); Tue, 17 Sep 2019 11:58:23 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:58057 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727212AbfIQP6W (ORCPT ); Tue, 17 Sep 2019 11:58:22 -0400 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iAFro-0005CI-Li; Tue, 17 Sep 2019 17:58:12 +0200 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iAFrn-0007Mi-K3; Tue, 17 Sep 2019 17:58:11 +0200 From: Marco Felsch To: robh+dt@kernel.org, andriy.shevchenko@linux.intel.com, dmitry.torokhov@gmail.com, bparrot@ti.com, andy.shevchenko@gmail.com, simon.budig@kernelconcepts.de, hdegoede@redhat.com, fcooper@ti.com Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 2/6] dt-bindings: Input: edt-ft5x06 - add disable wakeup-source documentation Date: Tue, 17 Sep 2019 17:58:04 +0200 Message-Id: <20190917155808.27818-3-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190917155808.27818-1-m.felsch@pengutronix.de> References: <20190917155808.27818-1-m.felsch@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-input@vger.kernel.org Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org The default driver behaviour is to enable the wakeup-source everytime. There are hardware designs which have a dedicated gpio to act as wakeup device. So it must be allowed to disable the wakeup-source capability. This patch adds the binding documentation to disable the wakeup-source capability. Signed-off-by: Marco Felsch Acked-by: Alexandre Belloni Acked-by: Shawn Guo --- .../devicetree/bindings/input/touchscreen/edt-ft5x06.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt index 870b8c5cce9b..4d6524fe3cf4 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt @@ -35,6 +35,10 @@ Optional properties: - pinctrl-0: a phandle pointing to the pin settings for the control gpios + - edt,disable-wakeup-source: If left the device will act as wakeup-source + (for legacy compatibility). Add the property + so the device won't act as wakeup-source. + - threshold: allows setting the "click"-threshold in the range from 0 to 80.