Re: Problem with spi transfer on OMAP-L137 using spidev with kernel 4.4.8

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

 



AFAIK, OMAP-L137 has hardware implementation of spi. Why should they
use bit-banging?

2016-07-21 13:02 GMT+03:00 Sekhar Nori <nsekhar@xxxxxx>:
> On Wednesday 20 July 2016 07:59 PM, Denis Obrezkov wrote:
>> Hello,
>> I am trying to use spidev to send messages via spi on OMAP-L137
>>  EVM board.
>> I have an spidev entry in /dev, but when I try to send data, I have the
>>  following message:
>>
>>     spidev spi1.0: SPI transfer failed: -22
>>     spi_master spi1: failed to transfer one message from queue
>>
>> Debugging using printk, I found out that a probe function is called,
>> and after this transfer_one_message is called. In transfer_one_message
>>  master->transfer_one() function is called and returned with the error.
>> But I can't find the implementation of transfer_one function for davinci_spi.
>
> It looks like davinci_spi uses bitbang layer so I expect
> spi_bitbang_transfer_one() to be called.
>
> Thanks,
> Sekhar



-- 
Regards, Denis Obrezkov
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux