<?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 LS1046 PPS on GPIO in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046-PPS-on-GPIO/m-p/1862802#M14266</link>
    <description>&lt;P&gt;I'm trying to connect a GPS 1PPS signal to a FRWY-LS1046 via a GPIO line.&lt;/P&gt;&lt;P&gt;I've done the following:&lt;/P&gt;&lt;P&gt;Kernel config:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;CONFIG_PPS=y
CONFIG_PPS_CLIENT_GPIO=m
CONFIG_PPS_DEBUG=y&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fsl-ls1046a.dtsi:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;	pps {
		compatible = "pps-gpio";
		gpios = &amp;lt;&amp;amp;gpio3 11 0&amp;gt;;
		assert-falling-edge;
	};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The kernel logs show pps1 fails to get setup:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[  941.608348] genirq: Setting trigger mode 1 for irq 83 failed (mpc8xxx_irq_set_type+0x0/0xf8)
[  941.616823] pps_core: unregistering pps1
[  941.617053] pps_core: deallocating pps1
[  941.617063] pps-gpio pps: failed to acquire IRQ 83
[  941.621915] pps-gpio: probe of pps failed with error -22&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a problem with using GPIO3_11 (427) for this? Is it on a GPIO expander or something?&lt;/P&gt;&lt;P&gt;I can read the PPS signal on the GPIO so I know I've got the correct pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 20:11:49 GMT</pubDate>
    <dc:creator>srogers</dc:creator>
    <dc:date>2024-05-09T20:11:49Z</dc:date>
    <item>
      <title>LS1046 PPS on GPIO</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-PPS-on-GPIO/m-p/1862802#M14266</link>
      <description>&lt;P&gt;I'm trying to connect a GPS 1PPS signal to a FRWY-LS1046 via a GPIO line.&lt;/P&gt;&lt;P&gt;I've done the following:&lt;/P&gt;&lt;P&gt;Kernel config:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;CONFIG_PPS=y
CONFIG_PPS_CLIENT_GPIO=m
CONFIG_PPS_DEBUG=y&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fsl-ls1046a.dtsi:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;	pps {
		compatible = "pps-gpio";
		gpios = &amp;lt;&amp;amp;gpio3 11 0&amp;gt;;
		assert-falling-edge;
	};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The kernel logs show pps1 fails to get setup:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[  941.608348] genirq: Setting trigger mode 1 for irq 83 failed (mpc8xxx_irq_set_type+0x0/0xf8)
[  941.616823] pps_core: unregistering pps1
[  941.617053] pps_core: deallocating pps1
[  941.617063] pps-gpio pps: failed to acquire IRQ 83
[  941.621915] pps-gpio: probe of pps failed with error -22&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a problem with using GPIO3_11 (427) for this? Is it on a GPIO expander or something?&lt;/P&gt;&lt;P&gt;I can read the PPS signal on the GPIO so I know I've got the correct pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 20:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-PPS-on-GPIO/m-p/1862802#M14266</guid>
      <dc:creator>srogers</dc:creator>
      <dc:date>2024-05-09T20:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046 PPS on GPIO</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046-PPS-on-GPIO/m-p/1863341#M14268</link>
      <description>&lt;P&gt;Apologies - I had made a mistake - my .dtsi looked like this when it failed:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;	pps {
		compatible = "pps-gpio";
		gpios = &amp;lt;&amp;amp;gpio3 11 0&amp;gt;;
		assert-rising-edge;
	};&lt;/LI-CODE&gt;&lt;P&gt;This is evidently wrong - for rising edge you remove the assert-falling-edge line.&lt;/P&gt;&lt;P&gt;It looks like pps1 is now registered.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 09:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046-PPS-on-GPIO/m-p/1863341#M14268</guid>
      <dc:creator>srogers</dc:creator>
      <dc:date>2024-05-10T09:33:04Z</dc:date>
    </item>
  </channel>
</rss>

