msm_serial_hs_lite: Add support to use 4-wire UART

GSBI based UART is used in shared mode. Hence this driver only
supports configuring Tx and Rx GPIOs with configuring GSBI control
register with I2C/UART Shared mode protocol.
Add support in this driver for 4-wire UART related configuration
i.e.GPIOs (i.e. Tx, Rx, CTS, RFR signal lines) and programming
GSBI control register with UART mode protocol.

4-wire UART related configuration is done based on platform data
variable config_gpio.
For 4-wire UART, set config_gpio as 4 to configre all 4 GPIOs.
For 2-wire UART, set config_gpio as 1 to configure only Tx and Rx
GPIOs.

Also document added new pdata and their usage with device tree.

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