<?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: 4x4 keypad interfacing with i-MX6 solo</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480362#M76493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please refer to attached sdk keypad example and description in&lt;/P&gt;&lt;P&gt;Chapter 19 Configuring the Keypad Controller pdf document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 06:33:23 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-05-20T06:33:23Z</dc:date>
    <item>
      <title>4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480358#M76489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to interface 4X4 keypad with i-MX6 solo , but I don;t have much idea on it. I am using&amp;nbsp; linux 3.14.28 kernel. &lt;/P&gt;&lt;P&gt;Do I need to modify the driver matrix_keypad.c in linux kernel ?&lt;/P&gt;&lt;P&gt;Do I need to modify the Device Tree File?&lt;/P&gt;&lt;P&gt;If any one has already done this then please guide me or share your suggestions to interface 4x4 keypad with i-MX6 solo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 05:34:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480358#M76489</guid>
      <dc:creator>hrushinale</dc:creator>
      <dc:date>2016-05-18T05:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: 4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480359#M76490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After browsing some documents I knew that I need to modify the Device tree file.But I am still confused about Driver because when I tried to understand the driver code imx_keypad.c in that they mentioned the below lines:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;&lt;CODE&gt; #define MAX_MATRIX_KEY_ROWS&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 (Line 45)
 #define MAX_MATRIX_KEY_COLS&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 (Line 46) 
By looking into these lines I thought that if I replace this with 4 at both places it will work for 4x4 keypad.But after going further in driver code I found below lines which made me confused
reg_val |= keypad-&amp;gt;rows_en_mask &amp;amp; 0xff;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* rows */&amp;nbsp; (Line 325) 
reg_val |= (keypad-&amp;gt;cols_en_mask &amp;amp; 0xff) &amp;lt;&amp;lt; 8;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* cols */&amp;nbsp;&amp;nbsp;&amp;nbsp; (Line 326) 
reg_val &amp;amp;= 0x00ff; (Line 331)&amp;nbsp; 
So,my question is Do I need to modify the above and many more lines like this or just modifying that first two lines ,will it work?
Also I got one sample .dtsi file:

In the above code I am unable to find these addresses .So,if any one has done this previously Plz. help me
&lt;SPAN class="jive-comment-meta font-color-meta-light"&gt;&lt;SPAN class="j-username-wrap"&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="206296" data-username="igorpadykov" href="https://community.nxp.com/people/igorpadykov" rel="nofollow noopener noreferrer" target="_blank"&gt;igorpadykov&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; sir plz. share your thoughts regarding the Problem.

Thanks in advance.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 12:50:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480359#M76490</guid>
      <dc:creator>hrushinale</dc:creator>
      <dc:date>2016-05-19T12:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: 4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480360#M76491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one can start with linux/Documentation/devicetree/bindings/input/imx-keypad.txt&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/Documentation/devicetree/bindings/input/imx-keypad.txt?h=imx_4.1.15_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/Documentation/devicetree/bindings/input/imx-keypad.txt?h=imx_4.1.15_1.0.0_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 13:17:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480360#M76491</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-05-19T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: 4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480361#M76492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Reply.&lt;/P&gt;&lt;P&gt;I have taken above sample .dtsi file from same link .But in that I am unable to get these addresses e.g (&lt;CODE&gt;&lt;CODE&gt; 0x0001006c /* KEY_DOWN */&lt;/CODE&gt;&lt;/CODE&gt;)&lt;/P&gt;&lt;P&gt;Plz. suggest the solution for driver modification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 03:59:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480361#M76492</guid>
      <dc:creator>hrushinale</dc:creator>
      <dc:date>2016-05-20T03:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: 4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480362#M76493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please refer to attached sdk keypad example and description in&lt;/P&gt;&lt;P&gt;Chapter 19 Configuring the Keypad Controller pdf document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 06:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480362#M76493</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-05-20T06:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: 4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480363#M76494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir, I read the document i.MX 6Solo/6DualLite Applications Processor Reference Manual (chapter 39 Keypad Port (KPP)) but it gives information about registers of KPP and Typical keypad configuration and Key Press Interrupt sequence . But Stll I am unable to do modify the device tree and Driver file 4x4 matrix keypad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 06:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480363#M76494</guid>
      <dc:creator>hrushinale</dc:creator>
      <dc:date>2016-05-21T06:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: 4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480364#M76495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I need to modify platform-imx-keypad.c?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 06:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480364#M76495</guid>
      <dc:creator>hrushinale</dc:creator>
      <dc:date>2016-05-21T06:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: 4x4 keypad interfacing with i-MX6 solo</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480365#M76496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/356519"&gt;How to use the kpp for imx6q+android4.3?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 00:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/4x4-keypad-interfacing-with-i-MX6-solo/m-p/480365#M76496</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-05-23T00:43:27Z</dc:date>
    </item>
  </channel>
</rss>

