aboutsummaryrefslogtreecommitdiff
path: root/include/hw/adc
diff options
context:
space:
mode:
authorSteven Lee <steven_lee@aspeedtech.com>2022-05-02 17:03:02 +0200
committerCédric Le Goater <clg@kaod.org>2022-05-02 17:03:02 +0200
commit5c5e044583a5dcfc361ad94b6acf1942e54dcc6b (patch)
treeca75748f9e8b048198da038c96f8cd1f1ecfbdcb /include/hw/adc
parentfe31a2ecf02afda011df80e8a513a3c0eb9bc1e8 (diff)
downloadqemu-5c5e044583a5dcfc361ad94b6acf1942e54dcc6b.zip
qemu-5c5e044583a5dcfc361ad94b6acf1942e54dcc6b.tar.gz
qemu-5c5e044583a5dcfc361ad94b6acf1942e54dcc6b.tar.bz2
aspeed/adc: Add AST1030 support
Per ast1030_v7.pdf, AST1030 ADC engine is identical to AST2600's ADC. Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Steven Lee <steven_lee@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220401083850.15266-2-jamin_lin@aspeedtech.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/adc')
-rw-r--r--include/hw/adc/aspeed_adc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/adc/aspeed_adc.h b/include/hw/adc/aspeed_adc.h
index 2f166e8..ff1d06e 100644
--- a/include/hw/adc/aspeed_adc.h
+++ b/include/hw/adc/aspeed_adc.h
@@ -17,6 +17,7 @@
#define TYPE_ASPEED_2400_ADC TYPE_ASPEED_ADC "-ast2400"
#define TYPE_ASPEED_2500_ADC TYPE_ASPEED_ADC "-ast2500"
#define TYPE_ASPEED_2600_ADC TYPE_ASPEED_ADC "-ast2600"
+#define TYPE_ASPEED_1030_ADC TYPE_ASPEED_ADC "-ast1030"
OBJECT_DECLARE_TYPE(AspeedADCState, AspeedADCClass, ASPEED_ADC)
#define TYPE_ASPEED_ADC_ENGINE "aspeed.adc.engine"