<?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: Using the Touch Controller with I2C in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-the-Touch-Controller-with-I2C/m-p/959538#M143219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the example link.&lt;BR /&gt;I will be very grateful for your kindness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;ellie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2019 00:47:57 GMT</pubDate>
    <dc:creator>cjej1004</dc:creator>
    <dc:date>2019-06-10T00:47:57Z</dc:date>
    <item>
      <title>Using the Touch Controller with I2C</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-the-Touch-Controller-with-I2C/m-p/959536#M143217</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'm developing a device using imx6ul, but I am going to change from using ADC to using I2C because touch input value keeps getting distorted.&lt;BR /&gt;I was using the imx6ul evk and device tree configuration the same way when using the ADC method (see below)&lt;/P&gt;&lt;P&gt;tsc: tsc @ 02040000 {&lt;BR /&gt;compatible = "fsl, imx6ul-tsc";&lt;BR /&gt;reg = &amp;lt;0x02040000 0x4000&amp;gt;, &amp;lt;0x0219c000 0x4000&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH&amp;gt;,&lt;BR /&gt;&amp;lt;GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp; clks IMX6UL_CLK_IPG&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp; clks IMX6UL_CLK_ADC2&amp;gt;;&lt;BR /&gt;clock-names = "tsc", "adc";&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_tsc: tscgrp {&lt;BR /&gt;fsl, pins = &amp;lt;&lt;BR /&gt;MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0&lt;BR /&gt;MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0&lt;BR /&gt;MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0&lt;BR /&gt;MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp; tsc {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp; pinctrl_tsc&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;xnur-gpio = &amp;lt;&amp;amp; gpio1 3 0&amp;gt;;&lt;BR /&gt;measure_delay_time = &amp;lt;0xffff&amp;gt;;&lt;BR /&gt;pre_charge_time = &amp;lt;0xfff&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Currently I do not use I2C2 in other modules, but I want to connect the touch controller to I2C2_SCL and I2C2_SDA, but I do not know how to modify the dts file&lt;/P&gt;&lt;P&gt;i2c0 = &amp;amp; i2c1;&lt;BR /&gt;i2c1 = &amp;amp; i2c2;&lt;BR /&gt;i2c2 = &amp;amp; i2c3;&lt;BR /&gt;i2c3 = &amp;amp; i2c4;&lt;/P&gt;&lt;P&gt;i2c2: i2c @ 021a4000 {&lt;BR /&gt;# address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;# size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;compatible = "fsl, imx6ul-i2c &amp;amp; quot ;," fsl, imx21-i2c &amp;amp; quot ;;&lt;BR /&gt;reg = &amp;amp; lt; 0x021a4000 0x4000 &amp;amp; gt;&lt;BR /&gt;interrupts = &amp;lt;GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp; clks IMX6UL_CLK_I2C2&amp;gt;;&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_i2c2: i2c2grp {&lt;BR /&gt;fsl, pins = &amp;lt;&lt;BR /&gt;MX6UL_PAD_GPIO1_IO00__I2C2_SCL 0x4001b8b1&lt;BR /&gt;MX6UL_PAD_GPIO1_IO01__I2C2_SDA 0x4001b8b1&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;amp; i2c3 {&lt;BR /&gt;clock-frequency = &amp;amp; lt; 100000 &amp;amp; gt ;;&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp; pinctrl_i2c2&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;tsc2007: tsc2007 @ 48 {&lt;BR /&gt;compatible = "ti, tcs2007 &amp;amp; quot ;;&lt;BR /&gt;reg = &amp;lt;0x48&amp;gt;;&lt;BR /&gt;interrupt-parent = &amp;lt;???&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;???&amp;gt;;&lt;BR /&gt;gpios = &amp;lt;??? ??? GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;ti, x-plate-ohms = &amp;amp; lt; 180 &amp;amp; gt ;;&lt;BR /&gt;linux, wakeup;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Can I use I2C interrupts without a separate interrupt pin for touch interrupts?&lt;BR /&gt;I don't know how to put the question mark part of tsc2007.&lt;BR /&gt;Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 09:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-the-Touch-Controller-with-I2C/m-p/959536#M143217</guid>
      <dc:creator>cjej1004</dc:creator>
      <dc:date>2019-06-07T09:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Touch Controller with I2C</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-the-Touch-Controller-with-I2C/m-p/959537#M143218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ellie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at i.MX6UL tsc2007 example in&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-tx6ul.dtsi?h=imx_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-tx6ul.dtsi?h=imx_4.14.98_2.0.0_ga"&gt;imx6ul-tx6ul.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Sat, 08 Jun 2019 03:23:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-the-Touch-Controller-with-I2C/m-p/959537#M143218</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-06-08T03:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Touch Controller with I2C</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-the-Touch-Controller-with-I2C/m-p/959538#M143219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the example link.&lt;BR /&gt;I will be very grateful for your kindness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;ellie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 00:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-the-Touch-Controller-with-I2C/m-p/959538#M143219</guid>
      <dc:creator>cjej1004</dc:creator>
      <dc:date>2019-06-10T00:47:57Z</dc:date>
    </item>
  </channel>
</rss>

