<?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>i.MX ProcessorsのトピックRe: imx8Quad Max SNVS access for Linux drivers</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2032423#M233244</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can add this to the device registry, since NXP don't have a similar application to show. The SVNS is used for security, and SNVS mode is different from sleep mode, GPIO states are not preserved.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 14:46:50 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2025-01-22T14:46:50Z</dc:date>
    <item>
      <title>imx8Quad Max SNVS access for Linux drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2031579#M233206</link>
      <description>&lt;P&gt;Trying to use snvs_pwrkey driver in drivers/input/input/keyboard/&lt;/P&gt;&lt;P&gt;kernel 5.10.72&lt;/P&gt;&lt;P&gt;There appears to be no snvs entries in the device tree to setup access to SNVS_HPSR (status register).&lt;/P&gt;&lt;P&gt;Is this possible (old kernel) or is there some other magic for the driver to access the SNVS status register?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 16:03:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2031579#M233206</guid>
      <dc:creator>flobro</dc:creator>
      <dc:date>2025-01-21T16:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: imx8Quad Max SNVS access for Linux drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2032423#M233244</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can add this to the device registry, since NXP don't have a similar application to show. The SVNS is used for security, and SNVS mode is different from sleep mode, GPIO states are not preserved.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 14:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2032423#M233244</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-01-22T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: imx8Quad Max SNVS access for Linux drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2032466#M233247</link>
      <description>&lt;P&gt;device registry?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 16:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2032466#M233247</guid>
      <dc:creator>flobro</dc:creator>
      <dc:date>2025-01-22T16:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: imx8Quad Max SNVS access for Linux drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2033195#M233293</link>
      <description>&lt;P&gt;Yes, In device tree.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 12:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2033195#M233293</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-01-23T12:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: imx8Quad Max SNVS access for Linux drivers</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2033200#M233295</link>
      <description>&lt;P&gt;Can you point to an example of a device tree entry for this? I have the entry for imx8MP:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;snvs: snvs@30370000 {&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;				compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;				reg = &amp;lt;0x30370000 0x10000&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN&gt;&lt;SPAN class=""&gt;				snvs_rtc: snvs-rtc-lp {&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					compatible = "fsl,sec-v4.0-mon-rtc-lp";&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					regmap =&amp;lt;&amp;amp;snvs&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					offset = &amp;lt;0x34&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					interrupts = &amp;lt;GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH&amp;gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;						     &amp;lt;GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_SNVS_ROOT&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					clock-names = "snvs-rtc";&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;				};&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN&gt;&lt;SPAN class=""&gt;				snvs_pwrkey: snvs-powerkey {&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					compatible = "fsl,sec-v4.0-pwrkey";&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					regmap = &amp;lt;&amp;amp;snvs&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					interrupts = &amp;lt;GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_SNVS_ROOT&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					clock-names = "snvs-pwrkey";&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					linux,keycode = &amp;lt;KEY_POWER&amp;gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					wakeup-source;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;					status = "disabled";&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;				};&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;			};&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;/PRE&gt;&lt;P&gt;and I tried to modify it for "quad Max ", but it does not work (plus snvs is at address zero) so I thinking that I must access the SNVS status via scfw API in Linux...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I do not think "stick it in the device tree" is an acceptable answer.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 12:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8Quad-Max-SNVS-access-for-Linux-drivers/m-p/2033200#M233295</guid>
      <dc:creator>flobro</dc:creator>
      <dc:date>2025-01-23T12:54:13Z</dc:date>
    </item>
  </channel>
</rss>

