Other Parts Discussed in Thread: DRV8823
Hi,
i want to drive my stepper motor with Drv8823 driver chip, which is directly connected to my Dm8127 board via spi interface.
i've built-in support of spi generic driver module in kernel.
and i applied changes in board specific file with spi_board_info structure..
{
.modalias = "drv8823",
.irq = -1,
.max_speed_hz = 100000,
.bus_num = 1,
.chip_select = 1,
.mode = SPI_MODE_3,
},
after spi_register_board_info call i can see spi1.1 file in sys/bus/spi/devices.
i've created node in /dev by mknod -m 666 /dev/spidev1.1 c 153 3.
when i use spidev_test file to send data to driver chip...
i got , "can't open device: No such device or address
Aborted".
what's wrong with this. i guess there is platform specific data is missing.
i don't know how to register platform specific data for this chip,
is there any Linux driver available for drv8823?
regards,
Akash Gajjar
