<?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のトピックError return during gpio_request_array -16 (-EBUSY) on custom board using i.MX6Q</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-return-during-gpio-request-array-16-EBUSY-on-custom-board/m-p/460376#M72222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have to configure some pins as GPIO IN/OUT on our custom board having i.MX6 Q.&lt;/P&gt;&lt;P&gt;There were 2 ways to do this first via DT and second is change the mach-xxx.c i.e. in kernel&lt;/P&gt;&lt;P&gt;I opted for 2nd one and used mxc_iomux_v3_setup_multiple_pads() to change the PIN MUX/PAD setting and gpio_request_array() to configure the direction of gpio from .init_machine function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting error from gpio_request_array with return value -16 (-EBUSY) i.e. /* Device or resource busy */&lt;/P&gt;&lt;P&gt;The gpio array is of type&lt;/P&gt;&lt;P&gt;{IMX_GPIO_NR(6, 10 )&amp;nbsp; ,&amp;nbsp; GPIOF_IN ,&amp;nbsp; " Toggle "}.....................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While debugging I put the PIN muxing part in kernel in init_machine and gpio_request_array in a custom gpio driver but I am getting the same error again and again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 15:10:19 GMT</pubDate>
    <dc:creator>yogeshgupta</dc:creator>
    <dc:date>2015-12-03T15:10:19Z</dc:date>
    <item>
      <title>Error return during gpio_request_array -16 (-EBUSY) on custom board using i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-return-during-gpio-request-array-16-EBUSY-on-custom-board/m-p/460376#M72222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I have to configure some pins as GPIO IN/OUT on our custom board having i.MX6 Q.&lt;/P&gt;&lt;P&gt;There were 2 ways to do this first via DT and second is change the mach-xxx.c i.e. in kernel&lt;/P&gt;&lt;P&gt;I opted for 2nd one and used mxc_iomux_v3_setup_multiple_pads() to change the PIN MUX/PAD setting and gpio_request_array() to configure the direction of gpio from .init_machine function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting error from gpio_request_array with return value -16 (-EBUSY) i.e. /* Device or resource busy */&lt;/P&gt;&lt;P&gt;The gpio array is of type&lt;/P&gt;&lt;P&gt;{IMX_GPIO_NR(6, 10 )&amp;nbsp; ,&amp;nbsp; GPIOF_IN ,&amp;nbsp; " Toggle "}.....................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While debugging I put the PIN muxing part in kernel in init_machine and gpio_request_array in a custom gpio driver but I am getting the same error again and again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 15:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-return-during-gpio-request-array-16-EBUSY-on-custom-board/m-p/460376#M72222</guid>
      <dc:creator>yogeshgupta</dc:creator>
      <dc:date>2015-12-03T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error return during gpio_request_array -16 (-EBUSY) on custom board using i.MX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-return-during-gpio-request-array-16-EBUSY-on-custom-board/m-p/460377#M72223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Please refer to 3.5 (IOMUX) of “i.MX_Linux_Reference_Manual.pdf”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A href="http://www.freescale.com/webapp/Download?colCode=L3.14.38_6UL_LINUX_DOCS" title="http://www.freescale.com/webapp/Download?colCode=L3.14.38_6UL_LINUX_DOCS"&gt;http://www.freescale.com/webapp/Download?colCode=L3.14.38_6UL_LINUX_DOCS&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 08:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-return-during-gpio-request-array-16-EBUSY-on-custom-board/m-p/460377#M72223</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-12-11T08:49:13Z</dc:date>
    </item>
  </channel>
</rss>

