forked from msm8916-mainline/linux
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: qcom: pmi8950: add pmi8950-haptics
Signed-off-by: Gianluca Boiano <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
// Copyright (c) 2019, AngeloGioacchino Del Regno <[email protected]> | ||
|
||
#include <dt-bindings/iio/qcom,spmi-vadc.h> | ||
#include <dt-bindings/input/qcom,spmi-haptics.h> | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
#include <dt-bindings/spmi/spmi.h> | ||
|
||
|
@@ -198,6 +199,18 @@ | |
status = "disabled"; | ||
}; | ||
|
||
pmi8950_haptics: haptics@c000 { | ||
compatible = "qcom,pmi8950-haptics", "qcom,spmi-haptics"; | ||
reg = <0xc000>; | ||
|
||
interrupts = <0x3 0xc0 0x0 IRQ_TYPE_EDGE_BOTH>, | ||
<0x3 0xc0 0x1 IRQ_TYPE_EDGE_BOTH>; | ||
interrupt-names = "short", "play"; | ||
qcom,play-mode = <HAP_PLAY_BUFFER>; | ||
|
||
status = "disabled"; | ||
}; | ||
|
||
pmi8950_wled: leds@d800 { | ||
compatible = "qcom,pmi8950-wled"; | ||
reg = <0xd800>, <0xd900>; | ||
|