Hello,
I'm using LogicPD eXperimenter board fitted with an AM3517 SOM daughter card as a target for the development of an embedded medical device. The eXperimenter board has two LED and 8 DIP switches assigned to user-defined functions. They are interfaced to the AM3517 via I2C bus #2 and through an i/o expander chip (TCA6416). My current Linux kernel (2.6.37) has an I2C adapter/algorithm driver already installed for it (as /dev/i2c-2) but I still have to provide an i2c client driver for the expander chip to let my app accessing the switches/LED.
I looked up for an i2c client driver for the chip in PSP 5.0.2 and 'at large' on the web. Logic PD does not seem to provide it either. Anybody has seen it somewhere?
Thanks,
Yves McDonald
Update: the driver seems to be installed: there is an entry in /sys/bus/i2c/drivers/tca6416-keypad and in /dev/i2c-2 so I addressed a question to LogicPD about knowing how to access the LED/switch device.
One last update: self-answered question: user DIP switches/LED are mapped as GPIO_192 to GPIO_207. The kernel gpio function calls made driving them easy.