msm: rpc: add shutdown and restart handler for rpc

Add shutdown and restart handler for rpcrouter. The
shutdown handler will take care of calling the
msm_rpcrouter_close function with a pre defined
priority. PM no longer had to handle rpc in the shutdown/reboot
sequence.

Signed-off-by: Angshuman Sarkar <angshuman@codeaurora.org>
(cherry picked from commit 4e253c2c596ff611556736822a6df166132504e7)

Change-Id: I312c38ce222f10cc5589bb9de22d7a6bf47045d5
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
msm: rpc: add shutdown and restart handler for rpc

Add shutdown and restart handler for rpcrouter. The
shutdown handler take care of calling the
msm_rpcrouter_close function with a pre defined
priority. PM no longer handle rpc close in the shutdown/reboot
sequence.

CRs-fixed: 396641
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: Angshuman Sarkar <angshuman@codeaurora.org>
(cherry picked from commit 0975c60881a90c0adf36bac4739b812e34acb813)

Conflicts:

	arch/arm/mach-msm/smd_rpcrouter.c

Change-Id: I3dd21a72eb624273b16f5a300b55b068a02d509b
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
msm: restart_7k: Disable local IRQ interrupt

While doing the power on/off test, there is a chance
where APPS proc can receive the proc comm interrupt from
the modem. But at this stage proc comm channels are
already disabled and can't handle any new proc comm
requests that are coming in. Hence disable the local
interrupts.

Change-Id: If80928e69ae0d1522b0da186e075142122d9558d
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
mogami/zeus: Disable unsupported features.

These parameters are only handled on 1080p.

Change-Id: Ica5bcde058bd195126c4f5d7bc188297f64de1c6
misc: pmem: Add support for CMA.

Add new allocator type PMEM_ALLOCATORTYPE_DMA.
This is based on the PMEM system heap + ION CMA heap.

To use CMA (platform data changes):
 * Select allocator type PMEM_ALLOCATORTYPE_DMA.
 * Supply private_data with CMA device.

Change-Id: I3ca87e862117b064f34c0ebe79d356ab72088122
mogami/zeus: Use tabs instead of spaces.

Also, set PMEM id to 0 since there's only one PMEM heap.

Change-Id: Ic82f23056db600cef9928eeb0ec8df4e4e6a1327
Revert "msm: memory: Add back fmem reservation code."

This reverts commit a18e206bce31bb0e19818ce2d5c227d2fb20f439.

Change-Id: I6b099bd54b36f5dc5de7e4966daea08ab2480759
defconfigs: Sync zeus configs with mogami

Change-Id: Ie54a74e8620ec6426fc3b3953f9c6007f68129ec
Cleanup zeus ifdefs

Use our new Kconfig option that covers both zeus & phoenix

Change-Id: Iec693998017c9d8cdfc23ae62c165d987ad2ee20
Import pmic_keypad changes from 6.2.B.0.200

Modified from fuji for zeus
Removed all fuji references making driver more generic

Change-Id: I14493f181ecfb030cb78183633ffb814095ab2b9
zeus/phoenix: Add support for pmic keypad

Change-Id: I2a3f9629d3a91db1d5b61a9f7592f20f51b35927
Merge changes I6b099bd5,Ic82f2305,I3ca87e86,Ica5bcde0,If80928e6, ... into android-4.4

* changes:
  Revert "msm: memory: Add back fmem reservation code."
  mogami/zeus: Use tabs instead of spaces.
  misc: pmem: Add support for CMA.
  mogami/zeus: Disable unsupported features.
  msm: restart_7k: Disable local IRQ interrupt
  msm: rpc: add shutdown and restart handler for rpc
  msm: rpc: add shutdown and restart handler for rpc