msm: rpm: Refactor Low Power Mgmt drivers to support single binary

Move enumeration into uint arrays that can be chosen based on
the device file configuration.

rpm.h will have a superset of all enumeration for all targets.
The device file configuration will map the enumeration defined
in rpm.h to the target specific enumeration defined in rpm-XXXX.h.

Device drivers that need to communicate with RPM will continue to
use the enumeration defined in rpm.h and the RPM driver will translate
the generic enumeration to a device specific enumeration before sending
the RPM message to the RPM processor.

Also refactor SPM and MPM data for the supported targets.

Add RPM, SPM, LPM and MPM driver support for APQ8064 and MSM8930 targets.

Supported targets: 8660, 8960, 9615, 8930, 8064

Change-Id: I0d4ed7634cb221c124bc59a946932f7ac557ef58
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
24 files changed