Re: [PATCH v2 13/14] staging: comedi: multiq3: add 8254 counter/timer subdevice support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/10/15 12:06, Ian Abbott wrote:
On 05/10/15 23:33, H Hartley Sweeten wrote:
The board has an 8254 timer/counter. Add support for this subdevice.

According to the manual I linked to, sections 3.2, 3.2.5.1 and 3.2.5.2
indicate that CLK_DATA (your MULTIQ3_CLK_REG) is write-only.  This means
the INSN_CONFIG_8254_READ_STATUS config instruction and the insn_read
handler won't work, although INSN_CONFIG_8254_READ_STATUS could be
partially emulated (see below).

It's probably best just to leave the 8254 unsupported though, as it doesn't appear to be useful for much!

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux