Hi,
It means that the LCD_D0 GPIO is being used by some other peripheral as well. You may have to check the board specific configuration file of the I.MX23 in the kernel. In my case it was present in <kernel_dir>/arch/arm/mach-mx23/ location. In previous versions of BSPs, it was available under <kernel_dir>/arch/arm/mach-stmp378x/stmp378x_devb.c, and some under <kernel_dir>/arch/arm/plat-stmp3xxx/ directories.
Here you may have to check various places where LCD pins of your choice have been used and modify them to suit your hardware requirements.
In my case I didnt consiously configured them anywhere. But I got them working once I freed these GPIOs from other peripherals.
Hope this helps,
Regards,
Balaji.V
Andrés Estévez said:
Hi Balaji,
thanks for you reply. I have already disabled the LCD option in the Kernel Configuration Menu. SYSFS support is also enabled. When I try to access to one of the pins by means of "echo <LCD_D0 gpio> >> export" I get a "device busy error - 16" in dmesg.
I think what I missing is to configure those pins as GPIOs, isn't it? But I don't know how to do it.
Thank you