From patchwork Thu Dec 16 23:30:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 524789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4B2EC433EF for ; Thu, 16 Dec 2021 23:37:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229784AbhLPXhZ (ORCPT ); Thu, 16 Dec 2021 18:37:25 -0500 Received: from finn.gateworks.com ([108.161.129.64]:36216 "EHLO finn.localdomain" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229755AbhLPXhZ (ORCPT ); Thu, 16 Dec 2021 18:37:25 -0500 Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1my0Cy-0093am-Mq; Thu, 16 Dec 2021 23:30:44 +0000 From: Tim Harvey To: linux-input@vger.kernel.org, Rob Herring , Dmitry Torokhov Cc: Tim Harvey , Nicolas Saenz Julienne Subject: [RFC PATCH 1/4] dt-bindings: input: touchscreen: edt-ft5x06: add poll-interval Date: Thu, 16 Dec 2021 15:30:38 -0800 Message-Id: <20211216233041.1220-2-tharvey@gateworks.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211216233041.1220-1-tharvey@gateworks.com> References: <20211216233041.1220-1-tharvey@gateworks.com> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Some devices might not provide an interrupt line for the touchscreen. In that case the driver defaults to using a polled interface. Cc: Nicolas Saenz Julienne Signed-off-by: Tim Harvey --- .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml index 2e8da7470513..a0d4dabf03b8 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml @@ -47,6 +47,11 @@ properties: interrupts: maxItems: 1 + poll-interval: + description: Poll interval time in milliseconds, only relevant if no + interrupt was provided. + $ref: /schemas/types.yaml#/definitions/uint32 + reset-gpios: maxItems: 1 @@ -99,7 +104,6 @@ additionalProperties: false required: - compatible - reg - - interrupts examples: - |