aspeed/adc: Add AST2700 support
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 18 Jul 2024 06:49:11 +0000 (14:49 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 21 Jul 2024 05:46:38 +0000 (07:46 +0200)
commit13b5ae94ed4d03d4992af867d0edb075651a4da9
treed65b907d7f0e0bf7e715699d37db4d3465d12291
parenta82e7e9eca7396ca39b0eb07d52e58d406d15728
aspeed/adc: Add AST2700 support

AST2700 and AST2600 ADC controllers are identical.
Introduce ast2700 class and set 2 engines.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
hw/adc/aspeed_adc.c
include/hw/adc/aspeed_adc.h