Re: [PATCH] spi: Add SPI_NO_TX/RX support

2020-11-11 Thread Alexandru Ardelean
On Wed, Nov 11, 2020 at 4:45 PM Andy Shevchenko wrote: > > On Wed, Nov 11, 2020 at 4:13 PM Alexandru Ardelean > wrote: > > > > From: Dragos Bogdan > > > > Transmit/receive only is a valid SPI mode. For example, the MOSI/TX line > > might be missing from an ADC while for a DAC the MISO/RX line ma

Re: [PATCH] spi: Add SPI_NO_TX/RX support

2020-11-11 Thread Andy Shevchenko
On Wed, Nov 11, 2020 at 4:13 PM Alexandru Ardelean wrote: > > From: Dragos Bogdan > > Transmit/receive only is a valid SPI mode. For example, the MOSI/TX line > might be missing from an ADC while for a DAC the MISO/RX line may be > optional. This patch adds these two new modes: SPI_NO_TX and > SP

[PATCH] spi: Add SPI_NO_TX/RX support

2020-11-11 Thread Alexandru Ardelean
From: Dragos Bogdan Transmit/receive only is a valid SPI mode. For example, the MOSI/TX line might be missing from an ADC while for a DAC the MISO/RX line may be optional. This patch adds these two new modes: SPI_NO_TX and SPI_NO_RX. This way, the drivers will be able to identify if any of these