Add support for configuring user-defined ramp-pause-hi/lo count in SDAM
to support PPG with the following device tree properties.
- qcom,ramp-pause-hi-count
- qcom,ramp-pause-lo-count
The qpnp_lpg_parse_pattern_dt() function has been refactored to fix the
cyclomatic complexity warning.
Change-Id: Ib35dbe8ef0ff354ea84aeed8a24d41868a1b7502
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>