[PATCH] cap11xx: add runtime PM support

2015-06-24 Thread Matt Ranostay
Important Notes: * Depends on v6 of "cap11xx: add LED support" patchset to applied first Matt Ranostay (1): cap11xx: add runtime PM support drivers/input/keyboard/cap11xx.c | 74 ++-- 1 file changed, 56 insertions(+), 18 deletions(-) -- 1.9.1 -- To unsubs

[PATCH] cap11xx: add runtime PM support

2015-06-24 Thread Matt Ranostay
Puts device into DEEP SLEEP when no LEDs are in in the on-state, and no input_handlers are in use. Also uses *_autosuspend to prevent a LED trigger from constantly suspending and resuming device. Signed-off-by: Matt Ranostay --- drivers/input/keyboard/cap11xx.c | 75 +

Re: Fwd: adxl345 patches

2015-06-24 Thread Dmitry Torokhov
On Thu, Jun 25, 2015 at 12:29:10AM +0200, Eric Fargas Espín wrote: > This patches add module alias, usefull to load driver with DTS on beaglebone Documentation/SubmittingPatches please. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message t

Fwd: adxl345 patches

2015-06-24 Thread Eric Fargas Espín
This patches add module alias, usefull to load driver with DTS on beaglebone adxl34x_c.patch Description: Binary data adxl34x_i2c_c.patch Description: Binary data adxl34x_spi_c.patch Description: Binary data

[git pull] Input updates for 4.2-rc0

2015-06-24 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Thanks to Samuel Thibault input device (keyboard) LEDs are no longer hardwired within the input core but use LED subsystem and so allow use of di

Re: [linux-sunxi] Re: [PATCH] input: axp20x-pek: Fix reporting button state as inverted

2015-06-24 Thread Dmitry Torokhov
On Wed, Jun 24, 2015 at 11:19:39AM +0200, Carlo Caione wrote: > On Wed, Jun 24, 2015 at 3:42 AM, Chen-Yu Tsai wrote: > > On Tue, Jun 23, 2015 at 5:30 AM, Dmitry Torokhov > > wrote: > >> On Sun, Jun 14, 2015 at 12:42:21PM +0200, Hans de Goede wrote: > >>> Currently we are reporting the button stat

Re: [RFC_v2 1/4] HID: hid-sony: Add basic IIO support for SixAxis Controller

