Trenz Electronic GmbH Support Forum

Trenz Electronic Products => UltraScale => Topic started by: jhane on July 27, 2020, 09:25:49 PM

Title: Clean shutdown
Post by: jhane on July 27, 2020, 09:25:49 PM
Hello,
We are implementing a design using the 821 SOM and trying to understand if the SOM supports a clean shutdown on power-off.  So when the power button is pressed, linux is shutdown before power is removed. 

thanks,
jeff
Title: Re: Clean shutdown
Post by: Oleksandr Kiyenko on July 28, 2020, 08:19:51 AM
Hello Jeff.

You need to define something like that
https://kernel.googlesource.com/pub/scm/linux/kernel/git/kasatkin/linux-digsig/+/c284979affcc6870a9a6545fc4b1adb3816dfcbf/Documentation/devicetree/bindings/gpio/gpio-poweroff.txt
in your Linux device tree, based on your system configuration.

Best regards
Oleksandr Kiyenko
Title: Re: Clean shutdown
Post by: jhane on July 28, 2020, 09:06:23 AM
Hi Oleksandr

  I have seen that; however, the ZynqMP has the PMU and it has some support for power management which talk to another driver in the kernel to do clean shutdown of linux.   The PMU provides an external processor to deal with the power management and I just wanted make sure that Trenz did not have shutdown logic in the system controller before I try to understand the PMU.

thank you,
jeff
Title: Re: Clean shutdown
Post by: Oleksandr Kiyenko on July 28, 2020, 10:21:53 AM
Hi Jeff,
there is no active power control in current revision of system controller firmware.

Best regards
Oleksandr Kiyenko