<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Just see if you are missing gpio line names patch from intel in your kernel device tree. Mainly look for PSPowerOK pin if it is configured properly in device tree.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">openbmc <openbmc-bounces+vijaykhemka=fb.com@lists.ozlabs.org> on behalf of Patrick Voelker <Patrick_Voelker@phoenix.com><br>
<b>Date: </b>Wednesday, August 26, 2020 at 6:04 PM<br>
<b>To: </b>"OpenBMC (openbmc@lists.ozlabs.org)" <openbmc@lists.ozlabs.org><br>
<b>Subject: </b>Wolf Pass power control<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">I’m working on a Wolf Pass build for Phoenix and am having issues with power control. I believe I’ve got all the GPIOs setup correctly and the power-control service is running. It asserts POWER_OUT but it’s timing out waiting for PS_PWROK
assertion.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">As far as I can tell, those GPIOs are setup exactly like it’s setup on the IntelBMC version. Is there anything that jumps out at you here that I might look at next? I’m not sure why asserting POWER_OUT wouldn’t cause a power up sequence
to occur.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">## Current behavior of my wolf pass build at power on request<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:42 wolfpass power-control[224]: powerStateFailedTransitionToOn: power-on request event received<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:42 wolfpass power-control[224]: power supply power OK watchdog timer started<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:42 wolfpass power-control[224]: Moving to "Wait for Power Supply Power OK" state<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:42 wolfpass power-control[224]: POWER_OUT set to 0<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:42 wolfpass power-control[224]: Error in finding CurrentHostState property<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:42 wolfpass power-control[224]: POWER_OUT released<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:50 wolfpass power-control[224]: power supply power OK watchdog timer expired<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:50 wolfpass power-control[224]: powerStateWaitForPSPowerOK: power supply power OK watchdog timer expired event received<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:50 wolfpass power-control[224]: Moving to "Failed Transition to On" state<o:p></o:p></p>
<p class="MsoNormal">Jan 01 00:02:50 wolfpass power-control[224]: PowerControl: power supply power good failed to assert<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">## Example of good power on sequence from IntelBMC<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: powerStateOff: power-on request event received.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: power supply power OK watchdog timer started<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: Moving to "Wait for Power Supply Power OK" state.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: POWER_OUT set to 0<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: Error in finding CurrentHostState property<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: POWER_OUT released<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: powerStateWaitForPSPowerOK: SIO S5 de-assert event received.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: No action taken.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: SIO_ONCONTROL value changed: 0<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: powerStateWaitForPSPowerOK: power supply power OK assert event received.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: SIO power good watchdog timer started<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: Moving to "Wait for SIO Power Good" state.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:34 power-control[236]: power supply power OK watchdog timer canceled<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: powerStateWaitForSIOPowerGood: SIO power good assert event received.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: Moving to "On" state.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: Host system DC power is on<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: SIO power good watchdog timer canceled<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: POH timer started<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: powerStateOn: SIO power good de-assert event received.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: No action taken.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: powerStateOn: SIO power good assert event received.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:43:35 power-control[236]: No action taken.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:44:32 power-control[236]: powerStateOn: POST Complete assert event received.<o:p></o:p></p>
<p class="MsoNormal">Aug 26 11:44:32 power-control[236]: No action taken.<o:p></o:p></p>
</div>
</body>
</html>