linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Add regulator-haptic driver
@ 2014-12-17  3:35 Jaewon Kim
  2014-12-17  3:35 ` [PATCH v7 1/3] Input: add regulator haptic driver Jaewon Kim
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jaewon Kim @ 2014-12-17  3:35 UTC (permalink / raw)
  To: Dmitry Torokhov, Kukjin Kim
  Cc: linux-kernel, linux-samsung-soc, linux-input, Chanwoo Choi,
	Jaewon Kim

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-18  1:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-17  3:35 [PATCH v7 0/3] Add regulator-haptic driver Jaewon Kim
2014-12-17  3:35 ` [PATCH v7 1/3] Input: add regulator haptic driver Jaewon Kim
2014-12-17 22:06   ` Dmitry Torokhov
2014-12-18  1:17     ` Jaewon Kim
2014-12-18  1:20       ` Dmitry Torokhov
2014-12-17  3:35 ` [PATCH v7 2/3] ARM: dts: exynos3250-rinato: Add regulator-haptic node for haptics Jaewon Kim
2014-12-17  3:35 ` [PATCH v7 3/3] ARM: dts: exynos3250-monk: " Jaewon Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).