target: init: add haptic vibrator support for titanium MTP
Add LRA vibrator support for MSMTITANIUM and APQTITANIUM.
Change-Id: Ia238f350381e3300389c955ecf6f41da82d357ee
diff --git a/target/init.c b/target/init.c
index d8d8073..ca64cd1 100644
--- a/target/init.c
+++ b/target/init.c
@@ -274,9 +274,12 @@
case MSMGOLD2:
case MSMGOLD3:
case APQGOLD:
+ case MSMTITANIUM:
+ case APQTITANIUM:
config->vib_type = VIB_LRA_TYPE;
config->hap_rate_cfg1 = QPNP_HAP_RATE_CFG1_41;
config->hap_rate_cfg2 = QPNP_HAP_RATE_CFG2_03;
+ break;
default:
dprintf(CRITICAL,"Unsupported platform id\n");
break;