-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input: pm8xxx-vibrator - add DT match table
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
- Loading branch information
Stephen Boyd
authored and
Dmitry Torokhov
committed
Mar 30, 2014
1 parent
57918df
commit 877e1f1
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Qualcomm PM8xxx PMIC Vibrator | ||
|
||
PROPERTIES | ||
|
||
- compatible: | ||
Usage: required | ||
Value type: <string> | ||
Definition: must be one of: | ||
"qcom,pm8058-vib" | ||
"qcom,pm8921-vib" | ||
|
||
- reg: | ||
Usage: required | ||
Value type: <prop-encoded-array> | ||
Definition: address of vibration control register | ||
|
||
EXAMPLE | ||
|
||
vibrator@4a { | ||
compatible = "qcom,pm8058-vib"; | ||
reg = <0x4a>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters