diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2020-07-03 16:59:44 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-07-03 16:59:44 +0100 |
| commit | b064d51f6022c49ceab73c46e84ae05f9f704732 (patch) | |
| tree | c7dd18068111caab66ab4ab2fa8760b460145178 /include/hw/sysbus.h | |
| parent | 2e354c028a282b1bae56154ed52ac80746eb24b3 (diff) | |
| download | focaccia-qemu-b064d51f6022c49ceab73c46e84ae05f9f704732.tar.gz focaccia-qemu-b064d51f6022c49ceab73c46e84ae05f9f704732.zip | |
hw/misc/max111x: provide QOM properties for setting initial values
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 we're doing that make sure we reset the other parts of the device state. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200628142429.17111-7-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/sysbus.h')
0 files changed, 0 insertions, 0 deletions