NFC: driver: FR63179 Add NFC dynamic protection control
Implemented NFC dynamic protection control feature in driver; performing Ven GPIO enable/disable post TZ notifications in non-secure/secure zone respectively. Change-Id: I13dedf23987ce0b3b2a53881d35f6c3cf462cd92
这个提交包含在:
@@ -47,6 +47,8 @@ int nfc_ese_pwr(struct nfc_dev *nfc_dev, unsigned long arg)
|
||||
pr_debug("keep ven high as NFC is enabled\n");
|
||||
}
|
||||
nfc_dev->is_ese_session_active = false;
|
||||
if(chk_eSE_pwr_off)
|
||||
up(&sem_eSE_pwr_off);
|
||||
} else if (arg == ESE_POWER_STATE) {
|
||||
/* get VEN gpio state for eSE, as eSE also enabled through same GPIO */
|
||||
ret = gpio_get_value(nfc_dev->configs.gpio.ven);
|
||||
|
在新工单中引用
屏蔽一个用户