This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.1. Purpose[edit source]
This article describes the configuration of the PWR wake-up pins.
The PWR Wake-up pins are used to wake-up from Standby from an external peripheral source.
2. Overview[edit source]
schema
- bloc1.
- bloc2.
- bloc3.
3. OP-TEE Wake-up pin configuration[edit source]
Wake-up pins are configured in OP-TEE via device-tree. A very small driver named pwr-irq-user can be instantiated to handle the desired wake-up pin and send a OPTEE notification to Linux in case of event.
fixme need yaml.
4. Linux Wake-up pin usage[edit source]
Linux does not handle wake-up pin, but it can receives OP-TEE notifications as any interrupt. This is configured via device-tree.
fixme need yaml.
5. Example with wake-up pin 2[edit source]
OP-TEE device tree:
wakeup_button: wakeup-button { compatible = "st,stm32mp1,pwr-irq-user"; st,wakeup-pin-number = <1>; st,notif-it-id = <2>; status = "okay"; };
Linux device tree:
wake_up { compatible = "gpio-keys"; status = "okay"; button { label = "wake-up"; linux,code = <KEY_WAKEUP>; interrupts-extended = <&optee 2>; status = "okay"; }; };
6. References[edit source]