Skip to contentSkip to conversation

join i2c ml + question

DISCUSSION Markus Schorer 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

hi,

i would like to join the linux-i2c ml.

and my question is: ;-)

i have a i2c controlled chip, that has a "data available" signal. i've connected it to an interrupt.
how do i service the chip, eg read the data, in/from an interrupt?

is this a case for a bottom half? what options do i have? what is elegant?

regards,

Signature · 4 lines
_ plain GmbH_______________________________________________________
  markus schorer              fon 089.540.149.0
  daiserstrasse 15 RGB        fax 089.540.149.44
  81371 m?nchen               http://www.plain.de
#1 lore raw

the i2c mailing list is dead
for the sensors mailing list contact [email protected]

I don't think any of the sensors drivers use irq's. There are a couple in the i2c package (grep irq kernel/*.c). I don't know if any of them are anything good enough to use for an example...
we are working on bringing our drivers in line with 2.4/2.5 standards, I'm not sure which of those is the closest to your "elegant" standard...

mds

Quoted 15 lines · Markus Schorer

hi,

i would like to join the linux-i2c ml.

and my question is: ;-)

i have a i2c controlled chip, that has a "data available" signal. i've connected it to an interrupt.
how do i service the chip, eg read the data, in/from an interrupt?

is this a case for a bottom half? what options do i have? what is elegant?

regards,