<?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: What addresses are the IMX7D integrated power switch registers mapped to? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1928442#M227151</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/75115"&gt;@takayuki_ishii&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to refer to the Reference Manual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 16:11:45 GMT</pubDate>
    <dc:creator>Chavira</dc:creator>
    <dc:date>2024-08-08T16:11:45Z</dc:date>
    <item>
      <title>What addresses are the IMX7D integrated power switch registers mapped to?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1928195#M227131</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our product is a battery-powered portable device.&lt;/P&gt;&lt;P&gt;We do not use Linux BSP but ROTS for this product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this product, some i.MX7D devices have a very large VDD_SOC leakage current&lt;/P&gt;&lt;P&gt;during power saving, resulting in a very short standby time.&lt;/P&gt;&lt;P&gt;So we plan to control SW_SOC_PD switch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In following community thread, it say that&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;please refer to section 5.5.11 (GPC PGC Memory Map/Register Definition) of i.MX 7Dual Applications Processor Reference Manual, Rev. 0.1, 08/2016&lt;/LI-CODE&gt;&lt;P&gt;&lt;A title="How to control the i.MX7D integrated power switches ON/OFF" href="https://community.nxp.com/t5/i-MX-Processors/How-to-control-the-i-MX7D-integrated-power-switches-ON-OFF/m-p/676245#M104291" target="_blank" rel="noopener"&gt;How to control the i.MX7D integrated power switches ON/OFF&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, while the six switches and corresponding registers can be guessed, SW_SOC_PD and SW_FUSE are not clear.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1.&amp;nbsp;Is the ON/OFF bit of SW_SOC_PD correct with the PCR bit (bit 0) of the GPC PGC Control Register (GPC_PGC_MIX_CTRL)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently reviewing the power saving implementation by comparing it with the Linux BSP source code.&lt;/P&gt;&lt;P&gt;In Linux source code "/drivers/soc/imx/gpcv2.c", it say that&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/*
 * The PGC offset values in Reference Manual
 * (Rev. 1, 01/2018 and the older ones) GPC chapter's
 * GPC_PGC memory map are incorrect, below offset
 * values are from design RTL.
 */
#define IMX7_PGC_MIPI			16
#define IMX7_PGC_PCIE			17
#define IMX7_PGC_USB_HSIC		20

#define GPC_PGC_CTRL(n)			(0x800 + (n) * 0x40)
#define GPC_PGC_SR(n)			(GPC_PGC_CTRL(n) + 0xc)&lt;/LI-CODE&gt;&lt;P&gt;And optee-os source "/core/drivers/pm/imx/suspend/psci-suspend-imx7.S"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#define MX7_SRC_GPR1	0x74
#define MX7_SRC_GPR2	0x78
#define GPC_PGC_C0	0x800
#define GPC_PGC_FM	0xa00&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it have difference between reference manual and Linux BSP source code.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;PGC module name&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;Reference Manual&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;&lt;P&gt;Linux BSP code&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;PGC for A7 core0&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;0x303A_0800&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;0x303A_0800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;PGC for A7 core1&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;0x303A_0840&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;PGC for A7 SCU&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;&lt;P&gt;0x303A_0880&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="40px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="77px"&gt;PGC for fastmix/megamix&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="77px"&gt;&lt;P&gt;0x303A_0890(GPC_PGC_SCU_AUXSW?)&lt;/P&gt;&lt;P&gt;0x303A_08C0(GPC_PGC_MIX_CTRL?)&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="77px"&gt;0x303A_0A00(GPC_PGC_FM)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="77px"&gt;PGC for MIPI PHY&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="77px"&gt;0x303A_0900&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="77px"&gt;&lt;P&gt;0x303A_0C00&lt;/P&gt;&lt;P&gt;BASE + (0x800 + (16) * 0x40)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="77px"&gt;PGC for PCIE_PHY&lt;/TD&gt;&lt;TD height="77px"&gt;0x303A_940&lt;/TD&gt;&lt;TD height="77px"&gt;&lt;P&gt;0x303A_0C40&lt;/P&gt;&lt;P&gt;BASE + (0x800 + (17) * 0x40)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="47px"&gt;PGC for USB HSIC PHY&lt;/TD&gt;&lt;TD height="47px"&gt;0x303A_0D00&lt;/TD&gt;&lt;TD height="47px"&gt;&lt;P&gt;0x303A_0D00&lt;/P&gt;&lt;P&gt;BASE + (0x800 + (20) * 0x40)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2. Which is correct address?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ishii.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 10:20:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1928195#M227131</guid>
      <dc:creator>takayuki_ishii</dc:creator>
      <dc:date>2024-08-08T10:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: What addresses are the IMX7D integrated power switch registers mapped to?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1928442#M227151</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/75115"&gt;@takayuki_ishii&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to refer to the Reference Manual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 16:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1928442#M227151</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-08-08T16:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: What addresses are the IMX7D integrated power switch registers mapped to?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1932864#M227333</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; You have to refer to the Reference Manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will write the source code by referring to the reference manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Q1.&amp;nbsp;Is the ON/OFF bit of SW_SOC_PD correct with the PCR bit (bit 0) of the GPC PGC Control Register (GPC_PGC_MIX_CTRL)?&lt;/P&gt;&lt;P&gt;What do you think of the answer to Q1?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate your cooperation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ishii.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 09:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1932864#M227333</guid>
      <dc:creator>takayuki_ishii</dc:creator>
      <dc:date>2024-08-15T09:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: What addresses are the IMX7D integrated power switch registers mapped to?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1933139#M227341</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/75115"&gt;@takayuki_ishii&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The GPC_PGC_MIX_CTRL should be PGC for fastmix/megamix and according to the diagram below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chavira_0-1723744134429.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293491iF48E6275F2C1642F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chavira_0-1723744134429.png" alt="Chavira_0-1723744134429.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 17:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/What-addresses-are-the-IMX7D-integrated-power-switch-registers/m-p/1933139#M227341</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-08-15T17:49:13Z</dc:date>
    </item>
  </channel>
</rss>

