From: Lee Jones <lee.jones@linaro.org>
To: Jaewon Kim <jaewon02.kim@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>,
linux-kernel@vger.kernel.org,
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: Re: [PATCH RESEND v5 3/3] mfd: max77693: Update DT binding to support haptic
Date: Tue, 7 Oct 2014 10:16:03 +0100 [thread overview]
Message-ID: <20141007091603.GP25331@lee--X1> (raw)
In-Reply-To: <1412145838-7563-4-git-send-email-jaewon02.kim@samsung.com>
On Wed, 01 Oct 2014, Jaewon Kim wrote:
> This patch add haptic DT binding documentation and example
> to support haptic driver in max77693 Multifunction device.
>
> Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
> Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
> ---
> Documentation/devicetree/bindings/mfd/max77693.txt | 21 ++++++++++++++++++++
> 1 file changed, 21 insertions(+)
Applied, thanks.
> diff --git a/Documentation/devicetree/bindings/mfd/max77693.txt b/Documentation/devicetree/bindings/mfd/max77693.txt
> index 11921cc..01e9f30 100644
> --- a/Documentation/devicetree/bindings/mfd/max77693.txt
> +++ b/Documentation/devicetree/bindings/mfd/max77693.txt
> @@ -27,6 +27,20 @@ Optional properties:
>
> [*] refer Documentation/devicetree/bindings/regulator/regulator.txt
>
> +- haptic : The MAX77693 haptic device utilises a PWM controlled motor to provide
> + users with tactile feedback. PWM period and duty-cycle are varied in
> + order to provide the approprite level of feedback.
> +
> + Required properties:
> + - compatible : Must be "maxim,max77693-hpatic"
> + - haptic-supply : power supply for the haptic motor
> + [*] refer Documentation/devicetree/bindings/regulator/regulator.txt
> + - pwms : phandle to the physical PWM(Pulse Width Modulation) device.
> + PWM properties should be named "pwms". And number of cell is different
> + for each pwm device.
> + To get more informations, please refer to documentaion.
> + [*] refer Documentation/devicetree/bindings/pwm/pwm.txt
> +
> Example:
> max77693@66 {
> compatible = "maxim,max77693";
> @@ -52,4 +66,11 @@ Example:
> regulator-boot-on;
> };
> };
> +
> + haptic {
> + compatible = "maxim,max77693-haptic";
> + haptic-supply = <&haptic_supply>;
> + pwms = <&pwm 0 40000 0>;
> + pwm-names = "haptic";
> + };
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2014-10-07 9:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-01 6:43 [PATCH RESEND v5 0/3] Add max77693 haptic driver Jaewon Kim
2014-10-01 6:43 ` [PATCH RESEND v5 1/3] mfd: max77693: Initialize haptic register map Jaewon Kim
2014-10-07 9:15 ` Lee Jones
2014-10-01 6:43 ` [PATCH RESEND v5 2/3] mfd: max77693: add haptic of_compatible in mfd_cell Jaewon Kim
2014-10-07 9:15 ` Lee Jones
2014-10-01 6:43 ` [PATCH RESEND v5 3/3] mfd: max77693: Update DT binding to support haptic Jaewon Kim
2014-10-07 9:16 ` Lee Jones [this message]
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=20141007091603.GP25331@lee--X1 \
--to=lee.jones@linaro.org \
--cc=cw00.choi@samsung.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jaewon02.kim@samsung.com \
--cc=linux-kernel@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