Declaring a SPI slave device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi I am Gwangho Choi,

I am trying to connect my EVAL-AD5791 board with a raspberry pi 3 b+
using iio. I enabled SPI from raspi-config. And I made an ad5791
module from a kernel and loaded. Now, I can see ad5791 and industialio
module running from "lsmod" command. And I can also see the
/sys/bus/iio/ directory.So, I connected my board with my raspberry pi,
but in the /sys/bus/iio/devices there is nothing. I suspect that I did
not declare a slave device, but I do not know how I can do it. I do
not know where I should put the spi_board_info code. I cannot find
arch/.../mach-*/board-*.c files.

Thanks



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux