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

Ian Abbott abbotti at mev.co.uk
Tue Oct 6 11:17:08 UTC 2015


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 at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list