Hi,
I'm getting a kernel crash with non-linefetch error in ti_tscadc.c:
[ 1.548095] Unhandled fault: external abort on non-linefetch (0x1028) at 0xf9e0d054
It happens every time I'm trying to do this:
tscadc_readl(ts_dev, TSCADC_REG_SE);
or this:
tscadc_readl(ts_dev, TSCADC_REG_FIFO1) & 0xFFF;
Basically if I'm trying to read ADC registers then I'm getting the error.
In this thread: http://e2e.ti.com/support/arm/sitara_arm/f/791/p/158103/928768.aspx#928768 it seems to suggest that I need to enabled ADC in PRCM module. Having read the relevant sections in SPRUH73G.pdf (the technical reference manual) I now know that it's probably the OCP clock that I haven't enabled.
Can anyone please suggest how to enable it? Where is the PRCM module and how to enable ADC in it?
Thanks.