Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp586889pxh; Wed, 10 Nov 2021 06:28:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzV7tcmdra2+VijbpZEPZhNxtWvB5FYzhKFe954dIGYkT0jD704mly/6rlsc/btVjA3uo/y X-Received: by 2002:aa7:8d0c:0:b0:47b:a99b:885b with SMTP id j12-20020aa78d0c000000b0047ba99b885bmr210847pfe.73.1636554488409; Wed, 10 Nov 2021 06:28:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636554488; cv=none; d=google.com; s=arc-20160816; b=m0am2yEjqOlFQGnULELIvWc91A1jmHTkL6uOKQCzx/TkGAuMk0TxxV7HKttIAViavm IhvhQqSG7VbwkEod2FWyD63gxfYKJlAltelXEfA8Zgkd3D/Vzx5oVNWOkEXWh4oVcQsN /H/7e/A8LTeKqQDv75kw/WIuk2ya2wInBCUEbeQ4DuFEHs0+yApTJZiGMq+VpmGLU0R7 stou+r9x/EDmIXv5MxEeg0qi/2jgP2IL+wjIPxvsAysynW+iAKde5DIs1bmZH3cM5xsk o4DKDZulRp9/HnboZho2bG8zFt4U2KzhiGuMH9kYn80CD4YMZrtjht6BOq7mPPYheR2v phog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Wk14CvCRD5wDRSFmMDX8Rujf1hpEFY6t5q8q0VPuXQw=; b=H5ECPcDfLiOy9iug1y+jsnBo4T1l34WVdmt4mUoiTTRo/lEMXXsodTZTASNTjQBdA7 nxAsy70wBBU+YgGavgqFFM/U+f6NR2NAaZQcszSw0oZF/XO1uuh26fHMkgs0qmw1CGn0 BMKeIoKRPC/7huzrCAx2OnRBtxR3/vGBizWXsw9gEC6gdMpS3or4xFLhNLLkwOA0cObd JQ/d4dx7W8ordwwCXVciLLZX9z/nTMAW6PZp5OlTNikvXBM8NCuK0WP/PfHonw6jzq3L Sa5c/GAbHrhim3EvtCq353XPX9ZK40TDVSje823ZjqjfT8lH8B0KN3yQJBqsC7RlO9Vf 2Cow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DVuG7DCV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 29si6006849pjj.38.2021.11.10.06.27.47; Wed, 10 Nov 2021 06:28:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DVuG7DCV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231969AbhKJNDF (ORCPT + 99 others); Wed, 10 Nov 2021 08:03:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231961AbhKJNDE (ORCPT ); Wed, 10 Nov 2021 08:03:04 -0500 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47340C061764; Wed, 10 Nov 2021 05:00:17 -0800 (PST) Received: by mail-io1-xd31.google.com with SMTP id w22so2688709ioa.1; Wed, 10 Nov 2021 05:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Wk14CvCRD5wDRSFmMDX8Rujf1hpEFY6t5q8q0VPuXQw=; b=DVuG7DCVMgbdWe8NxKDgqV3bXSD3QekZRG5JCfEoefgBcFcGci2oH8tgKE7jpgETiY gltv3sKX9jZ4X6paGeysgRSeJt/wGEuafMpWOxAvZqH9J/szcJh350JZsS5D542DuU/r z8Nv49mPMzB3Z76/LJLWfyeBD6nzzPoCsZH5AkgS8WfTWKgejiOnUSIZxww/GtThiqZU B63il2ArOCVIYnln7zE7J8qn4gSKgYAaKpZw80SX5EnLSklJ/2vK0qTmEFbbWJahTQ21 LOJDDNPhEVfZTJ/E8ccZCpHCkpCbGaXa91b6ndP7os0SigPEurQ9O11JjumkupbTbtuq D9BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Wk14CvCRD5wDRSFmMDX8Rujf1hpEFY6t5q8q0VPuXQw=; b=gFJIhOH8RKKVbPpYQm5jEw3IKkmqRIWuG8/Sv9Kt3Zz9h/pEQkx/ih/B2k0cvKQXC9 88lls56Q4CQicHwNT0YEnkV1NvnIq6fW+83GRsS+6jFDd7ar6bj4EgipJo8hztUw75vF l7xUidLsDJbbhe8bTLhUDkMGtby+hpkBJ8brq+Ds3peRkIp/MwfEceBPPpmZctVtm8qz RQPS7PNKyNxII6AROSNlasMYdtg3weqdtmNas+RoRpkPLLeTTWFxVDMqqFOTsX6UU91Y 0v3BjhDzrUfMGDbvPa+dulL47sBPzurx3zFqrxIxDBC1HJ7HSMh2WyzJssTxLM0nfriR +MKw== X-Gm-Message-State: AOAM531hhnmAqwvzQMchrdhVFLKqfV5oL1JCY2xVfK0eSmY+eCiGt0uW PuomWX24EGU6GNbrvsgrWkjs2xTJsET64Tfv/sU= X-Received: by 2002:a05:6638:d16:: with SMTP id q22mr12179378jaj.35.1636549216748; Wed, 10 Nov 2021 05:00:16 -0800 (PST) MIME-Version: 1.0 References: <20211103114830.62711-1-alistair@alistair23.me> <20211103114830.62711-3-alistair@alistair23.me> <20211105152154.20f5cbd1@aktux> In-Reply-To: <20211105152154.20f5cbd1@aktux> From: Alistair Francis Date: Wed, 10 Nov 2021 22:59:50 +1000 Message-ID: Subject: Re: [PATCH v2 2/4] Documentation: DT: bindings: input: Add documentation for cyttsp5 To: Andreas Kemnade Cc: Alistair Francis , linux-arm-kernel , devicetree , linux-input , Linux Kernel Mailing List , Mylene Josserand , Linus Walleij , Henrik Rydberg , Dmitry Torokhov , Rob Herring Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 6, 2021 at 12:22 AM Andreas Kemnade wrote: > > Hi, > > I finally found time to test this. > > On Wed, 3 Nov 2021 21:48:28 +1000 > Alistair Francis wrote: > > [...] > > + i2c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + touchscreen@24 { > > + compatible = "cypress,tt2100"; > > + reg = <0x24>; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&tp_reset_ds203>; > > + interrupt-parent = <&pio>; > > + interrupts = <1 5 IRQ_TYPE_LEVEL_LOW>; > hmm, in the code is IRQ_TRIGGER_FALLING but here is LEVEL_LOW, hmm what > it is really? The reMarkable uses IRQ_TYPE_EDGE_FALLING, but this example isn't based on that. It' based on the original documentation from the patch series. > > > + reset-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; > > hmm, if the reset gpio at the chip is active low (I guess it is) that > would indicate an inverter between SoC and gpio. So a nonstandard setup > as an example, probably not a good idea. It seems to be common for the cypress,tt2100, as the original documentation and the rM2 both do this. Does the Kobo not do this? Alistair > > Regards, > Andreas