This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728 eqep configure and control files

Hi,

I setup eQEP2 driver into the BeagleBoard-X15, and make sure the driver have been probed as below message log

root@arm:~# dmesg | grep eqep
[ 2.338707] eqep 48442180.eqep: ver. 1.0
[ 2.343087] eqep 48442180.eqep: count_mode:-738914288
[ 2.348172] eqep 48442180.eqep: invert_qa:-738914288
[ 2.353168] eqep 48442180.eqep: invert_qb:-738914288
[ 2.358165] eqep 48442180.eqep: invert_qi:-738914288
[ 2.363162] eqep 48442180.eqep: invert_qs:-738914288
[ 2.368157] eqep 48442180.eqep: swap_inputs:-738914288
[ 2.373328] eqep 48442180.eqep: QDECCTL:0x0000
[ 2.377800] eqep 48442180.eqep: QPOSINIT:0x00000000
[ 2.382708] eqep 48442180.eqep: QPOSMAX:0xffffffff
[ 2.387529] eqep 48442180.eqep: QPOSCNT:0x00000000
[ 2.392352] eqep 48442180.eqep: omit_interrupt:-738914288
[ 2.397782] eqep 48442180.eqep: QEINT:0x0800
[ 2.402079] eqep 48442180.eqep: QUPRD:0x07ed6b40
[ 2.406723] eqep 48442180.eqep: QEPCTL:0x009e write
[ 2.411632] eqep 48442180.eqep: QEPCTL:0x009e read
[ 2.416480] eqep 48442180.eqep: irq:171, clk_rate:133000000

and then I saw some parameters(enabled,position,period,mode)of eQEP at the file of tieqep.c 

/* Bind read/write functions to sysfs entries */
static DEVICE_ATTR(enabled0644eqep_get_enabled,     eqep_set_enabled);
static DEVICE_ATTR(position,    0644eqep_get_position,    eqep_set_position);
static DEVICE_ATTR(period,  0644eqep_get_timer_period,    eqep_set_timer_period);
static DEVICE_ATTR(mode,    0644eqep_get_mode,        eqep_set_mode);
so I want to find out where these parameters are, where is eQEP control file.