aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/Kconfig
diff options
context:
space:
mode:
authorStrahinja Jankovic <strahinjapjankovic@gmail.com>2022-12-26 23:03:00 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-01-12 16:50:19 +0000
commit632dfea36bbd1b754c6f42e10fef111bf4d3f612 (patch)
tree7dc13594d1fa69a2a75c21768f82a02235583585 /hw/misc/Kconfig
parent9be8a82c0ebb94b864dfe280603dcc2c7a0e3543 (diff)
downloadqemu-632dfea36bbd1b754c6f42e10fef111bf4d3f612.zip
qemu-632dfea36bbd1b754c6f42e10fef111bf4d3f612.tar.gz
qemu-632dfea36bbd1b754c6f42e10fef111bf4d3f612.tar.bz2
hw/misc: AXP209 PMU Emulation
This patch adds minimal support for AXP-209 PMU. Most important is chip ID since U-Boot SPL expects version 0x1. Besides the chip ID register, reset values for two more registers used by A10 U-Boot SPL are covered. Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com> Message-id: 20221226220303.14420-5-strahinja.p.jankovic@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/Kconfig')
-rw-r--r--hw/misc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig
index 052fb54..eaeddca 100644
--- a/hw/misc/Kconfig
+++ b/hw/misc/Kconfig
@@ -180,4 +180,8 @@ config ALLWINNER_A10_CCM
config ALLWINNER_A10_DRAMC
bool
+config AXP209_PMU
+ bool
+ depends on I2C
+
source macio/Kconfig