<?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: imx6ulevk enable adc1 linux driver in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559912#M86888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2016 22:26:46 GMT</pubDate>
    <dc:creator>codylacey</dc:creator>
    <dc:date>2016-07-11T22:26:46Z</dc:date>
    <item>
      <title>imx6ulevk enable adc1 linux driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559911#M86887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an imx6ulevk and I am trying to configure ADC1 for GPIO1_IO01__GPIO1_IO01 - GPIO1_IO03__GPIO1_IO03.&amp;nbsp; I am testing by connecting two potentiometers to GPIO_1 and GPIO_3 of header J1706 out of the Arduino headers.&amp;nbsp; I have changed the imx6ul-14x14-evk.dts to configure ADC1.&amp;nbsp; I enabled ADC1 then set the pin control and regulator.&amp;nbsp; I then disabled tsc and its pin control that was using GPIO_1 and GPIO_3.&amp;nbsp; I see &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;/sys/bus/iio/devices/iio:device0/&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in_voltage1_raw and &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;in_voltage3_raw, but their values do not change with the changing voltage.&amp;nbsp; The values seem to stay around 3100.&amp;nbsp; I have checked the voltage values with a multimeter to make sure things are connected correctly and they are.&amp;nbsp; I didn't see any place in u-boot where these pads have already been configured.&amp;nbsp; &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Do you know what I may be missing?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg_adc_vref_3v3: regulator@2 {&lt;/P&gt;&lt;P&gt;&amp;nbsp; compatible = "regulator-fixed";&lt;/P&gt;&lt;P&gt;&amp;nbsp; regulator-name = "vref-3v3";&lt;/P&gt;&lt;P&gt;&amp;nbsp; regulator-min-microvolt = &amp;lt;3300000&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;adc1 {&lt;/P&gt;&lt;P&gt;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;&lt;P&gt;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_adc&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; vref-supply = &amp;lt;&amp;amp;reg_adc_vref_3v3&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; num-channels = &amp;lt;4&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pinctrl_adc: adcgrp {&lt;/P&gt;&lt;P&gt;&amp;nbsp; fsl,pins = &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;tsc {&lt;/P&gt;&lt;P&gt;&amp;nbsp; status = "disabled";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*pinctrl_tsc: tscgrp {&lt;/P&gt;&lt;P&gt;&amp;nbsp; fsl,pins = &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp; MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0xb0&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };*/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 15:43:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559911#M86887</guid>
      <dc:creator>codylacey</dc:creator>
      <dc:date>2016-07-11T15:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ulevk enable adc1 linux driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559912#M86888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 22:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559912#M86888</guid>
      <dc:creator>codylacey</dc:creator>
      <dc:date>2016-07-11T22:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ulevk enable adc1 linux driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559913#M86889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue was J1706 of the Arduino headers is disconnected from GPIO_0-4 signals by resistors that were DNP.&amp;nbsp; After adding 0 Ohm resistors to R1718 and R1720 I was able to read voltage with ADC1 on adc input 1 and 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 14:29:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559913#M86889</guid>
      <dc:creator>codylacey</dc:creator>
      <dc:date>2016-07-12T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ulevk enable adc1 linux driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559914#M86890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cody, would you mind posting an example of reading the ADC1/3 channel here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 22:37:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ulevk-enable-adc1-linux-driver/m-p/559914#M86890</guid>
      <dc:creator>octetta</dc:creator>
      <dc:date>2016-08-05T22:37:18Z</dc:date>
    </item>
  </channel>
</rss>

