Skip to content

Commit

Permalink
arm64: dts: qcom: pmi8950: add pmi8950-haptics
Browse files Browse the repository at this point in the history
Signed-off-by: Gianluca Boiano <[email protected]>
  • Loading branch information
M0Rf30 authored and barni2000 committed Nov 19, 2024
1 parent 16cddf1 commit 1e5835f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm64/boot/dts/qcom/pmi8950.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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>;
Expand Down

0 comments on commit 1e5835f

Please sign in to comment.