<?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: Custom IMX7D and tsc2004 not working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Custom-IMX7D-and-tsc2004-not-working/m-p/809312#M124821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i already added tsc2004 driver its have kernel 4.9.4 and enabled in kernel , and preparing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my pin settings here&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;MX7D_PAD_SAI1_RX_DATA__GPIO6_IO12&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;SPAN&gt;my devicetree is wrong ?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2018 20:30:55 GMT</pubDate>
    <dc:creator>atakanakbulut</dc:creator>
    <dc:date>2018-08-01T20:30:55Z</dc:date>
    <item>
      <title>Custom IMX7D and tsc2004 not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-IMX7D-and-tsc2004-not-working/m-p/809310#M124819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello i am triying to use tsc2004 with imx7d custom board added tsc2004 hardware over i2c . i am using kernel 4.1.15 and 4.9.11 but doesnt working&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KERNEL&amp;nbsp;&lt;/P&gt;&lt;P&gt;CONFIG_TOUCHSCREEN_TSC200X_CORE=y&lt;BR /&gt;CONFIG_TOUCHSCREEN_TSC2004=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;devicetree&lt;/P&gt;&lt;P&gt;.. .. .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;i2c1 {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; clock-frequency = &amp;lt;100000&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-names = "default";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c1&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; status = "okay";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;touch@48 {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; compatible = "ti,tsc2004";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; reg = &amp;lt;0x48&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-names = "default";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_epdc_elan_touch&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; interrupts-extended = &amp;lt;&amp;amp;gpio6 12 IRQ_TYPE_EDGE_FALLING&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; wakeup-gpios = &amp;lt;&amp;amp;gpio6 12 GPIO_ACTIVE_LOW&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; };&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;pmic: pfuze3000@08 {&lt;BR /&gt; compatible = "fsl,pfuze3000";&lt;BR /&gt; reg = &amp;lt;0x08&amp;gt;;&lt;BR /&gt; regulators {&lt;BR /&gt; sw1a_reg: sw1a {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;700000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt; regulator-boot-on;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; regulator-ramp-delay = &amp;lt;6250&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;/* use sw1c_reg to align with pfuze100/pfuze200 */&lt;BR /&gt; sw1c_reg: sw1b {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;700000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;1475000&amp;gt;;&lt;BR /&gt; regulator-boot-on;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; regulator-ramp-delay = &amp;lt;6250&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;sw2_reg: sw2 {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;1500000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;1850000&amp;gt;;&lt;BR /&gt; regulator-boot-on;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;sw3a_reg: sw3 {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;900000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;1650000&amp;gt;;&lt;BR /&gt; regulator-boot-on;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;swbst_reg: swbst {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;5000000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;5150000&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;snvs_reg: vsnvs {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;1000000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;3000000&amp;gt;;&lt;BR /&gt; regulator-boot-on;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;vref_reg: vrefddr {&lt;BR /&gt; regulator-boot-on;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;vgen1_reg: vldo1 {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;1800000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;vgen2_reg: vldo2 {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;800000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;1550000&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;vgen3_reg: vccsd {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;2850000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;vgen4_reg: v33 {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;2850000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;vgen5_reg: vldo3 {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;1800000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;vgen6_reg: vldo4 {&lt;BR /&gt; regulator-min-microvolt = &amp;lt;1800000&amp;gt;;&lt;BR /&gt; regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt; regulator-always-on;&lt;BR /&gt; };&lt;BR /&gt; };&lt;BR /&gt; };&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pinctrl_epdc_elan_touch: epdc_elan_touch_grp {&lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; &lt;STRONG&gt;MX7D_PAD_SAI1_RX_DATA__GPIO6_IO12 0x7d&lt;/STRONG&gt;&lt;BR /&gt; &amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=====================================================&lt;/P&gt;&lt;P&gt;dmesg output #&amp;nbsp;&lt;/P&gt;&lt;P&gt;$dmesg | grep -i tsc&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;error 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tsc2004 0-0056: Error applying setting, reverse things back&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;tsc2004: probe of 0-0056 failed with error -22&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;@@ changed values&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;tsc2004 2-0048: no irq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;@@ changed value&amp;nbsp;&lt;/P&gt;&lt;P&gt;same errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried a lot of times but doest work i tried&amp;nbsp;&lt;STRONG&gt;0x7d 0x59&amp;nbsp; . ..&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can i fix my error&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-IMX7D-and-tsc2004-not-working/m-p/809310#M124819</guid>
      <dc:creator>atakanakbulut</dc:creator>
      <dc:date>2018-08-01T12:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom IMX7D and tsc2004 not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-IMX7D-and-tsc2004-not-working/m-p/809311#M124820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atakan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tsc2046&lt;/CODE&gt; touch is supported for i.MX7D in linux/arch/arm/boot/dts/imx7d-sdb.dts&lt;/PRE&gt;&lt;P&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Flinux-imx%2Ftree%2Farch%2Farm%2Fboot%2Fdts%2Fimx7d-sdb.dts%3Fh%3Dimx_4.1.15_2.0.0_ga" rel="nofollow noopener noreferrer" target="_blank"&gt;imx7d-sdb.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so one can use them as example for porting new driver, starting with probe function:&lt;/P&gt;&lt;P&gt;linux/drivers/input/touchscreen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 19:26:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-IMX7D-and-tsc2004-not-working/m-p/809311#M124820</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2018-08-01T19:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom IMX7D and tsc2004 not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-IMX7D-and-tsc2004-not-working/m-p/809312#M124821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i already added tsc2004 driver its have kernel 4.9.4 and enabled in kernel , and preparing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my pin settings here&amp;nbsp;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;MX7D_PAD_SAI1_RX_DATA__GPIO6_IO12&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;SPAN&gt;my devicetree is wrong ?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 20:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-IMX7D-and-tsc2004-not-working/m-p/809312#M124821</guid>
      <dc:creator>atakanakbulut</dc:creator>
      <dc:date>2018-08-01T20:30:55Z</dc:date>
    </item>
  </channel>
</rss>

