[PATCH v2] iio: exynos-adc: add experimental touchscreen support

Heiko Stübner heiko at sntech.de
Sun Jul 27 14:50:51 PDT 2014


Am Sonntag, 27. Juli 2014, 23:10:21 schrieb Hartmut Knaack:
> Arnd Bergmann schrieb:
> > @@ -205,6 +217,9 @@ static void exynos_adc_v1_init_hw(struct exynos_adc
> > *info)> 
> >  	/* Enable 12-bit ADC resolution */
> >  	con1 |= ADC_V1_CON_RES;
> >  	writel(con1, ADC_V1_CON(info->regs));
> > 
> > +
> > +	/* set default touchscreen delay */
> 
> Any information about how many µs/ms it is actually set with this value?

"ADC conversion is delayed by counting this value. Counting clock is pclk."
So, I guess here 10000 pclk ticks.


Heiko

> 
> > +	writel(10000, ADC_V1_DLY(info->regs));
> > 
> >  }
> >  




More information about the linux-arm-kernel mailing list