2011-10-23 23:05:26 User space SPIDEV Why use the ". Chip_select = 1,"?
qian xin (CHINA)
When I use SPIDEV to realize a SPI character device,needs to select in the Kernel configuration：
<*> User mode SPI device driver support 。(SPI_SPIDEV [=y])
#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
.modalias = "spidev",
.max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
.bus_num = 0,
.chip_select = 1,
.controller_data = &spidev_chip_info,
I did not understand that .chip_select = 1, which one was uses from the device.
“.chip_select = 1,” and PF1 multiplying in the bf561。The PF1 pin in I design, is taken.
When why I do select “User mode SPI device driver support”, must found spidev0.1 the equipment?
The PF1 pin in mine design, has been taken by GPIO_keys, what solution has?
2011-10-23 23:13:22 Re: User space SPIDEV Why use the ". Chip_select = 1,"?
Aaron Wu (CHINA)
We will have a look. Appreciate very much if you could move your question to our engineerzone as this forum will be replaced by it, details here: