Re: [PATCH] iio:dac:ad5755 fixed SPI_MODE

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

 



On 01/27/2016 03:39 PM, Sean Nyekjaer wrote:
> According to datasheet data is latched on the falling edge of the SCK.
> 
> I agree it works in SPI_MODE_0 on the eval kit, but in other configurations
> with optic isolators (that adds a small delay). We are falling out of spec.
> 
> Signed-off-by: Sean Nyekjaer <sean.nyekjaer@xxxxxxxxx>

Hi,

The SPI mode is usually specified in the spi_board_info struct or devicetree
rather than hardcoding it in the driver.

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



[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