Hello,

I'm working a custom board and I'm using the MV kernel. I'd like to set
a few GPIO pins high when the kernel boots, specifically GPIO's 0,2 and
3. I've been searching and trying things and right now i've got:

        gpio_request(3, 0);
        gpio_direction_output(3, 0);
        gpio_set_value(3, 1);

for each of these pins in  board_init() in
arch/arm/mach-davinci/board-evm.c

Is this the right approach? What might I be missing? Thanks for any
help,

-Steve



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to