Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2476574pxb; Tue, 13 Apr 2021 02:55:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys8hMPxckCz5TcbMicTq0bgtvHjQmfNGKagBIEBgw34i8aM4rDhL0MRm0ovgY0fCuMv0kb X-Received: by 2002:a17:902:8504:b029:e9:7aac:a092 with SMTP id bj4-20020a1709028504b02900e97aaca092mr29128712plb.12.1618307714163; Tue, 13 Apr 2021 02:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618307714; cv=none; d=google.com; s=arc-20160816; b=VrJUwKgXEdsyLRi/ELI400RTbezKK+cC9M9i7cNcLNTxPbRGuQ2WxpFTwXTwSFW79j 1aNVeSSi8lryci7zhA1RTURgZjb0HulC6yFIe+EbeflYqIl1Q4Onn7cddby5FxizbQdT OzSZJVKVh2FA6rwPlCmLntKy0Mf7VvhEFh1J96/zlZwB3XGyl6XtiyKVF5orU8kvY2UJ ngBo7egsVNv7lJ4f9+QAWxb+v2D1o/oJNnHGUdEqJ5qsspZvJw19KV5GhmcNQp19kzEN dofcFnOtOAXgmQ9WayRVlWiZw9YcaW863kkMixyf2a8xc7K7FDnSZ+3gHKYyEu6RreMI 3n+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=A5ygvHOEmHBSjZx/siZRAlOj4Te0Yt8iWbDF5Awuv4E=; b=WtNZI1vEeXXLVzKSsxGyNv50GDohtR8xXyARRzHAx2JkEwQcPPHQmD4vrL3DjhFVzT 9L5Qp3Sd4Y59E3QExvQfunogsij9Z5mFdh/CJiYlKT5cqIqZ5EQs/G8vCCMUOLHjuBPD L6lViLRmuLmuaePdJlh9I9IQMJK+1zhhTd+cypAUvhbs+ui9OGSptXzXF9a2M+m5gIZw 7CKy22g/rZQKlTO5Uhxa8qIRYK/OsOEKlhBJ0hPW/+BmUgZ8axw+Oko9kW6Rq9U06fyq OAJBCV+11itLWBOPoJpvLBZBg4OQm8eSRXNTR5UOs0IE9Yf9p5umYFwsXK3TkM9L24W7 H5RA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pc3si2667783pjb.33.2021.04.13.02.55.02; Tue, 13 Apr 2021 02:55:14 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245715AbhDMJbh (ORCPT + 99 others); Tue, 13 Apr 2021 05:31:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245688AbhDMJbg (ORCPT ); Tue, 13 Apr 2021 05:31:36 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6F00C06175F for ; Tue, 13 Apr 2021 02:31:16 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWFNy-0007Gv-O1; Tue, 13 Apr 2021 11:31:06 +0200 Received: from ore by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1lWFNx-00027d-Ut; Tue, 13 Apr 2021 11:31:05 +0200 Date: Tue, 13 Apr 2021 11:31:05 +0200 From: Oleksij Rempel To: Jonathan Cameron , Dmitry Torokhov Cc: Rob Herring , Andy Shevchenko , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pengutronix Kernel Team , David Jander , Robin van der Gracht , linux-iio@vger.kernel.org, Lars-Peter Clausen , Peter Meerwald-Stadler Subject: [Ping for Dmitry] Re: [PATCH v5 3/3] iio: adc: add ADC driver for the TI TSC2046 controller Message-ID: <20210413093105.lbqe46srqvv7tj6s@pengutronix.de> References: <20210329073131.1759-1-o.rempel@pengutronix.de> <20210329073131.1759-4-o.rempel@pengutronix.de> <20210329115826.03bc5745@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210329115826.03bc5745@jic23-huawei> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 11:26:06 up 131 days, 23:32, 46 users, load average: 0.00, 0.02, 0.00 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, probably this mail passed under your radar. Can you please add your statement here. On Mon, Mar 29, 2021 at 11:58:26AM +0100, Jonathan Cameron wrote: > On Mon, 29 Mar 2021 09:31:31 +0200 > Oleksij Rempel wrote: > > > Basically the TI TSC2046 touchscreen controller is 8 channel ADC optimized for > > the touchscreen use case. By implementing it as an IIO ADC device, we can > > make use of resistive-adc-touch and iio-hwmon drivers. > > > > Polled readings are currently not implemented to keep this patch small, so > > iio-hwmon will not work out of the box for now. > > > > So far, this driver was tested with a custom version of resistive-adc-touch driver, > > since it needs to be extended to make use of Z1 and Z2 channels. The X/Y > > are working without additional changes. > > > > Signed-off-by: Oleksij Rempel > > Reviewed-by: Andy Shevchenko > Hi Oleksij, > > Couple of things in here I missed before, but big question is still whether > Dmitry is happy with what you mention in the cover letter: > > "This driver can replace drivers/input/touchscreen/ads7846.c and has > following advantages over it: > - less code to maintain > - shared code paths (resistive-adc-touch, iio-hwmon, etc) > - can be used as plain IIO ADC to investigate signaling issues or test > real capacity of the plates and attached low-pass filters > (or use the touchscreen as a microphone if you like ;) )" > > So two things that need addressing in here are > iio_dev->name (part number, not hybrid of that an spi device name) > Why oversampling is DT rather than userspace controllable. > For that I'm looking for clear reasoning for the choice. Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |