Good morning,
I'm working on the LEDs and Gpio expander (TCA6408A) from the AM335x EVM. I was surprised not to find anything in the folder /sys/cladd/leds/. Then, I tried to export the gpio in the directory /sys/class/gpio to turn ON/OFF the leds but the new gpio folder is not created. I thought that it was because the drivers were not in the kernel, so I added (besides the standard ti menuconfig) in my kernel driver tree:
Device drivers / GPIO support / PCA953x, PCA955x, TCA64xx, and MAX7310 I/O ports
Device drivers / LED support / LED Support for PCA955x I2C chips
I still can't export a gpio from the gpio expander and I can't adjust the brightness of the LED using /sys/class/leds because this directory is empty.
However, I can make it work by writing directly into the register (via i2c) of the TCA6408A.
Is there anyone that was able to make it work?
Thank you for your suggestions.