Re: [Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2016-01-13 Thread Peter Crosthwaite
On Wed, Jan 13, 2016 at 8:07 AM, Tim Sander wrote: > Hi > Am Donnerstag, 7. Januar 2016, 02:14:23 schrieb Peter Crosthwaite: >> Patch subject prefix should contain the version number. Use the >> --subject-prefix or -v options to git format-patch. > Ok, i will try to remember this next time. >> >>

Re: [Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2016-01-13 Thread Tim Sander
Hi Am Donnerstag, 7. Januar 2016, 02:14:23 schrieb Peter Crosthwaite: > Patch subject prefix should contain the version number. Use the > --subject-prefix or -v options to git format-patch. Ok, i will try to remember this next time. > > On Wed, Jan 6, 2016 at 6:58 AM, Tim Sander wrote: > > Versio

[Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2016-01-06 Thread Tim Sander
Version 4 with improvements suggested by Gerd Hoffmann: Signed-off-by: Tim Sander i2c-tiny-usb is a small usb to i2c bridge: http://www.harbaum.org/till/i2c_tiny_usb/index.shtml It is pretty simple and has no usb endpoints just a control. Reasons for adding this device: * Linux device driver a

Re: [Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2016-01-05 Thread Tim Sander
Hi Gerd Thanks for your review. Am Dienstag, 5. Januar 2016, 08:44:30 schrieb Gerd Hoffmann: > > +case 0x4107: > > +/* this seems to be a byte type access */ > > +if (i2c_start_transfer(s->i2cbus, /*address*/index, 0)) { > > +trace_usb_i2c_tiny_i2c_start_transfer_f

Re: [Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2016-01-04 Thread Gerd Hoffmann
> +case 0x4107: > +/* this seems to be a byte type access */ > +if (i2c_start_transfer(s->i2cbus, /*address*/index, 0)) { > +trace_usb_i2c_tiny_i2c_start_transfer_failed(); > +p->actual_length = 0; /* write failure */ > +break; > +} >

[Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2016-01-04 Thread Tim Sander
Version 3 with improvements suggested by Gerd Hoffmann Signed-off-by: Tim Sander i2c-tiny-usb is a small usb to i2c bridge:

Re: [Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2015-12-17 Thread Gerd Hoffmann
> +case 0x4107: > +{ > +int i; > +/* this seems to be a byte type access */ > +if (i2c_start_transfer(s->i2cbus, /*address*/index, 0)) { > +trace_usb_i2c_tiny_i2c_start_transfer_failed(); > +p->actual_length = 0; /* write failure */ > +

[Qemu-devel] [PATCH] i2c-tiny-usb: add new usb to i2c bridge

2015-12-16 Thread Tim Sander
Signed-off-by: Tim Sander i2c-tiny-usb is a small usb to i2c bridge: http://www.harbaum.org/till/i2c_tiny_usb/index.shtml It is pretty simple and has no usb endpoints just a control. Reasons for adding this device: * Linux device driver available * adding an additional i2c bus via command line e