[PATCH 3/6] ARM: mach-imx/mx27_3ds: Add LCD support
Fabio Estevam
festevam at gmail.com
Tue Jun 21 08:59:30 EDT 2011
Hi Sascha,
On Tue, Jun 21, 2011 at 9:11 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
...
>> mxc_gpio_mode(SPI2_SS0 | GPIO_GPIO | GPIO_OUT);
>> mxc_gpio_mode(PMIC_INT | GPIO_GPIO | GPIO_IN);
>> + mxc_gpio_mode(SPI1_SS0 | GPIO_GPIO | GPIO_OUT);
>> + mxc_gpio_mode(LCD_ENABLE | GPIO_GPIO | GPIO_OUT);
>> + mxc_gpio_mode(LCD_RESET | GPIO_GPIO | GPIO_OUT);
>
> You can add these to the static pin array instead.
I tried that initially and it caused all the gpio_request calls to fail.
The only way I could make gpio_request to work is when I define the
pin as gpio mode via mxc_gpio_mode.
Regards,
Fabio Estevam
More information about the linux-arm-kernel
mailing list