rhodec: saperate gpio TZ protection

TZ protect gpio45,46,56,57 for NFC SPI,
but the four of them are used for camera sensor power supply.
so we need to saperate them from holi baseline

Change-Id: I67746f299490c56baf1df3e0fa31482362ba9837
Signed-off-by: Xiaofeng Wang <wangxf32@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2131677
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xingyun Fu <fuxy7@motorola.com>
Reviewed-by: Shuo Wang <wangsh18@motorola.com>
Reviewed-by: <weilt2@motorola.com>
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Xiaofeng Wang 2021-12-01 13:40:12 +08:00 • committed by Xiaojun Ji
commit bcdfceeaf3

View file

@ -1538,7 +1538,11 @@ static const struct msm_pingroup holi_groups[] = {
};
static const int holi_reserved_gpios[] = {
#ifdef CONFIG_RHODEC_DTB
13, 14, 15, 16, -1
#else
13, 14, 15, 16, 45, 46, 56, 57, -1
#endif
};
static const struct msm_gpio_wakeirq_map holi_mpm_map[] = {