From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754961Ab2H0XFZ (ORCPT ); Mon, 27 Aug 2012 19:05:25 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:46054 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754938Ab2H0XFX (ORCPT ); Mon, 27 Aug 2012 19:05:23 -0400 MIME-Version: 1.0 In-Reply-To: <1345241877-16200-1-git-send-email-cheiny@synaptics.com> References: <1345241877-16200-1-git-send-email-cheiny@synaptics.com> Date: Mon, 27 Aug 2012 16:05:21 -0700 Message-ID: Subject: Re: [RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver From: Linus Walleij To: Christopher Heiny Cc: Dmitry Torokhov , Jean Delvare , Linux Kernel , Linux Input , Allie Xiong , William Manson , Peichen Chang , Joerie de Gram , Wolfram Sang , Mathieu Poirier , Linus Walleij , Naveen Kumar Gaddipati Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: > This patch implements a driver supporting Synaptics ClearPad and other > touchscreen sensors that use the RMI4 protocol, as defined here: OK I looked over the parts I understood, to my surprise there is a custom GPIO, LED and ADC driver in there, and none of them use the proper kernel subsystems. You may want to expose the bus in or so, and put the drivers for these into e.g. drivers/gpio/gpio-rmi4.c drivers/leds/leds-rmi4.c drivers/iio/adc/rmi4.c Which would be nice. (Kconfig can make sure they're only available when enabling the bus.) As for the input stuff I mainly looked at the stuff I understand... Yours, Linus Walleij