[PATCH] HID: input - Add two new usages for digitizer

2014-06-02 Thread Ping Cheng
On Feb 17, 2014, two new usages are approved to HID usage Table 18 - Digitizer Page: 5A Secondary Barrel Switch MC 16.4 5B Transducer Serial NumberSV 16.3.1 This patch adds relevant definitions to hid/input. It also removes outdated comments in hid.h. Signed-o

[PATCHv2 3/3] IIO: hid-sensor-magn-3d: Add in support for True/Magnetic North HID usages

2014-06-02 Thread Reyad Attiyat
Updated magn_3d_channel enum for all possible north channels Added functions to setup iio_chan_spec array depending on which hid usage reports are found Renamed magn_val to iio_val to differentiate the index being used Updated magn_3d_state struct to hold pointer array (magn_val_addr[]) which

[PATCHv2 1/3] IIO: Documentation: Add north attribute to ABI docs

2014-06-02 Thread Reyad Attiyat
Updated ABI documentation to inculde compass north usages. Signed-off-by: Reyad Attiyat --- Documentation/ABI/testing/sysfs-bus-iio | 76 + 1 file changed, 76 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bu

[PATCHv2 2/3] IIO: Add iio_chan modifier for True/Magnetic North HID usages

2014-06-02 Thread Reyad Attiyat
Updated iio modifier enum for compass north usages, including magnetic/true north with tilt compensation. Signed-off-by: Reyad Attiyat --- drivers/iio/industrialio-core.c | 4 include/linux/iio/types.h | 4 2 files changed, 8 insertions(+) diff --git a/drivers/iio/industrialio-c

[PATCHv2 0/3] IIO: Add support for compass north usage attribute

2014-06-02 Thread Reyad Attiyat
The following patches allow the hid-sensor-magn-3d driver to handle the north usage attribute. It allows the driver to dynamically create IIO channels depending on which HID reports are found. Reyad Attiyat (3): IIO: Documentation: Add north attribute to ABI docs IIO: Add iio_chan modifier for

Re: [PATCH 2/3] IIO: Add iio_chan modifier for True/Magnetic North HID usages

2014-06-02 Thread Reyad Attiyat
Hey Jonathan, > > I think we need the naming to explicitly mention north_magnetic instead > of just north. Whilst it is obvious what north means when you have north > true alongside it, it won't be so obvious if one just has the north > attribute > to see in a particular driver - if anything I'd h

Re: [PATCHv4 0/4] tsc2005 DT binding

2014-06-02 Thread Sebastian Reichel
Hi Dmitry, On Fri, May 30, 2014 at 12:58:21PM -0700, Dmitry Torokhov wrote: > On Thu, May 29, 2014 at 03:33:57PM +0200, Sebastian Reichel wrote: > > On Wed, May 21, 2014 at 07:36:10PM +0200, Sebastian Reichel wrote: > > ping! It would be nice to have this in 3.16, since it makes > > the N900 usabl

Re: [PATCH 1/3] IIO: Add iio magn_north ABI documentation

2014-06-02 Thread Srinivas Pandruvada
On 05/29/2014 09:46 AM, Jonathan Cameron wrote: On 28/05/14 22:06, Reyad Attiyat wrote: Update documentation for HID compass true/magnetic north sensor. Signed-off-by: Reyad Attiyat --- Documentation/ABI/testing/sysfs-bus-iio | 76 + 1 file changed, 76 inse

Re: [RFC/PATCH 1/3] drivers: input: keyboard: adp5589: add DT support

2014-06-02 Thread Guido Martínez
Hi Dmitry, sorry for the terribly late reply. On Sun, May 18, 2014 at 01:40:09PM -0700, Dmitry Torokhov wrote: > Hi Guido, > > On Wed, May 07, 2014 at 10:00:42AM -0300, Guido Martínez wrote: > > Add DT support for the Analog ADP5589 matrix keypad decoding functions. > > > > Signed-off-by: Guido

[PATCH v2 1/1] Input: max8997_haptic - Check return values

2014-06-02 Thread Sachin Kamat
Check the return value of regulator_enable and pwm_enable to avoid errors. Fixes the following warning: drivers/input/misc/max8997_haptic.c:185:19: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat Cc: D

Re: [PATCH 0/4] Input: atmel_mxt_ts - make it work on Tegra

2014-06-02 Thread Sekhar Nori
Hi Nick, Nick Dyer itdev.co.uk> writes: > Thanks for this. Would you be happy for me to pick these changes up and > include them along with the other work I am sending to Dmitry? I am just > beginning to do various updates to the whole series, one of the things I > need to sort out is the device