lkml.org 
[lkml]   [2014]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v7 0/3] Add regulator-haptic driver
Date
This patch series adds regulator-haptic driver.
The regulator-haptic has haptic motor and it is controlled by
voltage of regulator via force feedback framework.

Changes in v7:
- move platform_data or of_node check.
- prevent to start playing effect when kernel entering suspend state.

Changes in v6:
- prevent racing condition

Changes in v5:
- give preference to platform data

Changes in v4:
- _regulator_get() -> _regulator_get_exclusive()

Changes in v3:
- fix typo in Documentation
- add define in header file

Changes in v2:
- remove driver owner
- merge enable/disable function
- support platform data
- fix wrong suspends_state check in regulator_haptic_resume()

Jaewon Kim (3):
Input: add regulator haptic driver
ARM: dts: exynos3250-rinato: Add regulator-haptic node for haptics
ARM: dts: exynos3250-monk: Add regulator-haptic node for haptics

.../devicetree/bindings/input/regulator-haptic.txt | 21 ++
arch/arm/boot/dts/exynos3250-monk.dts | 7 +
arch/arm/boot/dts/exynos3250-rinato.dts | 7 +
drivers/input/misc/Kconfig | 11 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/regulator-haptic.c | 247 ++++++++++++++++++++
include/linux/platform_data/regulator-haptic.h | 29 +++
7 files changed, 323 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/regulator-haptic.txt
create mode 100644 drivers/input/misc/regulator-haptic.c
create mode 100644 include/linux/platform_data/regulator-haptic.h

--
1.7.9.5



\
 
 \ /
  Last update: 2014-12-17 05:01    [W:0.097 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site