<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Join pf1550 SHIP state in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Join-pf1550-SHIP-state/m-p/715839#M111227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SHIP mode is entered if the GOTO_SHIP bit is set in the REGS_DISABLE state. The only way to exit from this mode is by a charger attach event. The state machine exits to the REGS_DISABLE state when this happens. A battery re-attach can also be used to exit SHIP mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GOTO_SHIP = 1. This is used to initiate the device to go into the SHIP mode. When GOTO_SHIP bit is set to 1, the state machine proceeds from one of the “System On” states to the REGS_DISABLE mode to the SHIP mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Transition from REGS_DISABLE to SHIP mode, GOTO_SHIP = 1 &amp;amp;&amp;amp; VBUS_INVALID = 1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The transition to SHIP mode is not implemented in the linux driver, I’m afraid that if you need to use this mode, you need to implement it in your driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2018 19:38:04 GMT</pubDate>
    <dc:creator>reyes</dc:creator>
    <dc:date>2018-05-31T19:38:04Z</dc:date>
    <item>
      <title>Join pf1550 SHIP state</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Join-pf1550-SHIP-state/m-p/715838#M111226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2&gt;Context&lt;/H2&gt;&lt;P&gt;I am using a pf1550 PMIC alongside a iMX6 processor, and&amp;nbsp;I use Yocto to build iMX6 processor software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appended linux-fslc recipe in my layer to switch from &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;4.9.x+fslc&lt;/SPAN&gt; branch to &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;4.9-1.0.x-imx&lt;/SPAN&gt; branch, which contains pf1550 regulator driver.&amp;nbsp;My pf1550 regulator driver loads&amp;nbsp;flawlessly with wanted running-state voltages applied to all outputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The product is powered from an external source, with a internal lithium fallback battery.&lt;/P&gt;&lt;P&gt;I want the product to join pf1550 &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;SHIP&lt;/SPAN&gt; state&amp;nbsp;in few cases (factory is the easier case), waiting to be main powered to preserve internal lithium battery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Issue&lt;/H2&gt;&lt;P&gt;I read pf1550 datasheet (transition J in state machine chapter) and linux driver, but I fail to see how this driver can put pf1550 in this &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;SHIP&lt;/SPAN&gt;&amp;nbsp;state. I guess there should be a way to fill registers appropriately and shut-down the processor.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Am I missing something?&lt;/LI&gt;&lt;LI&gt;Has this been implemented (maybe in another branch)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, maybe linked but I am not sure: when I power-off my main processor, the board consumes more power than when processor is running. Not sure &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;REGS_DISABLE&lt;/SPAN&gt; state is reached when main processor is off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;External links&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://github.com/Freescale/linux-fslc/blob/4.9-1.0.x-imx/drivers/regulator/pf1550.c" title="https://github.com/Freescale/linux-fslc/blob/4.9-1.0.x-imx/drivers/regulator/pf1550.c"&gt;linux-fslc/pf1550.c at 4.9-1.0.x-imx · Freescale/linux-fslc · GitHub&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 12:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Join-pf1550-SHIP-state/m-p/715838#M111226</guid>
      <dc:creator>anthony-loiseau-act</dc:creator>
      <dc:date>2018-05-23T12:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Join pf1550 SHIP state</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Join-pf1550-SHIP-state/m-p/715839#M111227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SHIP mode is entered if the GOTO_SHIP bit is set in the REGS_DISABLE state. The only way to exit from this mode is by a charger attach event. The state machine exits to the REGS_DISABLE state when this happens. A battery re-attach can also be used to exit SHIP mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GOTO_SHIP = 1. This is used to initiate the device to go into the SHIP mode. When GOTO_SHIP bit is set to 1, the state machine proceeds from one of the “System On” states to the REGS_DISABLE mode to the SHIP mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Transition from REGS_DISABLE to SHIP mode, GOTO_SHIP = 1 &amp;amp;&amp;amp; VBUS_INVALID = 1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The transition to SHIP mode is not implemented in the linux driver, I’m afraid that if you need to use this mode, you need to implement it in your driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 19:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Join-pf1550-SHIP-state/m-p/715839#M111227</guid>
      <dc:creator>reyes</dc:creator>
      <dc:date>2018-05-31T19:38:04Z</dc:date>
    </item>
  </channel>
</rss>

