Re: [PATCH 06/17] hw/misc/max111x: provide QOM properties for setting initial values

2020-06-30 Thread Alistair Francis
On Sun, Jun 28, 2020 at 7:29 AM Peter Maydell wrote: > > Add some QOM properties to the max111x ADC device to allow the > initial values to be configured. Currently this is done by > board code calling max111x_set_input() after it creates the > device, which doesn't work on system reset. > > This

Re: [PATCH 06/17] hw/misc/max111x: provide QOM properties for setting initial values

2020-06-29 Thread Philippe Mathieu-Daudé
On 6/28/20 4:24 PM, Peter Maydell wrote: > Add some QOM properties to the max111x ADC device to allow the > initial values to be configured. Currently this is done by > board code calling max111x_set_input() after it creates the > device, which doesn't work on system reset. > > This requires us

[PATCH 06/17] hw/misc/max111x: provide QOM properties for setting initial values

2020-06-28 Thread Peter Maydell
Add some QOM properties to the max111x ADC device to allow the initial values to be configured. Currently this is done by board code calling max111x_set_input() after it creates the device, which doesn't work on system reset. This requires us to implement a reset method for this device, so while