2015-06-24 Thread simon
>> +case IIO_CHAN_INFO_SCALE: >> +switch (chan->type) { >> +case IIO_ACCEL: >> +*val = 0; /* 9.80665/117 = 0.084540086 */ >> +*val2 = 84540; > > I guess 9.80665 is 'g', but is the 117 taken from the accelerometer > datasheet

Re: [RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers

2015-06-24 Thread simon
> the SixAxis also have a gyroscope, I don't know how useful/reliable it > is, but it's there. I had a recollection that there was a gyro, but didn't see it when looking at the 'hidraw' stream. It might be affected by the 'multi-touch axes' bug. Simon -- To unsubscribe from this list: send the

Re: [RFC_v2 1/4] HID: hid-sony: Add basic IIO support for SixAxis Controller

2015-06-24 Thread Daniel Baluta
>> +static const struct iio_info sony_iio_info = { >> + .read_raw = &sony_iio_read_raw, >> + .driver_module = THIS_MODULE, >> +}; >> + >> +static int sony_iio_probe(struct sony_sc *sc) >> +{ >> + struct hid_device *hdev = sc->hdev; >> + struct iio_dev *indio_dev; >> + struct s

[patch] HID: wacom: NULL dereferences on error in probe()

2015-06-24 Thread Dan Carpenter
We can't pass a NULL to input_unregister_device(). Fixes: 2a6cdbdd4cc0 ('HID: wacom: Introduce new 'touch_input' device') Signed-off-by: Dan Carpenter diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c index 4c0ffca..44958d7 100644 --- a/drivers/hid/wacom_sys.c +++ b/drivers/hid/waco

Re: [PATCH 01/11] Input: synaptics-rmi4 - embed the function modules in rmi_core

2015-06-24 Thread Benjamin Tissoires
On Jun 24 2015 or thereabouts, Paul Bolle wrote: > On Tue, 2015-06-23 at 15:17 -0400, Benjamin Tissoires wrote: > > drivers/input/rmi4/Kconfig | 5 + > > drivers/input/rmi4/Makefile | 2 +- > > drivers/input/rmi4/rmi_bus.c| 11 ++- > > drivers/input/rmi4/rmi_driver.h |

Re: [PATCH 01/11] Input: synaptics-rmi4 - embed the function modules in rmi_core

2015-06-24 Thread Paul Bolle
On Tue, 2015-06-23 at 15:17 -0400, Benjamin Tissoires wrote: > drivers/input/rmi4/Kconfig | 5 + > drivers/input/rmi4/Makefile | 2 +- > drivers/input/rmi4/rmi_bus.c| 11 ++- > drivers/input/rmi4/rmi_driver.h | 8 > drivers/input/rmi4/rmi_f11.c| 10

Re: [linux-sunxi] Re: [PATCH] input: axp20x-pek: Fix reporting button state as inverted

2015-06-24 Thread Carlo Caione
On Wed, Jun 24, 2015 at 3:42 AM, Chen-Yu Tsai wrote: > On Tue, Jun 23, 2015 at 5:30 AM, Dmitry Torokhov > wrote: >> On Sun, Jun 14, 2015 at 12:42:21PM +0200, Hans de Goede wrote: >>> Currently we are reporting the button state as inverted on all boards with >>> an axp209 pmic, tested on a ba10-tv

Re: [RFC_v2 1/4] HID: hid-sony: Add basic IIO support for SixAxis Controller

2015-06-24 Thread Antonio Ospite
On Tue, 23 Jun 2015 18:30:27 -0600 Simon Wood wrote: > --- > drivers/hid/hid-sony.c | 153 > - > 1 file changed, 152 insertions(+), 1 deletion(-) > Hi Simon, I don't know much about the IIO API, I just have some generic comments. > diff --git a

Re: [RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers

2015-06-24 Thread Antonio Ospite
On Tue, 23 Jun 2015 18:30:26 -0600 Simon Wood wrote: [...] > The SixAxis contains accelerometers, the DS4 contains accelerometers and > gyros. > Hi Simon, the SixAxis also have a gyroscope, I don't know how useful/reliable it is, but it's there. Ciao, Antonio -- Antonio Ospite http://ao2

Re: [PATCH v5 1/2] dt: add cap11xx LED documentation

2015-06-24 Thread Jacek Anaszewski
On 06/24/2015 09:28 AM, Jacek Anaszewski wrote: On 06/23/2015 08:07 PM, Dmitry Torokhov wrote: On Tue, Jun 23, 2015 at 10:23:57AM -0700, Matt Ranostay wrote: On Tue, Jun 23, 2015 at 1:36 AM, Jacek Anaszewski wrote: On 06/22/2015 07:59 PM, Dmitry Torokhov wrote: On Wed, Jun 17, 2015 at 08:58

Re: [PATCH] touchscreen: sun4i-ts: Really fix A10 temperature reporting

2015-06-24 Thread Hans de Goede
Hi, On 24-06-15 09:28, Maxime Ripard wrote: Hi, On Wed, Jun 24, 2015 at 09:16:54AM +0200, Hans de Goede wrote: Maxime I think we should send the mentioned dts patch to stable for 4.1 , do you agree ? Yep. We should definitely do that. You take care of this? Yes I'll try to do so later toda

Re: [PATCH] touchscreen: sun4i-ts: Really fix A10 temperature reporting

2015-06-24 Thread Maxime Ripard
Hi, On Wed, Jun 24, 2015 at 09:16:54AM +0200, Hans de Goede wrote: > Maxime I think we should send the mentioned dts patch to stable for > 4.1 , do you agree ? Yep. We should definitely do that. You take care of this? Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android e

Re: [PATCH v5 1/2] dt: add cap11xx LED documentation

2015-06-24 Thread Jacek Anaszewski
On 06/23/2015 08:07 PM, Dmitry Torokhov wrote: On Tue, Jun 23, 2015 at 10:23:57AM -0700, Matt Ranostay wrote: On Tue, Jun 23, 2015 at 1:36 AM, Jacek Anaszewski wrote: On 06/22/2015 07:59 PM, Dmitry Torokhov wrote: On Wed, Jun 17, 2015 at 08:58:16PM -0700, Matt Ranostay wrote: Signed-off-by

Re: [PATCH] touchscreen: sun4i-ts: Really fix A10 temperature reporting

2015-06-24 Thread Hans de Goede
Hi, On 23-06-15 21:54, Dmitry Torokhov wrote: On Tue, Jun 23, 2015 at 09:46:20PM +0200, Hans de Goede wrote: Hi, On 06/23/2015 05:06 PM, m.silentcr...@gmail.com wrote: Hi Hans, is it possible that this patch (and the parent commit "Input: sun4i-ts - allow controlling filter and sensitivity