Messages in this thread | | | From | Heiko Stübner <> | Subject | Re: [PATCH v2] iio: exynos-adc: add experimental touchscreen support | Date | Sun, 27 Jul 2014 23:50:51 +0200 |
| |
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)); > > > > } > >
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |