platform: msm8909: Add macros to enable Haptics for PM660
PM660 pmic uses haptics for vibrator PON vibrator.
Add support for haptics for msm8909 with PM660.
Change-Id: Ie1d68878d8f29ec94ce6ff80c15bd0c8315259d5
diff --git a/platform/msm8909/include/platform/iomap.h b/platform/msm8909/include/platform/iomap.h
index f0a7db9..9b59657 100644
--- a/platform/msm8909/include/platform/iomap.h
+++ b/platform/msm8909/include/platform/iomap.h
@@ -79,6 +79,9 @@
#define CLK_CTL_BASE 0x1800000
+#define PMI_SECOND_SLAVE_OFFSET 0x1
+#define PMI_SECOND_SLAVE_ADDR_BASE (PMI_SECOND_SLAVE_OFFSET << 16)
+
#define SPMI_BASE 0x02000000
#define SPMI_GENI_BASE (SPMI_BASE + 0xA000)
#define SPMI_PIC_BASE (SPMI_BASE + 0x01800000)