From patchwork Tue Apr 30 07:03:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13648366 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 97AB8C4345F for ; Tue, 30 Apr 2024 07:04:23 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Xg1h+7Ai+ev1hC+AZLy1bOkZUARACNXNKdoBi6VxYNM=; b=aMUwTjRcTb4WiP 8wAXUAFpY90pevX5QW35dT4VE44NaT20/roBAHIPSe9Y6C6oq8nqt2tQrE1au2ocTYL1b5j08FGJ2 TnXo1VRwOR7pqi9awomlf1HXjhLcPxyMVvT2D1hVR3lzW3f6kjUSQiPn+05pt95vZOh2ywJnExCaQ Il6L8nm23IRf91yfbAvR0TfVugvfKRmhlYqX9QUqvsvL9VSMSM0heuSXLa9e2lqjkla93OPTNf4FJ g4hTq/ZVLhJjeOKCE6c2T7qsBO7fFgNTPR35ZzBhVHYAOC59quw3T9YKxR3pIH/cJfSgPlwEphlOp f5XLRySnOkU/gOaBIJpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1hX6-00000005N1K-3joV; Tue, 30 Apr 2024 07:04:08 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1hWy-00000005MxI-2Iv7 for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 07:04:01 +0000 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-43969307359so34497561cf.2 for ; Tue, 30 Apr 2024 00:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714460638; x=1715065438; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hWNjW60aZKX5jQpzSVa+3L0ZlYdpkfiGuBdJTkw92uw=; b=c+bY3IWKF1vAfzXkoCa9EUL5H4NhTGJU20xOnqTyaTK1k68scK+WEQ1TIsJqvt/M2z WIa8vfJKEtNGFMJrTWYsrwvhVuwx/d7oWOJVktfNue1az7+/xAxyEAClX0Zii2MAGE9O FzM3/2yxNo/nk76d9ROSN/4dUB/N7no4c7b7BF/X8leTkYPijjb/vWSBnWyWPVjwB51D 8k9Z0CwiFfbLViROzpvVoXBaGb7rUDYpdTh+0mdlu/0LyPg1N5JI0JkQyjYxapfZfE0t 6sp7mlLLntE/SofIpXaXjCzQhW3CfvL8WKHAz0AdnWl1Ia6DePSkAKSVlVFcvh7eklhk u5Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714460638; x=1715065438; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hWNjW60aZKX5jQpzSVa+3L0ZlYdpkfiGuBdJTkw92uw=; b=OHDSixwG6G/G+TknFzXc3GDLJChZDL83+YoNAIrMffLmSJGnjZ0J/UxwMlGkd0ohap uY3JcEgbBDat3TahXoJqmnJl9epQub8kfHddD0yFYmELfeJB2EZBu9b7vRI1ooZpq/cn w98hSaYiEDfGKVoKQ+cjexz5Dz24TqFy+EQKHPftdwivjamE2N2BUTVmlvPioXjrKlWT DAKTmiX+rMWLZKrhaR3OPdMywnhcNF1hTFQ7haWsykhu3AM0axOEd6GOaEgN7nEsAHmw mMCpDeoyZiN8ftbgfEzVT2kq29YvXGjRKLfEk47rTF/NvLBHt4ddtCRhuDs1k3PFfccA 0isA== X-Gm-Message-State: AOJu0YyXBW+pNEMMD42c9+O9XXyyUzp0AxDbZtMyrmSREcoo4MoC4ax7 HjYCtm2gSe8l05H91tzSV96Fra12nYnSWctEE8k3KgEmidRZ4kgLFiLmPi0UIyA= X-Google-Smtp-Source: AGHT+IEU/3GWwmwnmPs3D59TLtthT2pwdifoVroVuPln6HkSH63EZK0OfBAJKGQNGC3Wl+aDomxINg== X-Received: by 2002:a05:622a:2c5:b0:43a:e716:ac3a with SMTP id a5-20020a05622a02c500b0043ae716ac3amr1631514qtx.63.1714460637882; Tue, 30 Apr 2024 00:03:57 -0700 (PDT) Received: from [192.168.1.140] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id z11-20020a05622a124b00b00437b4048972sm10610674qtx.18.2024.04.30.00.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 00:03:57 -0700 (PDT) From: Linus Walleij Date: Tue, 30 Apr 2024 09:03:48 +0200 Subject: [PATCH 2/3] dt-bindings: ads7846: Add hsync-gpios MIME-Version: 1.0 Message-Id: <20240430-gpio-leds-miscarm-v1-2-9c94d7711f6c@linaro.org> References: <20240430-gpio-leds-miscarm-v1-0-9c94d7711f6c@linaro.org> In-Reply-To: <20240430-gpio-leds-miscarm-v1-0-9c94d7711f6c@linaro.org> To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org, Linus Walleij X-Mailer: b4 0.13.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_000400_697291_6750B63D X-CRM114-Status: GOOD ( 12.43 ) 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 TI ADS7846 emits a horizontal sync signal that is usually connected to a GPIO for polling. Add a binding for this. Signed-off-by: Linus Walleij Acked-by: Conor Dooley --- Documentation/devicetree/bindings/input/touchscreen/ads7846.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/ads7846.txt b/Documentation/devicetree/bindings/input/touchscreen/ads7846.txt index 81f6bda97d3c..399c87782935 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/ads7846.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/ads7846.txt @@ -57,6 +57,7 @@ Optional properties: pendown-gpio (u32). pendown-gpio GPIO handle describing the pin the !PENIRQ line is connected to. + ti,hsync-gpios GPIO line to poll for hsync wakeup-source use any event on touchscreen as wakeup event. (Legacy property support: "linux,wakeup") touchscreen-size-x General touchscreen binding, see [1].