2011-03-09 13:36:59 bfin-gpio: GPIO 12 is already reserved as Peripheral for SPI
Kartikeya Goyal (UNITED STATES)
I am trying to work with the GPIO pins on the blackfin processor, particularly pins 12 and 15. For pin 15 the code seems to work fine, while for pin 12 it throws the error that "bfin-gpio: GPIO 12 is already reserved as Peripheral for SPI". How do I unreserve this pin, my board design unfortunately is fixed and requires this pin.
2011-03-09 15:00:02 Re: bfin-gpio: GPIO 12 is already reserved as Peripheral for SPI
Mike Frysinger (UNITED STATES)
this is a kernel issue, not documentation. so ive moved the thread for you.
as for the error in question, it is already telling you the problem: the pin you're trying to use as GPIO is already being used by the SPI controller. so if you want to use it as GPIO, dont enable that particular SPI controller in your platform resources. you cant have it both ways.
please read the HRM to find out how exactly the pins are muxed for your Blackfin variant.