qemu/include/hw/ssi
Peter Maydell 871f82722c hw/misc/max111x: Use GPIO lines rather than max111x_set_input()
The max111x ADC device model allows other code to set the level on
the 8 ADC inputs using the max111x_set_input() function.  Replace
this with generic qdev GPIO inputs, which also allow inputs to be set
to arbitrary values.

Using GPIO lines will make it easier for board code to wire things
up, so that if device A wants to set the ADC input it doesn't need to
have a direct pointer to the max111x but can just set that value on
its output GPIO, which is then wired up by the board to the
appropriate max111x input.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200628142429.17111-11-peter.maydell@linaro.org
2020-07-03 16:59:45 +01:00
..
aspeed_smc.h aspeed/smc: Add AST2600 timings registers 2019-12-16 10:46:34 +00:00
imx_spi.h
mss-spi.h
pl022.h
ssi.h hw/misc/max111x: Use GPIO lines rather than max111x_set_input() 2020-07-03 16:59:45 +01:00
stm32f2xx_spi.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
xilinx_spips.h