From: Jaewon Kim <jaewon02.kim@samsung.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Kukjin Kim <kgene.kim@samsung.com>
Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-input@vger.kernel.org, Chanwoo Choi <cw00.choi@samsung.com>,
Jaewon Kim <jaewon02.kim@samsung.com>
Subject: [PATCH v7 0/3] Add regulator-haptic driver
Date: Wed, 17 Dec 2014 12:35:05 +0900 [thread overview]
Message-ID: <1418787308-29019-1-git-send-email-jaewon02.kim@samsung.com> (raw)
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
next reply other threads:[~2014-12-17 3:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-17 3:35 Jaewon Kim [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1418787308-29019-1-git-send-email-jaewon02.kim@samsung.com \
--to=jaewon02.kim@samsung.com \
--cc=cw00.choi@samsung.com \
--cc=dmitry.torokhov@gmail.com \
--cc=kgene.kim@samsung.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).