target: msm8952: Add target support for QCM2150
Add baseband selection, DDR config and Vibrator support for QCM2150.
Change-Id: I5e2ae05ff62906f11ff68fe8f3c54290f809deb1
Signed-off-by: Nagireddy Annem <nannem@codeaurora.org>
diff --git a/target/init.c b/target/init.c
index fa30f3e..bb40155 100644
--- a/target/init.c
+++ b/target/init.c
@@ -315,6 +315,7 @@
case SDA429:
case SDA439:
case QM215:
+ case QCM2150:
/* SDCC HC DDR CONFIG has shifted by 4 bytes for these platform */
ret += 4;
break;
@@ -405,6 +406,7 @@
case SDA429:
case SDA439:
case QM215:
+ case QCM2150:
case SDM429W:
config->vib_type = VIB_LRA_TYPE;
config->hap_rate_cfg1 = QPNP_HAP_RATE_CFG1_41;
diff --git a/target/msm8952/init.c b/target/msm8952/init.c
index c7f2da3..8446481 100755
--- a/target/msm8952/init.c
+++ b/target/msm8952/init.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -428,6 +428,7 @@
case SDM439:
case SDM429W:
case QM215:
+ case QCM2150:
board->baseband = BASEBAND_MSM;
break;
case APQ8052: