Merge "driver: pinctrl: Add reserved GPIOs for Holi"

This commit is contained in:
qctecmdr 2020-07-30 02:34:55 -07:00 • committed by Gerrit - the friendly Code Review server
commit 10d419bbd1

View file

@ -1532,6 +1532,10 @@ static const struct msm_pingroup holi_groups[] = {
[163] = SDC_QDSD_PINGROUP(sdc2_data, 0x1a2000, 9, 0),
};
static const int holi_reserved_gpios[] = {
13, 14, 15, 16, 45, 46, 56, 57, -1
};
static const struct msm_gpio_wakeirq_map holi_mpm_map[] = {
{0, 84},
{3, 6},
@ -1609,6 +1613,7 @@ static const struct msm_pinctrl_soc_data holi_pinctrl = {
.nfunctions = ARRAY_SIZE(holi_functions),
.groups = holi_groups,
.ngroups = ARRAY_SIZE(holi_groups),
.reserved_gpios = holi_reserved_gpios,
.ngpios = 157,
.wakeirq_map = holi_mpm_map,
.nwakeirq_map = ARRAY_SIZE(holi_mpm_map),