From patchwork Tue Sep 20 04:26:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12981345 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 959BFC54EE9 for ; Tue, 20 Sep 2022 04:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GoJVPNkmks+5OT4O27SioMtzWrAdy7HEiwcZwsQk2lg=; b=xUpFMEYS6AA/nP BRPRy5WZc4tf9XJ8TIuSNeY3NafZwmacrqI3C8cYH/O3fv3PMf2jVWW2mAEm+ZbPk2UlzMlZ/N+Nk pPr4eyYhnepYMz50rt62YIrA/LMO+AeRjZMURz/CnahOc0ksTsIJb7/nORRnuSGdDNleuqZYSZF1u kzaiRJeIePhMF7wLmzjzPuar1f6HjvKuMMMtskt0XwTXwiAjg8RqkPjQy6HM+2fGxTZOz/J4ghabx 0QE6Szp6654EK1QjkCPz3bZnM62r3CBfTUt+ON86tl2JHm44QCCivNKYDlKUIC4Ge2Xu5+n8YZsVB G7wODtys7kHZjaz60ULQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaUq4-000NDN-II; Tue, 20 Sep 2022 04:26:28 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaUps-000N7E-TZ for linux-arm-kernel@lists.infradead.org; Tue, 20 Sep 2022 04:26:18 +0000 Received: by mail-pg1-x52b.google.com with SMTP id h188so1318261pgc.12 for ; Mon, 19 Sep 2022 21:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=kNFWWy7bwpQVYleHcT5hR/K7/r+CDpNqO6pCTqZ+Bqk=; b=iEoOYDQuDeKqlyz9GzDA5FBF1n+Te1LRLAVTNZY+LC9cDRaDrwdI07j386rCcjd/+b jWSruN7EDHX7ArOufpN/hDIWzVfTZfN7YgrBRuGcWQRg6lH7e4sbajvVJ9oXiNQeCaTe 76+dqf22D4yzJl3PPTKcG948hM6pO+PlHjvyW1vtG4Sf/nbJjMVxVWNCn+HTUe/cLsui 8Q4bs1P5Jh8MAmvTVnp2O1IF6BBq/6nJcVdYZob/VlrrTIXE574cAKRnKWGGVpINxWHM QY90cN6dlVwwMtoWODH+RcX8nJPUGlI0HUXd3nEsZwXziRBq/UEfUkb12AkCK+HSvolf RFkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=kNFWWy7bwpQVYleHcT5hR/K7/r+CDpNqO6pCTqZ+Bqk=; b=qysNv0THFD7Z/46rNE63yxVdtNMs30lzNn9+yBTwFPFhLfRTx17/CjAxpARYeFVecp almUrmZcmrvwnM/Hk2e8XezMJm7sF7XPnQklR6u1jaY0rOE2TYawV0l8gGuzfw4sb3/7 t7/yhRSgxthVx50OWfxw7ae10kQDsVJ9ff74n7dO1sE+k++ddN9c41ytVIIk0FVxjpI1 jyuC9DWw32QI8QZQ86T3WtFgFJmWhGaTgLOb98oOxEkgKs1zpGCVXIYLraKuKwIu9gfI JzCgG0l1pOnoxPmXIlzLloUcZF5phCWwY0p2fVaBx7IgjrY0OSqk2osGypQFC4m5TctT 2SDA== X-Gm-Message-State: ACrzQf22VuOFV9aASx6ixlITl2ynK721JNpsntRb92cVSFBHkQDQ/mwF BBvn28K145F5aOm0B0z8ABE= X-Google-Smtp-Source: AMsMyM6kjzieQk2rKnAzOxto0IPCpm9CxxoKAfWuP0jfdKwCKYLBCjC1iEbrRHSMs6hoOtRm5gZHew== X-Received: by 2002:aa7:952f:0:b0:540:e8ee:a077 with SMTP id c15-20020aa7952f000000b00540e8eea077mr22001999pfp.34.1663647973928; Mon, 19 Sep 2022 21:26:13 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:b095:5d5d:4c28:8088]) by smtp.gmail.com with ESMTPSA id t15-20020a17090a024f00b001fab208523esm337518pje.3.2022.09.19.21.26.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 21:26:13 -0700 (PDT) From: Dmitry Torokhov To: Shawn Guo , Sascha Hauer , linux-input@vger.kernel.org Cc: Krzysztof Kozlowski , Fabio Estevam , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] dt-binding: input: egalax-ts: fix GPIO and IRQ in example Date: Mon, 19 Sep 2022 21:26:06 -0700 Message-Id: <20220920042608.1865560-2-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.37.3.968.ga6b4b080e4-goog In-Reply-To: <20220920042608.1865560-1-dmitry.torokhov@gmail.com> References: <20220920042608.1865560-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220919_212616_970172_3F04EF53 X-CRM114-Status: GOOD ( 12.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The driver is using level triggered interrupt (low) which is backed by and active low GPIO that can be used to wake the controller by driving it low. Let's annotate it properly in the example. Signed-off-by: Dmitry Torokhov Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/input/touchscreen/egalax-ts.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt index 92fb2620f5e2..ebbe93810574 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt @@ -13,6 +13,6 @@ Example: compatible = "eeti,egalax_ts"; reg = <0x04>; interrupt-parent = <&gpio1>; - interrupts = <9 2>; - wakeup-gpios = <&gpio1 9 0>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; };