[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CY4PR03MB29666C090DF4E882DFB5AA12F9C00@CY4PR03MB2966.namprd03.prod.outlook.com>
Date: Mon, 21 Dec 2020 15:19:48 +0000
From: "Ardelean, Alexandru" <alexandru.Ardelean@...log.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>
CC: linux-spi <linux-spi@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Bogdan, Dragos" <Dragos.Bogdan@...log.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>
Subject: RE: [PATCH v5 2/3] spi: Add SPI_NO_TX/RX support
> -----Original Message-----
> From: Andy Shevchenko <andy.shevchenko@...il.com>
> Sent: Monday, December 21, 2020 4:37 PM
> To: Ardelean, Alexandru <alexandru.Ardelean@...log.com>
> Cc: linux-spi <linux-spi@...r.kernel.org>; devicetree
> <devicetree@...r.kernel.org>; Linux Kernel Mailing List <linux-
> kernel@...r.kernel.org>; Bogdan, Dragos <Dragos.Bogdan@...log.com>;
> Mark Brown <broonie@...nel.org>; Rob Herring <robh+dt@...nel.org>
> Subject: Re: [PATCH v5 2/3] spi: Add SPI_NO_TX/RX support
>
> On Mon, Dec 21, 2020 at 4:34 PM Andy Shevchenko
> <andy.shevchenko@...il.com> wrote:
> > On Mon, Dec 21, 2020 at 4:15 PM Alexandru Ardelean
> > <alexandru.ardelean@...log.com> wrote:
> > >
> > > From: Dragos Bogdan <dragos.bogdan@...log.com>
> > >
> > > 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 two lines is missing and to adjust the transfers accordingly.
> > >
> > > Signed-off-by: Dragos Bogdan <dragos.bogdan@...log.com>
> >
> > Missed Co-developed-by: Alexandru ... ?
Nah, that's fine from my side without that tag.
> >
> > Anyway, looks good to me,
> > Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
>
> One nit, though...
>
> > > - "setup: can not select dual and quad at the same time\n");
> > > + "setup: can not select any two of dual, quad and no-rx/tx "
> > > + "at the same time\n");
>
> Can we avoid splitting string literals which are assumed to be on one line when
> printed?
It ends up at about 96 cols, but it's within limits.
The patch may have been written before the new 100 col-width limit.
>
> --
> With Best Regards,
> Andy Shevchenko
Powered by blists - more mailing lists