ARM: dts: msm: enable haptic on Cobalt CDP and MTP

Add in device tree into for Cobalt CDP and MTP to enable haptic
function.

CRs-Fixed: CRs-Fixed: 1004941
Change-Id: Iead32e33e13b302baf541fa23e47a2f44846b0ff
Signed-off-by: Chun Zhang <chunz@codeaurora.org>
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
This commit is contained in:
Chun Zhang 2016-03-30 15:35:42 -07:00 committed by Kyle Yan
parent d8cb43eefc
commit b1c169bae4
3 changed files with 32 additions and 0 deletions

View file

@ -312,5 +312,29 @@
qcom,led-strings-list = [00 01 02 03]; qcom,led-strings-list = [00 01 02 03];
qcom,en-ext-pfet-sc-pro; qcom,en-ext-pfet-sc-pro;
}; };
pmicobalt_haptics: qcom,haptic@c000 {
status = "disabled";
compatible = "qcom,qpnp-haptic";
reg = <0xc000 0x100>;
interrupts = <0x3 0xc0 0x0>,
<0x3 0xc0 0x1>;
interrupt-names = "sc-irq", "play-irq";
qcom,actuator-type = "lra";
qcom,play-mode = "direct";
qcom,vmax-mv = <3200>;
qcom,ilim-ma = <800>;
qcom,wave-shape = "square";
qcom,wave-play-rate-us = <6667>;
qcom,int-pwm-freq-khz = <505>;
qcom,sc-deb-cycles = <8>;
qcom,en-brake;
qcom,brake-pattern = [03 03 00 00];
qcom,use-play-irq;
qcom,use-sc-irq;
qcom,lra-high-z = "opt1";
qcom,lra-auto-res-mode = "qwd";
qcom,lra-res-cal-period = <4>;
};
}; };
}; };

View file

@ -138,3 +138,7 @@
synaptics,fw-name = "PR1702898-s3528t_60QHD_00400001.img"; synaptics,fw-name = "PR1702898-s3528t_60QHD_00400001.img";
}; };
}; };
&pmicobalt_haptics {
status = "okay";
};

View file

@ -138,3 +138,7 @@
synaptics,fw-name = "PR1702898-s3528t_60QHD_00400001.img"; synaptics,fw-name = "PR1702898-s3528t_60QHD_00400001.img";
}; };
}; };
&pmicobalt_haptics {
status = "okay";
};