Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-12-06 Thread Cornelia Huck
On Mon, Dec 04 2023, Haixu Cui wrote: > Hi Huck, > > On 12/1/2023 7:01 PM, Cornelia Huck wrote: >> On Fri, Dec 01 2023, Haixu Cui wrote: >> > +Note: chipselect is an electrical signal controlled by the SPI > controller, used to select the > +SPI slaves connected to the controller.

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-12-03 Thread Haixu Cui
Hi Huck, On 12/1/2023 7:01 PM, Cornelia Huck wrote: On Fri, Dec 01 2023, Haixu Cui wrote: +Note: chipselect is an electrical signal controlled by the SPI controller, used to select the +SPI slaves connected to the controller. I wonder whether another term is now more commonly used... the W

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-12-01 Thread Cornelia Huck
On Fri, Dec 01 2023, Haixu Cui wrote: >>> +Note: chipselect is an electrical signal controlled by the SPI controller, >>> used to select the >>> +SPI slaves connected to the controller. >> >> I wonder whether another term is now more commonly used... the Wikipedia >> article uses main/sub, is t

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Haixu Cui
Hi Viresh, On 12/1/2023 1:44 PM, Viresh Kumar wrote: On 01-12-23, 13:35, Haixu Cui wrote: Hi Viresh, SPI transfer modes here may cause misunderstanding, in Wikipedia, SPI mode is the combinations of clock polarity and clock phases: https://en.wikipedia.org/w/index.php?title=Serial_Perip

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Viresh Kumar
On 01-12-23, 13:35, Haixu Cui wrote: > Hi Viresh, > > SPI transfer modes here may cause misunderstanding, in Wikipedia, SPI > mode is the combinations of clock polarity and clock phases: > > > https://en.wikipedia.org/w/index.php?title=Serial_Peripheral_Interface&action=edit§ion=4 The word

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Haixu Cui
On 12/1/2023 12:32 PM, Viresh Kumar wrote: On 01-12-23, 12:05, Haixu Cui wrote: Looks good. Will update as follows: \field{tx_nbits_supported} and \field{rx_nbits_supported} indicate the different n-bit transfer modes supported by the device, for writing and reading respectively. SINGLE is a

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Viresh Kumar
On 01-12-23, 12:05, Haixu Cui wrote: > Looks good. Will update as follows: > > \field{tx_nbits_supported} and \field{rx_nbits_supported} indicate the > different n-bit transfer modes supported by the device, for writing and > reading respectively. SINGLE is always supported. A set bit here indicat

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Haixu Cui
Hi Huck, On 11/30/2023 7:38 PM, Cornelia Huck wrote: On Thu, Nov 30 2023, Haixu Cui wrote: The Virtio SPI (Serial Peripheral Interface) device is a virtual SPI controller that allows the driver to operate and use the SPI controller under the control of the device. This patch adds the specifi

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Haixu Cui
Hi Viresh, On 11/30/2023 7:19 PM, Viresh Kumar wrote: On 30-11-23, 17:22, Haixu Cui wrote: The Virtio SPI (Serial Peripheral Interface) device is a virtual SPI controller that allows the driver to operate and use the SPI controller under the control of the device. This patch adds the specifica

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Cornelia Huck
On Thu, Nov 30 2023, Haixu Cui wrote: > The Virtio SPI (Serial Peripheral Interface) device is a virtual > SPI controller that allows the driver to operate and use the SPI > controller under the control of the device. > > This patch adds the specification for virtio-spi. > > Signed-off-by: Haixu

Re: [virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Viresh Kumar
On 30-11-23, 17:22, Haixu Cui wrote: > The Virtio SPI (Serial Peripheral Interface) device is a virtual > SPI controller that allows the driver to operate and use the SPI > controller under the control of the device. > > This patch adds the specification for virtio-spi. > > Signed-off-by: Haixu C

[virtio-dev] [PATCH V6 2/2] virtio-spi: add the device specification

2023-11-30 Thread Haixu Cui
The Virtio SPI (Serial Peripheral Interface) device is a virtual SPI controller that allows the driver to operate and use the SPI controller under the control of the device. This patch adds the specification for virtio-spi. Signed-off-by: Haixu Cui --- device-types/spi/description.tex|