Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753858AbcDVI0s (ORCPT ); Fri, 22 Apr 2016 04:26:48 -0400 Received: from lb2-smtp-cloud3.xs4all.net ([194.109.24.26]:52363 "EHLO lb2-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbcDVI0p (ORCPT ); Fri, 22 Apr 2016 04:26:45 -0400 Subject: Re: [PATCH 0/8] Input: atmel_mxt_ts - output raw touch diagnostic data via V4L To: Nick Dyer , Dmitry Torokhov References: <1461231101-1237-1-git-send-email-nick.dyer@itdev.co.uk> Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Benjamin Tissoires , Benson Leung , Alan Bowens , Javier Martinez Canillas , Chris Healy , Henrik Rydberg , Andrew Duggan , James Chen , Dudley Du , Andrew de los Reyes , sheckylin@chromium.org, Peter Hutterer , Florian Echtler From: Hans Verkuil Message-ID: <5719E03D.2010201@xs4all.nl> Date: Fri, 22 Apr 2016 10:26:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <1461231101-1237-1-git-send-email-nick.dyer@itdev.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1195 Lines: 33 Hi Nick, On 04/21/2016 11:31 AM, Nick Dyer wrote: > This is a series of patches to add diagnostic data support to the Atmel > maXTouch driver. It's a rewrite of the previous implementation which output via > debugfs: it now uses a V4L2 device in a similar way to the sur40 driver. > > There are significant performance advantages to putting this code into the > driver. The algorithm for retrieving the data has been fairly consistent across > a range of chips, with the exception of the mXT1386 series (see patch). > > We have a utility which can read the data and display it in a useful format: > https://github.com/ndyer/heatmap/commits/heatmap-v4l > > These patches are also available from > https://github.com/ndyer/linux/commits/diagnostic-v4l > > Any feedback appreciated. FYI: we're working on a new buffer type for meta data: https://patchwork.linuxtv.org/patch/33938/ https://patchwork.linuxtv.org/patch/33939/ This would be an excellent fit for you. I expect that this new feature would be merged soon (for 4.7 or 4.8 at the latest) since it looks all pretty good to me. So let's wait for this to be merged and then you can migrate to the new buffer type. Regards, Hans