HI All,
I am working on SPI where I have to interface multiple devices i am able to use SPI0_CS0 and SPI0_SC1.
but I want to use GPIO as Chip select.
I have gone through this link :
http://docs.blackfin.uclinux.org/doku.php?id=spi
where I found :
static struct spi_board_info ... .chip_select = GPIO_PFXX + MAX_CTRL_CS,
if it will work then pls provide example to represent a gpio.
I am trying to use mii1_rxd3.gpio2_18 to make it as chip select .
I am taking care of that mii1_rxd3 is not used any where and apart from that i have edited mux file:
_AM33XX_MUXENTRY(MII1_RXD3, 0,
NULL, NULL, NULL,NULL,
NULL, NULL, NULL, "gpio2_18"),
I am able get the clock pulse and data pulse down on CRO but gpio pin is not configured as i suppose .
Help me out I will be thankful to you;
Regards
Praveen