Re: [PATCH v2 6/6] HID: uclogic: actually invert the in-range bit for huion tablets only

2015-03-02 Thread Benjamin Tissoires
On Feb 28 2015 or thereabouts, Nikolai Kondrashov wrote: On 02/26/2015 08:57 PM, Benjamin Tissoires wrote: This hack is only needed for Huion tablets. It does not seem to have any effect on the other tablets handled by this device right now, but it's better to check for the product id sooner

Re: [PATCH 0/2] Cleanup and fix touch_down implementation

2015-03-02 Thread Jiri Kosina
On Fri, 20 Feb 2015, Ping Cheng wrote: Hi Jiri, This set is based on your for-3.20/upstream-fixes branch. If pen comes in proximity while touch is down, we force touch up before sending pen events. This idea has been implemented for Tablet PCs. But other tablets that support both pen and

Re: [PATCH v2 1/2] DT: i2c: Deprecate adi,adxl34x compatible string

2015-03-02 Thread Laurent Pinchart
(CC'ing Dmitry) On Monday 02 March 2015 07:40:49 Wolfram Sang wrote: On Thu, Feb 26, 2015 at 04:27:49PM +0200, Laurent Pinchart wrote: On Monday 26 January 2015 13:09:47 Wolfram Sang wrote: If you drop adi,adxl346, checkpatch will start complaining if it encounters it in a .dts. Boah,

Re: [PATCH] Input: psmouse - when comparing PNP IDs ignore case

2015-03-02 Thread Jeff Epler
On Fri, Feb 27, 2015 at 04:18:52PM -0800, Dmitry Torokhov wrote: PNP IDs are supposed to be case-insensitive and so we should compare them as such. Have specific systems popped up which need this fix, or is it just in the interests of being correct? If there are specific system(s) that are

Re: [PATCH v7 4/5] Input: add haptic drvier on max77843

2015-03-02 Thread Jaewon Kim
Hi Dmitry, On 03/03/2015 02:32, Dmitry Torokhov wrote: On Mon, Mar 02, 2015 at 07:10:37PM +0900, Jaewon Kim wrote: This patch adds support for haptic driver on max77843 MFD(Multi Function Device) with PMIC, MUIC, LED, CHARGER. This driver supports external pwm and LRA(Linear Resonant

[PATCH v7 6/8] input: touchscreen: imx25 tcq driver

2015-03-02 Thread Markus Pargmann
This is a driver for the imx25 ADC/TSC module. It controls the touchscreen conversion queue and creates a touchscreen input device. The driver currently only supports 4 wire touchscreens. The driver uses a simple conversion queue of precharge, touch detection, X measurement, Y measurement,

[PATCH v7 7/8] ARM: dts: imx25: Add TSC and ADC support

2015-03-02 Thread Markus Pargmann
From: Denis Carikli de...@eukrea.com Signed-off-by: Denis Carikli de...@eukrea.com Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/imx25.dtsi | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi

[PATCH v7 0/8] imx25 adc and touchscreen driver

2015-03-02 Thread Markus Pargmann
Hi, This series adds a driver for the Freescale i.MX25 SoC internal ADC unit which is used for touchscreen and ADC. The driver consists of three parts, the MFD driver which handles interrupts and some central configuration registers, the ADC driver and the touchscreen driver. v7 has some

[PATCH v7 8/8] ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support.

2015-03-02 Thread Markus Pargmann
From: Denis Carikli de...@eukrea.com Signed-off-by: Denis Carikli de...@eukrea.com Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/configs/imx_v4_v5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig

[PATCH v7 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-03-02 Thread Markus Pargmann
This is the core driver for imx25 touchscreen/adc driver. The module has one shared ADC and two different conversion queues which use the ADC. The two queues are identical. Both can be used for general purpose ADC but one is meant to be used for touchscreens. This driver is the core which manages

[PATCH v7 5/8] iio: adc: fsl,imx25-gcq driver

2015-03-02 Thread Markus Pargmann
This is a conversion queue driver for the mx25 SoC. It uses the central ADC which is used by two seperate independent queues. This driver prepares different conversion configurations for each possible input. For a conversion it creates a conversionqueue of one item with the correct configuration

[PATCH v7 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-03-02 Thread Markus Pargmann
This is the touchscreen conversion queue binding documentation. It uses the shared imx25 ADC. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v5: - Fix signed/unsigned comparison - Fix unused variable settling_time by putting it in the correct argument

[PATCH v7 2/8] ARM: dt: Binding documentation for imx25 GCQ

2015-03-02 Thread Markus Pargmann
The documentation describes the bindings for the imx25 GCQ unit which is essentially a generic conversion queue using the imx25 ADC. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v6: - Changed bindings to use adc-refp and adc-refn. Also a bit of cleanup in

[PATCH v7 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-03-02 Thread Markus Pargmann
This documentation describes the devicetree bindings for the ADC/Touchscreen unit of the i.MX25 SoC. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v6: - Removed adc-ref property and replaced it with refp and refn for positive and negative references.

[PATCH 3/4] thinkpad_acpi: Add adaptive_kbd_mode sysfs attr

2015-03-02 Thread Bastien Nocera
Add a sysfs attribute to allow privileged users to change the keyboard mode. This could be used by desktop environments to change the keyboard mode depending on the application focused, as the Windows application does. Signed-off-by: Bastien Nocera had...@hadess.net ---

[PATCH 4/4] thinkpad_acpi: Add support for more adaptive kbd buttons

2015-03-02 Thread Bastien Nocera
This commit adds new elements to the ThinkPad keymaps, and will send key events for keys for which an input.h declaration exists. Signed-off-by: Bastien Nocera had...@hadess.net --- drivers/platform/x86/thinkpad_acpi.c | 80 +++- 1 file changed, 79 insertions(+),

[PATCH 2/4] thinkpad_acpi: Factor out get/set adaptive kbd mode

2015-03-02 Thread Bastien Nocera
Move the getting/setting of the adaptive keyboard mode to separate functions, so that we can reuse them later through sysfs attributes. Signed-off-by: Bastien Nocera had...@hadess.net --- drivers/platform/x86/thinkpad_acpi.c | 61 ++-- 1 file changed, 38

[PATCH v7 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-03-02 Thread Jaewon Kim
This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim jaewon02@samsung.com Signed-off-by: Beomho Seo beomho@samsung.com ---

[PATCH v7 0/5] Add new MFD driver for MAX77843

2015-03-02 Thread Jaewon Kim
This patch series adds MAX77843(Multi Function Device) driver. The MAX77843 includes MUIC(Micro USB Interface Controller), Li+ Charger with Fuel Gauge, 2 safeout LDOs for USB device and haptic controller using PWM. It is interfaced to host controller using I2C. Changes in v7: MFD Core - Fix

[PATCH v7 4/5] Input: add haptic drvier on max77843

2015-03-02 Thread Jaewon Kim
This patch adds support for haptic driver on max77843 MFD(Multi Function Device) with PMIC, MUIC, LED, CHARGER. This driver supports external pwm and LRA(Linear Resonant Actuator) motor. And it supports ff-memless interface from inpu framework. Cc: Dmitry Torokhov dmitry.torok...@gmail.com

Re: [PATCH v2 3/4] leds: Let the binding document example for leds-gpio follow the gpio bindings

2015-03-02 Thread Linus Walleij
On Wed, Jan 21, 2015 at 10:33 PM, Olliver Schinagl o.schin...@ultimaker.com wrote: From: Olliver Schinagl oli...@schinagl.nl In the gpio bindings documents it is requested to use the marco's in include/dt-bindings/gpio/gpio.h whenever possible. The gpios in the led drivers don't seem to form

[PATCH v7 5/5] Documentation: Add device tree bindings document for max77843

2015-03-02 Thread Jaewon Kim
Add document describing device tree bindings for max77843 MFD. Drivers: MFD core, regulator, extcon, charger and fuelgauge. Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala

[PATCH v7 3/5] power: max77843_battery: Add Max77843 fuel gauge device driver

2015-03-02 Thread Jaewon Kim
From: Beomho Seo beomho@samsung.com This patch adds device driver of max77843 fuel gauge. The driver support for battery fuel gauge in Maxim Max77843. It is fuel-gauge systems for lithuum-ion batteries in handled and portable devices. Cc: Sebastian Reichel s...@kernel.org Signed-off-by:

[PATCH v7 2/5] power: max77843_charger: Add Max77843 charger device driver

2015-03-02 Thread Jaewon Kim
From: Beomho Seo beomho@samsung.com This patch adds device driver of max77843 charger. This driver provide initialize each charging mode(e.g. fast charge, top-off mode and constant charging mode so on.). Additionally, control charging paramters to use i2c interface. Cc: Sebastian Reichel

Re: [PATCH v7 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-03-02 Thread Lee Jones
On Mon, 02 Mar 2015, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim jaewon02@samsung.com Signed-off-by: Beomho

Re: [PATCH v7 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-03-02 Thread Lee Jones
On Mon, 02 Mar 2015, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim jaewon02@samsung.com Signed-off-by: Beomho

Re: [PATCH v7 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-03-02 Thread Jaewon Kim
Hi Lee Jones, On 02/03/2015 19:20, Lee Jones wrote: On Mon, 02 Mar 2015, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim

[PATCH] keyboard/tc3589x-keypad.c: set IRQF_ONESHOT flag to ensure IRQ request

2015-03-02 Thread Valentin Rothberg
Since commit 1c6c69525b40eb76de8adf039409722015927dc3 (genirq: Reject bogus threaded irq requests) threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. Currently, plat-irqtype is only set to IRQF_TRIGGER_FALLING. This patch sets the

Re: [PATCH 1/4] thinkpad_acpi: Remember adaptive kbd presence

2015-03-02 Thread Henrique de Moraes Holschuh
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote: Rather than checking on each suspend and resume whether the laptop has an adaptive keyboard, check when the driver is initialised. Signed-off-by: Bastien Nocera had...@hadess.net Acked-by: Henrique de Moraes Holschuh h...@hmh.eng.br ---

Re: [PATCH 2/4] thinkpad_acpi: Factor out get/set adaptive kbd mode

2015-03-02 Thread ibm-acpi
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote: Move the getting/setting of the adaptive keyboard mode to separate functions, so that we can reuse them later through sysfs attributes. Signed-off-by: Bastien Nocera had...@hadess.net Acked-by: Henrique de Moraes Holschuh h...@hmh.eng.br

Re: [PATCH 4/4] thinkpad_acpi: Add support for more adaptive kbd buttons

2015-03-02 Thread Henrique de Moraes Holschuh
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote: This commit adds new elements to the ThinkPad keymaps, and will send key events for keys for which an input.h declaration exists. Signed-off-by: Bastien Nocera had...@hadess.net Reviewed-by: Henrique de Moraes Holschuh h...@hmh.eng.br

Re: [PATCH 2/4] thinkpad_acpi: Factor out get/set adaptive kbd mode

2015-03-02 Thread Henrique de Moraes Holschuh
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote: Move the getting/setting of the adaptive keyboard mode to separate functions, so that we can reuse them later through sysfs attributes. Signed-off-by: Bastien Nocera had...@hadess.net Acked-by: Henrique de Moraes Holschuh h...@hmh.eng.br

Re: [PATCH 3/4] thinkpad_acpi: Add adaptive_kbd_mode sysfs attr

2015-03-02 Thread Henrique de Moraes Holschuh
On Mon, Mar 2, 2015, at 10:45, Bastien Nocera wrote: Add a sysfs attribute to allow privileged users to change the keyboard mode. This could be used by desktop environments to change the keyboard mode depending on the application focused, as the Windows application does. Signed-off-by:

Re: [PATCH] input: cyapa: fix unaligned functions redefinition error

2015-03-02 Thread Dmitry Torokhov
On Mon, Mar 02, 2015 at 02:04:38PM +0800, Dudley Du wrote: Use asm/unaligned.h instead of linux/unaligned/access_ok.h head file to fix compiling issues such as following while doing cross platform compiling. include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'

Re: [PATCH v7 4/5] Input: add haptic drvier on max77843

2015-03-02 Thread Dmitry Torokhov
On Mon, Mar 02, 2015 at 07:10:37PM +0900, Jaewon Kim wrote: This patch adds support for haptic driver on max77843 MFD(Multi Function Device) with PMIC, MUIC, LED, CHARGER. This driver supports external pwm and LRA(Linear Resonant Actuator) motor. And it supports ff-memless interface from

[PATCH] thinkpad_acpi: use DEVICE_ATTR_* macros

2015-03-02 Thread Bastien Nocera
Use the DEVICE_ATTR_* macros to reduce boiler plate. Signed-off-by: Bastien Nocera had...@hadess.net --- drivers/platform/x86/thinkpad_acpi.c | 72 ++-- 1 file changed, 20 insertions(+), 52 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c

Re: [PATCH] thinkpad_acpi: use DEVICE_ATTR_* macros

2015-03-02 Thread Henrique de Moraes Holschuh
On Mon, Mar 2, 2015, at 14:40, Bastien Nocera wrote: Use the DEVICE_ATTR_* macros to reduce boiler plate. Signed-off-by: Bastien Nocera had...@hadess.net Reviewed-by: Henrique de Moraes Holschuh h...@hmh.eng.br Acked-by: Henrique de Moraes Holschuh h...@hmh.eng.br ---

Re: [PATCH v2 1/2] Input: touchscreen-iproc: Add Broadcom iProc touchscreen driver

2015-03-02 Thread Jonathan Richardson
Hi Dmitry, Thanks for the review. I'll fix everything as suggested. One comment below. New patchset coming once I can test the latest DT bindings in Hans de Goede's patch. Thanks, Jon On 15-02-24 03:29 PM, Dmitry Torokhov wrote: Hi Jonathan, On Fri, Dec 19, 2014 at 02:17:49PM -0800,

Re: [PATCH v2 3/4] leds: Let the binding document example for leds-gpio follow the gpio bindings

2015-03-02 Thread Bryan Wu
On Mon, Mar 2, 2015 at 3:24 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Jan 21, 2015 at 10:33 PM, Olliver Schinagl o.schin...@ultimaker.com wrote: From: Olliver Schinagl oli...@schinagl.nl In the gpio bindings documents it is requested to use the marco's in