mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/misc: Rename axp209 to axp22x and add support AXP221 PMU
This patch adds minimal support for AXP-221 PMU and connect it to bananapi M2U board. Signed-off-by: qianfan Zhao <qianfanguijin@163.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
44814e210a
commit
a954543092
7 changed files with 297 additions and 245 deletions
|
@ -23,10 +23,10 @@ allwinner_sid_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%"
|
|||
avr_power_read(uint8_t value) "power_reduc read value:%u"
|
||||
avr_power_write(uint8_t value) "power_reduc write value:%u"
|
||||
|
||||
# axp209.c
|
||||
axp209_rx(uint8_t reg, uint8_t data) "Read reg 0x%" PRIx8 " : 0x%" PRIx8
|
||||
axp209_select(uint8_t reg) "Accessing reg 0x%" PRIx8
|
||||
axp209_tx(uint8_t reg, uint8_t data) "Write reg 0x%" PRIx8 " : 0x%" PRIx8
|
||||
# axp2xx
|
||||
axp2xx_rx(uint8_t reg, uint8_t data) "Read reg 0x%" PRIx8 " : 0x%" PRIx8
|
||||
axp2xx_select(uint8_t reg) "Accessing reg 0x%" PRIx8
|
||||
axp2xx_tx(uint8_t reg, uint8_t data) "Write reg 0x%" PRIx8 " : 0x%" PRIx8
|
||||
|
||||
# eccmemctl.c
|
||||
ecc_mem_writel_mer(uint32_t val) "Write memory enable 0x%08x"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue