msm: 8960: add config option for enabling/disabling SDC3 write protection

SD card write protect pin is only supported on full size SD cards,
micro SD cards do not support write protect pin.

On 8960, one extra PMIC GPIO pin is required for reading the
write protect pin status. But if platform form factor do not
support full size SD card then this GPIO pin would be unused.

This change gives option to enable/disable the SD card write
protect detection for SDC3 slot.

CRs-fixed: 307459
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
3 files changed