<?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: ptn5110 device tree configuration? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ptn5110-device-tree-configuration/m-p/1269588#M173351</link>
    <description>&lt;P&gt;Hello, thank you for your response and also sorry for the late reply as I am only working as a part time.&lt;BR /&gt;We found out, where in the kernel we have to supply the regulator voltage, here&lt;BR /&gt;&amp;nbsp;&lt;A href="https://elixir.bootlin.com/linux/latest/source/drivers/usb/typec/tcpm/tcpm.c#L3861" target="_self"&gt;https://elixir.bootlin.com/linux/latest/source/drivers/usb/typec/tcpm/tcpm.c#L3861,&lt;/A&gt;&lt;BR /&gt;so we got some idea to move ahead, we will seek your help, if there is any confusions ahead..&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 10:19:10 GMT</pubDate>
    <dc:creator>amodamatya</dc:creator>
    <dc:date>2021-04-28T10:19:10Z</dc:date>
    <item>
      <title>ptn5110 device tree configuration?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ptn5110-device-tree-configuration/m-p/1263648#M172746</link>
      <description>&lt;P&gt;We have been using imx8qxp processors which has support for USB Power delivery.&lt;BR /&gt;In &lt;A href="https://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm64/boot/dts/freescale/imx8x-mek.dtsi?h=toradex_5.4-2.1.x-imx#n868" target="_self"&gt;imx8x-mek.dtsi&lt;/A&gt;&amp;nbsp;, I can see that there is a node for ptn5110 device. We would want the device to be able to provide 5V, 12V and 15V with 3A current.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have changed the source pdos to the values that I have mentioned above in this way, is this a correct implementation?&amp;nbsp;How does the voltage switching in kernel happen? Do I have to write down some properties for the vbus-supply to switch the vo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&lt;SPAN&gt;remote-endpoint = &amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;usb3_data_ss&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Apr 2021 14:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ptn5110-device-tree-configuration/m-p/1263648#M172746</guid>
      <dc:creator>amodamatya</dc:creator>
      <dc:date>2021-04-16T14:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: ptn5110 device tree configuration?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ptn5110-device-tree-configuration/m-p/1264506#M172839</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe this configuration involves SW and HW but need to check internally. In the meantime, could you please share your schematics in order to check the HW part?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Ivan.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 16:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ptn5110-device-tree-configuration/m-p/1264506#M172839</guid>
      <dc:creator>IvanRuiz</dc:creator>
      <dc:date>2021-04-19T16:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: ptn5110 device tree configuration?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ptn5110-device-tree-configuration/m-p/1269588#M173351</link>
      <description>&lt;P&gt;Hello, thank you for your response and also sorry for the late reply as I am only working as a part time.&lt;BR /&gt;We found out, where in the kernel we have to supply the regulator voltage, here&lt;BR /&gt;&amp;nbsp;&lt;A href="https://elixir.bootlin.com/linux/latest/source/drivers/usb/typec/tcpm/tcpm.c#L3861" target="_self"&gt;https://elixir.bootlin.com/linux/latest/source/drivers/usb/typec/tcpm/tcpm.c#L3861,&lt;/A&gt;&lt;BR /&gt;so we got some idea to move ahead, we will seek your help, if there is any confusions ahead..&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 10:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ptn5110-device-tree-configuration/m-p/1269588#M173351</guid>
      <dc:creator>amodamatya</dc:creator>
      <dc:date>2021-04-28T10:19:10Z</dc:date>
    </item>
  </channel>
</rss>

