mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 20:03:33 -04:00
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:
parent
4692ceb6c1
commit
bcdfceeaf3
1 changed files with 4 additions and 0 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue