Re: [PATCH] misc/pca9552: Add qom set and get

2019-11-20 Thread Dr. David Alan Gilbert
* Cédric Le Goater (c...@kaod.org) wrote: > On 18/11/2019 07:17, Joel Stanley wrote: > > Following the pattern of the work recently done with the ASPEED GPIO > > model, this adds support for inspecting and modifying the PCA9552 LEDs > > from the monitor. > > > > (qemu) qom-set /machine/unattache

Re: [PATCH] misc/pca9552: Add qom set and get

2019-11-19 Thread Philippe Mathieu-Daudé
On 11/19/19 5:27 PM, Cédric Le Goater wrote: On 18/11/2019 18:48, Philippe Mathieu-Daudé wrote: Odd... I only received Cédric answer, not Joel patch. On 11/18/19 11:00 AM, Cédric Le Goater wrote: On 18/11/2019 07:17, Joel Stanley wrote: Following the pattern of the work recently done with the

Re: [PATCH] misc/pca9552: Add qom set and get

2019-11-19 Thread Cédric Le Goater
On 18/11/2019 18:48, Philippe Mathieu-Daudé wrote: > Odd... I only received Cédric answer, not Joel patch. > > On 11/18/19 11:00 AM, Cédric Le Goater wrote: >> On 18/11/2019 07:17, Joel Stanley wrote: >>> Following the pattern of the work recently done with the ASPEED GPIO >>> model, this adds sup

Re: [PATCH] misc/pca9552: Add qom set and get

2019-11-18 Thread Philippe Mathieu-Daudé
Odd... I only received Cédric answer, not Joel patch. On 11/18/19 11:00 AM, Cédric Le Goater wrote: On 18/11/2019 07:17, Joel Stanley wrote: Following the pattern of the work recently done with the ASPEED GPIO model, this adds support for inspecting and modifying the PCA9552 LEDs from the monit

Re: [PATCH] misc/pca9552: Add qom set and get

2019-11-18 Thread Cédric Le Goater
On 18/11/2019 07:17, Joel Stanley wrote: > Following the pattern of the work recently done with the ASPEED GPIO > model, this adds support for inspecting and modifying the PCA9552 LEDs > from the monitor. > > (qemu) qom-set /machine/unattached/device[17] led0 on > (qemu) qom-get /machine/unatt

[PATCH] misc/pca9552: Add qom set and get

2019-11-17 Thread Joel Stanley
Following the pattern of the work recently done with the ASPEED GPIO model, this adds support for inspecting and modifying the PCA9552 LEDs from the monitor. (qemu) qom-set /machine/unattached/device[17] led0 on (qemu) qom-get /machine/unattached/device[17] led0 "on" (qemu) qom-set /machin