Skip to content

Commit

Permalink
arm/dt: msm8610: Add DT support for haptics
Browse files Browse the repository at this point in the history
Add necessary DT settings for haptics on msm8610 devices

Change-Id: I116dcc02de5b259410b3a6b6c64a149bd3e7c613
Signed-off-by: Chun Zhang <[email protected]>
  • Loading branch information
chunz2 committed Apr 19, 2013
1 parent a11345f commit 3450f83
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/msm-pm8110.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,12 @@
reg = <0x5500 0x100>;
status = "disabled";
};

qcom,vibrator@c000 {
compatible = "qcom,qpnp-vibrator";
reg = <0xc000 0x100>;
label = "vibrator";
status = "disabled";
};
};
};
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/msm8610-cdp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@
};
};

&spmi_bus {
qcom,pm8110@1 {
qcom,vibrator@c000 {
status = "okay";
qcom,vib-timeout-ms = <15000>;
qcom,vib-vtg-level-mV = <3100>;
};
};
};

&sdhc_1 {
vdd-supply = <&pm8110_l17>;
qcom,vdd-always-on;
Expand Down
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/msm8610-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@
};
};

&spmi_bus {
qcom,pm8110@1 {
qcom,vibrator@c000 {
status = "okay";
qcom,vib-timeout-ms = <15000>;
qcom,vib-vtg-level-mV = <3100>;
};
};
};

&sdhc_1 {
vdd-supply = <&pm8110_l17>;
qcom,vdd-always-on;
Expand Down

0 comments on commit 3450f83

Please sign in to comment.