Hello guys. I'm new to this list and have been working on a driver for
the MCP2210 "USB-to-SPI bridge w/GPIO" (my first driver). I haven't
implemented the polling of its gpios just yet (I just finished the
interface where gpio values are retrieved on-demand), but I have another
issue looming.
In addition to the MCP2210 driver, I'm planning on having an spi
protocol driver for the ADNS-9800 chip that will be connected to the
MCP2210, but which also has an interrupt output pin (to tell its host
that it needs servicing). I've got all of the SPI stuff worked out, but
I don't know the proper way to connect that gpio to the ADNS-9800
driver. I suppose my options are:
1. Pass the ADNS-9800 the gpio number and let the ADNS-9800 poll it
2. Have my MCP2210 driver poll its gpios its self and notify consumers
of changes through some interface (soft irqs?)
Thanks in advance!
Daniel Santos
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html