1c1a2ccdbd
Most of the time SPI devices use TI's frame format. But some may use Motorola's. This is already taken care of in the SPI API and now it will be possible to select the right format from DTS. Like: ... frame-format = <SPI_FRAME_FORMAT_MOTOROLA>; ... This is only meant to be used for devices supporting both formats (so the format is not hard-coded in the driver) and selected by hardware configuration or else. Which, in such case, it will need to use DT_INST_PROP(<instance number>, frame-format) macro call to retrieve the property value. Others can fully ignore it. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> |
||
---|---|---|
.. | ||
spi.h |