[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support |
Date: |
Tue, 3 Apr 2012 18:45:09 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-1-amd64; KDE/4.7.4; x86_64; ; ) |
> > I'm no SPI expert, but a bit of googling suggests that it's
> > a synchronous duplex bus, so you always send a byte of data
> > to the slave and get one back in return (even if for some slaves
> > it might be random garbage).
Waitaminute. So this is just basic synchronous serial?
We already have an API for this. hw/spi.c.
If you're building higer level protocols they should be layered on top of the
SPI, same as smbus is a protocol layer on top of I2C.
Paul
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Maydell, 2012/04/02
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Crosthwaite, 2012/04/02
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Crosthwaite, 2012/04/02
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support,
Paul Brook <=
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Maydell, 2012/04/03
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Paul Brook, 2012/04/03
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Crosthwaite, 2012/04/03
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Paul Brook, 2012/04/04
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Crosthwaite, 2012/04/04
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Maydell, 2012/04/05
- Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Crosthwaite, 2012/04/06
Re: [Qemu-devel] [RFC PATCH v1 1/4] SPI: initial support, Peter Crosthwaite, 2012/04/02