msm_serial_hs_lite: Prevent system suspend when UART  port is used.

Currently driver doesn't prevent system suspend if UART port is
being used. This change adds support to prevent system suspend
when UART port is opened/under used. With this feature, wakelock
is acquire when UART port is being opened and release when UART
port is being closed.

To enable this feature, set use_pm platform data with required
UART port.

Also document use_pm pdata usage with device tree binding.

CRs-Fixed: 430726
Change-Id: I441b527af7047d57f6a5366e7c8277f413dc9d4e
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
3 files changed