2020-12-02 10:13 PM
Hi:
I encountered a strange problem when I tried to operate the gpioz pin with the gpioset command in user space and found that the level never changed. Can you give some suggestions to solve it.
2020-12-02 11:15 PM
Hi,
did you assign the gpioz peripheral to the secure context in your device tree using the etzpc node?
2020-12-03 12:32 AM
Hi:
I've done it in the TF-A device tree,first,first, I add an ID to gpioz,and then assign the gpioz peripheral to the non secure context in device tree using the etzpc node.
include/dt-bindings/soc/st,stm32-etzpc.h:101:#define STM32MP1_ETZPC_GPIOZ_ID 95
but it seems that it has no effect
2020-12-03 12:35 AM
Hi:
I've done it in the TF-A device tree,first,first, I add an ID to gpioz,and then assign the gpioz peripheral to the non secure context in device tree using the etzpc node.
include/dt-bindings/soc/st,stm32-etzpc.h:101:#define STM32MP1_ETZPC_GPIOZ_ID 95
then assign using the etzpc node:
DECPROT(STM32MP1_ETZPC_GPIOZ_ID, DECPROT_NS_RW,DECPROT_UNLOCK)
but it seems that it has no effect