Re: [RFC PATCH 2/17] input: RMI4 core bus and sensor drivers.

2012-09-25 Thread Christopher Heiny
Sorry about the delay in following up on this one - we're going over the feedback, and realized we'd missed this comment. On 08/23/2012 01:55 AM, Linus Walleij wrote: +/* Create templates for given types */ +#define simple_show_union_struct_unsigned(regtype, propname)\

[RFC PATCH 00/06] input: Synaptics RMI4 Touchscreen Driver

2012-10-05 Thread Christopher Heiny
and documentation 02 - core sensor and bus implementation 03 - I2C physical layer driver 04 - Kconfigs and Makefiles 05..06 - drivers for individual RMI functions Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off

[RFC PATCH 03/06] input/rmi4: I2C physical interface

2012-10-05 Thread Christopher Heiny
features has been moved from compile-time to runtime switches available via debugfs. The core I2C functionality was previously ACKed by Jean Delvare. I don't believe that portion of the code has changed much since then, but we'd appreciate a second glance at this. Signed-off-by: Christopher Heiny che

[RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-05 Thread Christopher Heiny
As requested in the feedback from the previous patch, we've documented the debugfs and sysfs attributes in files in Documentation/ABI/testing. There's two files, one for debugfs and one for sysfs. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok

[RFC PATCH 05/06] input/rmi4: F01 - device control

2012-10-05 Thread Christopher Heiny
of attributes have been moved from sysfs to debugfs, depending on their expected use. rmi_f01.h exports definitions that we expect to be used by other functionality in the future (such as firmware reflash). Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok

[RFC PATCH 04/06] input/rmi4: Config files and makefiles

2012-10-05 Thread Christopher Heiny
Not much to say here, except that we've reduced the number of different Kconfig options, which will hopefully make it easier to configure RMI4 support in kernels. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-22 Thread Christopher Heiny
On 10/10/2012 08:06 PM, Joe Perches wrote: On Thu, 2012-10-11 at 02:49 +, Christopher Heiny wrote: Joe Perches wrote: [] + list_for_each_entry(entry, data-rmi_functions.list, list) + if (entry-irq_mask) + process_one_interrupt(entry, irq_status

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-23 Thread Christopher Heiny
On 10/11/2012 10:16 PM, Mark Brown wrote: On Thu, Oct 11, 2012 at 03:56:22AM +, Christopher Heiny wrote: Fix your mailer to word wrap within paragraphs. Sorry - I was on the road and had to use a web interface. It looked OK during composition. Is this better? If this feature

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-23 Thread Christopher Heiny
On 10/11/2012 01:20 AM, Dmitry Torokhov wrote: On Fri, Oct 05, 2012 at 09:09:58PM -0700, Christopher Heiny wrote: + + int (*write_block)(struct rmi_phys_device *phys, u16 addr, u8 *buf, + int len); + int (*read_block)(struct rmi_phys_device *phys, u16 addr

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-23 Thread Christopher Heiny
On 10/11/2012 01:24 AM, Dmitry Torokhov wrote: On Thu, Oct 11, 2012 at 03:41:41AM +, Christopher Heiny wrote: Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heinyche...@synaptics.com wrote: +#ifdef CONFIG_RMI4_DEBUG +/** + * Utility routine to handle writes

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-23 Thread Christopher Heiny
On 10/11/2012 08:32 AM, Linus Walleij wrote: On Thu, Oct 11, 2012 at 5:41 AM, Christopher Heiny che...@synaptics.com wrote: Linus Walleij wrote: But please use arithmetic operators (I think I said this on the last review): dest[0] = src 0xFF; dest[1] = src 8; Doing it the above way makes

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-23 Thread Christopher Heiny
On 10/15/2012 11:26 PM, Mark Brown wrote: On Thu, Oct 11, 2012 at 05:32:59PM +0200, Linus Walleij wrote: On Thu, Oct 11, 2012 at 5:41 AM, Christopher Heiny che...@synaptics.com wrote: In previous patch submissions, we always used these warning functions. But in the feedback on those patches

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-23 Thread Christopher Heiny
On 10/11/2012 01:13 AM, Dmitry Torokhov wrote: On Thu, Oct 11, 2012 at 04:15:56AM +, Christopher Heiny wrote: On Thursday, October 11, 2012 02:21:53 AM you wrote: On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heiny che...@synaptics.com wrote: + +/** This is here because all those casts

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-23 Thread Christopher Heiny
On 10/23/2012 05:11 PM, Dmitry Torokhov wrote: On Tuesday, October 23, 2012 04:46:28 PM Christopher Heiny wrote: On 10/11/2012 01:13 AM, Dmitry Torokhov wrote: On Thu, Oct 11, 2012 at 04:15:56AM +, Christopher Heiny wrote: On Thursday, October 11, 2012 02:21:53 AM you wrote: On Sat, Oct

RE: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-10 Thread Christopher Heiny
Joe Perches wrote: On Fri, 2012-10-05 at 21:09 -0700, Christopher Heiny wrote: [] Just some trivial comments: Thanks - see below for responses. diff --git a/drivers/input/rmi4/rmi_driver.c b/drivers/input/rmi4/rmi_driver.c [] @@ -0,0 +1,1529 @@ [] +static ssize_t delay_write

RE: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-10 Thread Christopher Heiny
Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heiny che...@synaptics.com wrote: As requested in the feedback from the previous patch, we've documented the debugfs and sysfs attributes in files in Documentation/ABI/testing. There's two files, one for debugfs and one

RE: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-10 Thread Christopher Heiny
Mark Brown wrote: On Tue, Oct 09, 2012 at 09:43:13AM +0200, Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heiny che...@synaptics.com wrote: + * @cs_assert - For systems where the SPI subsystem does not control the CS/SSB + * line, or where such control is broken, you

RE: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-10 Thread Christopher Heiny
On Thursday, October 11, 2012 02:21:53 AM you wrote: On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heiny che...@synaptics.com wrote: rmi_bus.c implements the basic functionality of the RMI bus. This file is greatly simplified compared to the previous patch - we've switched from do

RE: [RFC PATCH 03/06] input/rmi4: I2C physical interface

2012-10-10 Thread Christopher Heiny
Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:10 AM, Christopher Heiny che...@synaptics.com wrote: The I2C physical driver is not extensively changed in terms of functionality since the previous patch. Management of the attention GPIO has been moved to rmi_driver.c (see previous email

RE: [RFC PATCH 04/06] input/rmi4: Config files and makefiles

2012-10-10 Thread Christopher Heiny
Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:10 AM, Christopher Heiny che...@synaptics.com wrote: (...) diff --git a/drivers/input/rmi4/Kconfig b/drivers/input/rmi4/Kconfig (...) +config RMI4_DEBUG + bool RMI4 Debugging + depends on RMI4_BUS select DEBUG_FS

RE: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-10-10 Thread Christopher Heiny
Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:10 AM, Christopher Heiny che...@synaptics.com wrote: RMI Function 01 implements basic device control and power management behaviors for the RMI4 sensor. Since the last patch, we've decoupled rmi_f01.c implementation from rmi_driver.c, so

RE: [RFC PATCH 06/06] input/rmi4: F11 - 2D touch interface

2012-10-10 Thread Christopher Heiny
Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:10 AM, Christopher Heiny che...@synaptics.com wrote: So looking closer at this one since we will use it. Maybe it's in such a good shape now that I should be able to actually test it with the hardware? Well, it's been possible to test at least

Re: [RFC PATCH 06/06] input/rmi4: F11 - 2D touch interface

2012-10-25 Thread Christopher Heiny
On 10/10/2012 11:21 AM, Henrik Rydberg wrote: Hi Christopher, rmi_f11.c is a driver for 2D touch sensors. It has been updated to support the MT-B specification, partition control attributes between debugfs andsysfs, and to use the standard bus model for loading/unloading. Please find

RE: [PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-12-01 Thread Christopher Heiny
, possibly with some slight modifications. Thanks! Chris From: linux-input-ow...@vger.kernel.org [linux-input-ow...@vger.kernel.org] on behalf of Dmitry Torokhov [dmitry.torok...@gmail.com] Sent: Thursday, November 29, 2012 9:21 AM To: Christopher Heiny Cc

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-02-07 Thread Christopher Heiny
On 01/31/2013 01:14 PM, Christopher Heiny wrote: On 01/31/2013 12:08 AM, Dmitry Torokhov wrote: Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-01-31 Thread Christopher Heiny
On 01/31/2013 12:08 AM, Dmitry Torokhov wrote: Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated to conform to the latest RMI4 specification. I

[PATCH 01/05] input: RMI4 public header file

2013-01-18 Thread Christopher Heiny
In addition to the changes described in part 0/5, this fixes some cutpaste issues in the comments for module_rmi_function_driver. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram

[PATCH 02/05] input: RMI4 core files

2013-01-18 Thread Christopher Heiny
in order to account for the fact that the PDT may change after the initial reset. * Problems with release_rmidev_device() identified by Greg KH are fixed and tested. * EXPORT_SYMBOL() changed to EXPORT_SYMBOL_GPL(), per Greg KH input. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry

[PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver

2013-01-18 Thread Christopher Heiny
changes in the driver code, and future patchsets can be much smaller and confined to one or two areas of interest. Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry

[PATCH 04/05] input: RMI4 F01 device control

2013-01-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated to conform to the latest RMI4 specification. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall

[PATCH 03/05] input: RMI4 I2C physical layer

2013-01-18 Thread Christopher Heiny
Changes here are limited to those described in the 0/5 of this patchset, plus some tweaks to debugging output. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com

Re: [PATCH] Input: Add new driver into Input Subsystem for Synaptics DS4 touchscreen I2C devices

2012-09-19 Thread Christopher Heiny
...@stericsson.com. Naveen's driver is sitting in drivers/staging/ste_rmi4 right now because Christopher Heiny is working on a RMI4 bus driver, and wanted to merge that. I am happy with this being merged for now if the plan is to eventually replace it with Christopher's (et al) driver, if it's not going

Re: [RFC PATCH 8/17] input: RMI4 F09 Built-In Self Test

2012-09-04 Thread Christopher Heiny
On 08/27/2012 03:07 PM, Linus Walleij wrote: [snip] +static struct device_attribute attrs[] = { + __ATTR(status, RMI_RW_ATTR, + rmi_f09_status_show, rmi_f09_status_store), + __ATTR(limitRegisterCount, RMI_RO_ATTR, + rmi_f09_limit_register_count_show,

Re: [RFC PATCH 5/17] input: rmidev character driver for RMI4 sensors

2012-09-04 Thread Christopher Heiny
On 08/27/2012 11:49 AM, Linus Walleij wrote: On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny che...@synaptics.com wrote: Driver for Synaptics touchscreens using RMI4 protocol. Really? This looks more like some custom char driver to get a pipe into the device from userspace. Put

Re: [RFC PATCH 14/17] input: RMI4 F30 GPIO/LED control

2012-09-04 Thread Christopher Heiny
On 08/27/2012 03:58 PM, Linus Walleij wrote: GPIO/LED, nice since I'm a GPIO maintainer I'll take a closer look. If the bus will start doing a lot of non-input business it should live under drivers/mfd but I think this is just one exception, right? On Fri, Aug 17, 2012 at 3:17 PM, Christopher

Re: [RFC PATCH 17/17] input: RMI4 F54 analog data reporting

2012-09-04 Thread Christopher Heiny
On 08/27/2012 04:01 PM, Linus Walleij wrote: Signed-off-by: Christopher Heinyche...@synaptics.com +#include linux/hrtimer.h +#include linux/kernel.h +#include linux/rmi.h +#include linux/slab.h +#include linux/version.h +#include linux/delay.h This is not using the existing in-kernel

Re: [RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver

2012-08-22 Thread Christopher Heiny
On 08/22/2012 05:50 AM, Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: This patch implements a driver supporting Synaptics ClearPad and other touchscreen sensors that use the RMI4 protocol, as defined here: Nice! This patch is against

Re: [RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-22 Thread Christopher Heiny
On 08/22/2012 02:45 PM, Dmitry Torokhov wrote: On Wednesday, August 22, 2012 09:08:00 PM Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: +/* Helper fn to convert a byte array representing a short in the RMI + * endian-ness to a short

Re: [RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver

2012-08-27 Thread Christopher Heiny
On 08/22/2012 05:50 AM, Linus Walleij wrote: On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: This patch implements a driver supporting Synaptics ClearPad and other touchscreen sensors that use the RMI4 protocol, as defined here: Nice! This patch is against

[RFC PATCH 00/11] input: Synaptics RMI4 Touchscreen Driver

2012-08-17 Thread Christopher Heiny
layer drivers 04 - Kconfigs and Makefiles 05 - rmidev 06 - firmware update 07..17 - drivers for individual RMI functions Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off-by: Christopher Heiny che

[RFC PATCH 4/17] input: RMI4 configs and makefiles

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 10/17] input: RM4 F17 Pointing sticks

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 6/17] input: RMI4 firmware update

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 8/17] input: RMI4 F09 Built-In Self Test

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 11/17] input: RMI4 F19 capacitive buttons

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 13/17] input: RMI4 F21 Force sensing

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 3/17] input: RMI4 physical layer drivers for I2C and SPI

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 7/17] input: RMI4 F01 device control

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 1/17] input: RMI4 public header file and documentation.

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 5/17] input: rmidev character driver for RMI4 sensors

2012-08-17 Thread Christopher Heiny
Driver for Synaptics touchscreens using RMI4 protocol. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g

[RFC PATCH 15/17] input: RMI4 F34 device reflash

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 16/17] input: RMI4 F41 Active pen 2D input

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 12/17] input: RMI4 F1A simple capacitive buttons

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 14/17] input: RMI4 F30 GPIO/LED control

2012-08-17 Thread Christopher Heiny
Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-19 Thread Christopher Heiny
On 11/17/2012 01:54 PM, Greg Kroah-Hartman wrote: On Fri, Nov 16, 2012 at 07:58:50PM -0800, Christopher Heiny wrote: +static void release_rmidev_device(struct device *dev) +{ + device_unregister(dev); +} You just leaked memory here, right? Also, you already unregistered the device

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-26 Thread Christopher Heiny
On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: Hi Christopher, On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: RMI Function 01 implements basic device control and power management behaviors for the RMI4 sensor. rmi_f01.h exports definitions that we expect to be used

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-26 Thread Christopher Heiny
On 11/26/2012 10:41 AM, Benjamin Tissoires wrote: Hi Christopher, On Sat, Nov 17, 2012 at 4:58 AM, Christopher Heiny che...@synaptics.com wrote: rmi_bus.c implements the basic functionality of the RMI bus. This file is greatly simplified compared to the previous patch - we've switched from do

Re: [PATCH 1/4] Input RMI4 - rename rmi_function_container to rmi_function

2012-11-27 Thread Christopher Heiny
On 11/27/2012 01:21 AM, Dmitry Torokhov wrote: To save my old fingers... Signed-off-by: Dmitry Torokhovdmitry.torok...@gmail.com --- It looks like this driver(s) need some love and I might have some time so I will refresh my synaptics branch with the patches you have sent and start working off

Re: [PATCH 4/4] Input: RMI4 - introduce rmi_module_driver() macro

2012-11-27 Thread Christopher Heiny
(rmi_f11_handler); -} - -static void __exit rmi_f11_module_exit(void) -{ - rmi_unregister_function_handler(rmi_f11_handler); -} - -module_init(rmi_f11_module_init); -module_exit(rmi_f11_module_exit); +module_rmi_driver(rmi_f11_handler); MODULE_AUTHOR(Christopher Heiny che...@synaptics.com

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-27 Thread Christopher Heiny
On 11/27/2012 01:29 AM, Dmitry Torokhov wrote: On Mon, Nov 26, 2012 at 02:31:27PM -0800, Christopher Heiny wrote: On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: Hi Christopher, On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: RMI Function 01 implements basic device

Re: [PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-11-28 Thread Christopher Heiny
); } - -module_init(rmi_driver_init); -module_exit(rmi_driver_exit); - -MODULE_AUTHOR(Christopher Heiny che...@synaptics.com); -MODULE_DESCRIPTION(RMI generic driver); -MODULE_LICENSE(GPL); -MODULE_VERSION(RMI_DRIVER_VERSION); diff --git a/drivers/input/rmi4/rmi_driver.h b/drivers/input/rmi4

[RFC PATCH 00/05] input: Synaptics RMI4 Touchscreen Driver

2012-12-18 Thread Christopher Heiny
areas of interest. Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Jean Delvare kh...@linux-fr.org Cc: Linus Walleij linus.wall

[PATCH 05/05] input: F11 2D input

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * elimination of unused sysfs and debugfs parameters. * some fixes to the input device parameters. * removal of some stray Android stuff. Signed-off-by: Christopher Heiny che...@synaptics.com To: Henrik Rydberg

[PATCH 03/05] input: I2C physical layer

2012-12-18 Thread Christopher Heiny
Changes here are limited to those described in the 0/0 of this patchset, plus some tweaks to debugging output. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com

[PATCH 01/05] input: RMI4 header file

2012-12-18 Thread Christopher Heiny
In addition to the changes described in part 0/5, this fixes some cutpaste issues in the comments for module_rmi_function_driver. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Joeri de Gram

[PATCH 04/05] input: F01 Device control

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * changes to the handling of sysfs as requested in feedback to our previous patch. * device serialization updated to conform to the latest specification. Signed-off-by: Christopher Heiny che...@synaptics.com Cc

[PATCH 02/05] input: Core files

2012-12-18 Thread Christopher Heiny
in order to account for the fact that the PDT may change after the initial reset. * Problems with release_rmidev_device() identified by Greg KH are fixed and tested. * EXPORT_SYMBOL() changed to EXPORT_SYMBOL_GPL(), per Greg KH input. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Greg Kroah

[RFC PATCH 00/06] input: Synaptics RMI4 Touchscreen Driver

2012-11-16 Thread Christopher Heiny
and documentation 02 - core sensor and bus implementation 03 - I2C physical layer driver 04 - Kconfigs and Makefiles 05..06 - drivers for individual RMI functions Comments and other feedback on this driver are welcomed. Christopher Heiny and the Synaptics RMI4 driver team Signed-off

[RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-11-16 Thread Christopher Heiny
rmi.h provides public definitions required by the RMI bus implementation and modules that interact with it. debugfs and sysfs attributes are documented in files in Documentation/ABI/testing. There's two files, one for debugfs and one for sysfs. Signed-off-by: Christopher Heiny che

[RFC PATCH 04/06] input/rmi4: Config files and makefiles

2012-11-16 Thread Christopher Heiny
Infrastructure files for configuration and building. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g

[RFC PATCH 03/06] input/rmi4: I2C physical interface

2012-11-16 Thread Christopher Heiny
device). Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip...@stericsson.com Cc: Joeri de Gram j.de.g...@gmail.com Acked-by: Jean Delvare kh...@linux-fr.org

[RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-16 Thread Christopher Heiny
RMI Function 01 implements basic device control and power management behaviors for the RMI4 sensor. rmi_f01.h exports definitions that we expect to be used by other functionality in the future (such as firmware reflash). Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Dmitry Torokhov

[RFC PATCH 02/06] input/rmi4: Core files

2012-11-16 Thread Christopher Heiny
on these core files, particularly the bus implementation. Signed-off-by: Christopher Heiny che...@synaptics.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Linus Walleij linus.wall...@stericsson.com Cc: Naveen Kumar Gaddipati naveen.gaddip

Re: [PATCH 4/4] Input: synaptics-rmi4 - switch to using i2c_transfer()

2014-01-10 Thread Christopher Heiny
on some older platforms. I've tested it on some more current platforms, though, and it works there. The old platforms are running 2.6.xx series kernels, and don't look likely ever to be updated, So Acked-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov

Re: [PATCH 3/4] Input: synaptics-rmi4 - fix I2C functionality check

2014-01-10 Thread Christopher Heiny
On 01/09/2014 11:44 PM, Dmitry Torokhov wrote: When adapter does not support required functionality (I2C_FUNC_I2C) we were returning 0 to the upper layers, making them believe that device bound successfully. Acked-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov

Re: [PATCH 2/4] Input: synaptics-rmi4 - rework transport device allocation

2014-01-10 Thread Christopher Heiny
-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/rmi4/rmi_bus.h | 3 -- drivers/input/rmi4/rmi_i2c.c | 112 +-- 2 files changed, 56 insertions(+), 59 deletions(-) diff --git a/drivers/input

Re: [PATCH 1/4] Input: synaptics-rmi4 - split of transport ops into a separate structure

2014-01-10 Thread Christopher Heiny
the proper tyep - size_t. Also rename rmi_transport_info to rmi_transport_stats and move protocol name (which is the only immutable piece of data there) into the transport device itself. Acked-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com

Re: [PATCH 4/4] Input: synaptics-rmi4 - switch to using i2c_transfer()

2014-01-14 Thread Christopher Heiny
- dev_dbg(client-dev, - read %zd bytes at %#06x: %*ph\n, - len, addr, (int)len, buf); + xport-stats.rx_bytes += len; -exit: mutex_unlock(rmi_i2c-page_mutex); return retval; } -- Christopher Heiny Senior Staff Firmware

Re: [PATCH 01/11] Input: synaptics-rmi4 - do not kfree() managed memory in F01

2014-02-13 Thread Christopher Heiny
-by: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/input/rmi4/rmi_f01.c b/drivers/input/rmi4/rmi_f01.c index 381ad60

Re: [PATCH 02/11] Input: synaptics-rmi4 - remove unused rmi_f01_remove()

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: It is an empty stub and is not needed. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 6 -- 1 file changed, 6 deletions(-) diff --git

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-13 Thread Christopher Heiny
-device_control.doze_holdoff); -- Christopher Heiny Senior Staff Firmware Engineer Synaptics Incorporated -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCH 04/11] Input: synaptics-rmi4 - fix LTS handling in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: From: Christopher Heiny che...@synaptics.com Both F01_RMI_Ctrl2 and F01_RMI_Ctrl3 (doze_interval and wakeup_threshold) are controlled by the has_adjustable_doze bit. Signed-off-by: Christopher Heinyche...@synaptics.com Signed-off-by: Dmitry

Re: [PATCH 09/11] Input: synaptics-rmi4 - consolidate memory allocations in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Let's allocate interrupt mask together with the main structure and combine rmi_f01_alloc_memory, rmi_f01_initialize and rmi_f01_probe into single function. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Signed-off-by: Christopher Heiny

Re: [PATCH 10/11] Input: synaptics-rmi4 - make accessor for platform data return const pointer

2014-02-13 Thread Christopher Heiny
to look at some of our other #define accessors as well, I think. Signed-off-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/rmi4/rmi_bus.h| 7 ++- drivers/input/rmi4/rmi_driver.c | 8 drivers/input/rmi4

Re: [PATCH 06/11] Input: synaptics-rmi4 - remove device_status form f01_data

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: We do not need to persist it - we read it when signalled. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 15 +++ 1 file changed, 7

Re: [PATCH 11/11] Input: synaptics-rmi4 - remove data pointer from RMI fucntion structure

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Device core provides way of accessing driver-private data, we should use it. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_bus.h | 1 - drivers/input

Re: [PATCH 08/11] Input: synaptics-rmi4 - use rmi_read/rmi_write in F01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Use rmi_read()/rmi_write() for reading/writing single-byte data. Also print error code when IO fails. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c

Re: [PATCH 07/11] Input: synaptics-rmi4 - rename instances of f01_data from data to f01

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: We have too many datas: f01_data, driver_data, pdata, etc. Let's untangle it a bit. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 135

Re: [PATCH 05/11] Input: synaptics-rmi4 - remove control_mutex from f01_data

2014-02-13 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: It is not used by anyone. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Acked-by: Christopher Heiny che...@synaptics.com --- drivers/input/rmi4/rmi_f01.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/rmi4

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-14 Thread Christopher Heiny
On 02/13/2014 01:54 PM, Dmitry Torokhov wrote: On Thu, Feb 13, 2014 at 11:23:44AM -0800, Christopher Heiny wrote: On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write configuration data in probe(), we have config() for that. Then we should call config() in rmi_function_probe

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-02-18 Thread Christopher Heiny
On 02/17/2014 11:23 AM, Dmitry Torokhov wrote: On Fri, Feb 14, 2014 at 03:00:43PM -0800, Christopher Heiny wrote: On 02/13/2014 01:54 PM, Dmitry Torokhov wrote: On Thu, Feb 13, 2014 at 11:23:44AM -0800, Christopher Heiny wrote: On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-03-18 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write configuration data in probe(), we have config() for that. I've just submitted a patch to correctly call config() after probe(). So this becomes... Signed-off-by: Christopher Heiny che...@synaptics.com Signed-off-by: Dmitry

RE: [PATCH 1/1] drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen

2013-07-08 Thread Christopher Heiny
On 07/08/2013 01:25 AM, Balint Czobor wrote: Add initial support for Synaptics RMI over I2C based touchscreens. This is pretty old code - it looks like a modification of patches we submitted last year. Is there some reason you're not basing it off the latest checkins in synaptics-rmi4 branch of

RE: [PATCH 1/1] drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen

2013-07-08 Thread Christopher Heiny
Sorry if this is a duplicate - there's some email issues here at work. On 07/08/2013 03:39 PM, Dmitry Torokhov wrote: On Monday, July 08, 2013 10:21:16 PM Christopher Heiny wrote: On 07/08/2013 01:25 AM, Balint Czobor wrote: Add initial support for Synaptics RMI over I2C based touchscreens

Re: [PATCH 00/05] input: RMI4 Synaptics RMI4 Touchscreen Driver

2014-02-04 Thread Christopher Heiny
On 02/03/2014 11:56 PM, Linus Walleij wrote: On Sat, Jan 19, 2013 at 2:12 AM, Christopher Heiny che...@synaptics.com wrote: This patchset implements changes based on the synaptics-rmi4 branch of Dmitry's input tree. What is happening to the RMI4 driver stuff? Has this development stalled

Re: [PATCH] Input: synaptics-rmi4 - fix compiler warnings in F11

2014-07-23 Thread Christopher Heiny
On 07/22/2014 11:11 PM, Dmitry Torokhov wrote: Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com I've reviewed this, and can say: Acked-by: Christopher Heiny che...@synaptics.com but I haven't had a chance to apply it to my build tree. Andrew - I'll be OOO for a couple of days. Can

Re: [-next, 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-10-21 Thread Christopher Heiny
is > > On Thu, Oct 20, 2016 at 4:28 PM, Christopher Heiny <cheiny@synaptics. > com> wrote: > > On Thu, 2016-10-20 at 23:51 +0100, Nick Dyer wrote: > > > On Mon, Oct 17, 2016 at 02:30:08PM -0700, Guenter Roeck wrote: > > > > > > &g

Re: [-next, 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-10-20 Thread Christopher Heiny
On Thu, 2016-10-20 at 23:51 +0100, Nick Dyer wrote: > On Mon, Oct 17, 2016 at 02:30:08PM -0700, Guenter Roeck wrote: > > > > On Fri, Sep 30, 2016 at 08:22:47PM -0700, Guenter Roeck wrote: > > > > > > Sensor tuning support is needed to determine the number of > > > enabled > > > tx and rx

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-11 Thread Christopher Heiny
On Wed, 2017-01-11 at 18:48 +0100, Benjamin Tissoires wrote: > On Jan 11 2017 or thereabouts, Arnd Bergmann wrote: > > > > On Wednesday, January 11, 2017 5:28:28 PM CET Benjamin Tissoires > > wrote: > > > > > > Yep, it was initially written that way, and IIRC there was some > > > issues > > >

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-02-07 Thread Christopher Heiny
On 01/31/2013 01:14 PM, Christopher Heiny wrote: On 01/31/2013 12:08 AM, Dmitry Torokhov wrote: Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated

  1   2   3   >