input: add MAX8997-haptic driver

Started by Chanwoo Choi on Mar 7, 2012 · 5 messages from 2 authors · Last reply Mar 13, 2012

STALE5378d SUPERSEDED

Status: Superseded by v3 (posted 2012-03-12). [go to v3]

Revision v2 (2 revisions archived).

Revisions (2)
  1. v2 current
  2. v3 [diff against previous]

open the first message on its own page

Message details and related content
MAX8997 has several features in a single chip,
This patchset supports unimplemented haptic driver of MAX8997.

v2
- code clean and remove unnecessary code according to comment of Dmitry
Torokhov

Donggeun Kim (2):
  mfd: add platform data for MAX8997 haptic driver
  input: add driver support for MAX8997-haptic

 drivers/input/misc/Kconfig          |   12 ++
 drivers/input/misc/Makefile         |    1 +
 drivers/input/misc/max8997_haptic.c |  371
+++++++++++++++++++++++++++++++++++
 include/linux/mfd/max8997.h         |   53 +++++-
 4 files changed, 436 insertions(+), 1 deletions(-)
 create mode 100644 drivers/input/misc/max8997_haptic.c
Message details and related content
Hi Chanwoo,


On Wed, Mar 07, 2012 at 05:02:49PM +0900, Chanwoo Choi wrote:
MAX8997 has several features in a single chip,
This patchset supports unimplemented haptic driver of MAX8997.

v2
- code clean and remove unnecessary code according to comment of Dmitry
Torokhov
Could you please tell me if the version of the patch I sent to you
worked or not?

Thanks.

-- 
Dmitry
Message details and related content
Hi Dmitry,

On 03/07/2012 05:29 PM, Dmitry Torokhov wrote:
Hi Chanwoo,


On Wed, Mar 07, 2012 at 05:02:49PM +0900, Chanwoo Choi wrote:
quoted
MAX8997 has several features in a single chip,
This patchset supports unimplemented haptic driver of MAX8997.

v2
- code clean and remove unnecessary code according to comment of Dmitry
Torokhov
Could you please tell me if the version of the patch I sent to you
worked or not?
It isn't worked because it use the mutex lock in irq handler stack.
so, I resend v3 patch of max8997-haptic driver after modifying it.

Best Regards,
Chanwoo Choi
Message details and related content
On Mon, Mar 12, 2012 at 05:31:24PM +0900, Chanwoo Choi wrote:
Hi Dmitry,

On 03/07/2012 05:29 PM, Dmitry Torokhov wrote:
quoted
Hi Chanwoo,


On Wed, Mar 07, 2012 at 05:02:49PM +0900, Chanwoo Choi wrote:
quoted
MAX8997 has several features in a single chip,
This patchset supports unimplemented haptic driver of MAX8997.

v2
- code clean and remove unnecessary code according to comment of Dmitry
Torokhov
Could you please tell me if the version of the patch I sent to you
worked or not?
It isn't worked because it use the mutex lock in irq handler stack.
so, I resend v3 patch of max8997-haptic driver after modifying it.
Hmm, my patch did not add taking mutex in irq context, I presume you are
talking about max8997->iolock that is taken in max8997_write_reg... OK,
I see...

-- 
Dmitry
Message details and related content

On 03/13/2012 02:30 PM, Dmitry Torokhov wrote:
On Mon, Mar 12, 2012 at 05:31:24PM +0900, Chanwoo Choi wrote:
quoted
Hi Dmitry,

On 03/07/2012 05:29 PM, Dmitry Torokhov wrote:
quoted
Hi Chanwoo,


On Wed, Mar 07, 2012 at 05:02:49PM +0900, Chanwoo Choi wrote:
quoted
MAX8997 has several features in a single chip,
This patchset supports unimplemented haptic driver of MAX8997.

v2
- code clean and remove unnecessary code according to comment of Dmitry
Torokhov
Could you please tell me if the version of the patch I sent to you
worked or not?
It isn't worked because it use the mutex lock in irq handler stack.
so, I resend v3 patch of max8997-haptic driver after modifying it.
Hmm, my patch did not add taking mutex in irq context, I presume you are
talking about max8997->iolock that is taken in max8997_write_reg... OK,
I see...
You're right. I'm sorry about my ambiguous reply for you.

Best Regards,
Chanwoo Choi
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help