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
这个提交包含在:
Mallikarjun S T
2022-04-09 21:09:35 +05:30
父节点 9214369e79
当前提交 eba3412350
修改 4 个文件,包含 139 行新增25 行删除

查看文件

@@ -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);