Skip to content
Snippets Groups Projects
Commit c38b4f25 authored by GitBot's avatar GitBot
Browse files

Integrate linux-imx-kuk/dual-espresso_custom-poweroff

--

Commit: seco-ne/kernel/linux-imx-kuk@65760c59

dts:dual-espresso: Add custom poweroff routine

The power off routine monitors the PW_FAIL24V# signal. If the 24V
are active or become active again while the system is in the custom
power off routine, a restart is triggered.

BCS 746-001083

--

Commit: seco-ne/kernel/linux-imx-kuk@858faf2e

drivers:psci: Add possibility to skip the assignment of pm_power_off

Since we need a custom poweroff routine for the dual-espresso project,
pm_power_off must be assigned to a special function. pm_power_off is
assigned to psci_sys_poweroff by default. Added a devicetree property
that allows to skip the assignment of pm_power_off to avoid a potential
race condition.

BCS 746-001083

--

Commit: seco-ne/kernel/linux-imx-kuk@f005841e

drivers:power: Add a custom poweroff module for dual-espresso

The module monitors a gpio state and calls the kernel restart
handler when the gpio has a specific state. This done by assigning a
the monitor routine to the pm_power_off function pointer. In this way,
the monitoring starts as the last step of a shutdown -P call.
Devicetree properties:
* init-delay-ms: Set an initial delay until the monitoring is started
* monitor-delay-ms: Poll delay of the gpio

BCS 746-001083
parent 42f9581c
No related branches found
No related tags found
1 merge request!934Integrate linux-imx-kuk/dual-espresso_custom-poweroff
Pipeline #43740 passed with stages
in 54 seconds
......@@ -8,7 +8,7 @@ SRCREV:pn-seco-show-demo = "3efa98e1e01af6e4610bfd07b90d8fbbb7ea3ca4"
SRCREV:pn-libmdb = "9e057c125429a7720956d3067fcda0d6e66d09db"
SRCREV:pn-linux-guf = "0142c5bc8f2c1e94e674bfeb3b2cc6a9fe818761"
SRCREV:pn-linux-seconorth = "36f64724f1bb68be8e806f7a17f2641226385c22"
SRCREV:pn-linux-imx = "d97971d2143b819c133a382064fd73ebdb834c62"
SRCREV:pn-linux-imx = "65760c5910a6a58496383bc1015f67a2841a5c8b"
SRCREV:pn-linux-imx-kuk = "0258f07c61364958e3307da11a388e72baffb03a"
SRCREV:pn-touchcal-conv = "e02e43816208456e770df9f4891e37cd4afa73e2"
SRCREV:pn-u-boot-imx = "ceeeaeb5a6be1e7828e623cc1b8a9b0b0d37a55b"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment