[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/7] Misc NPCM7XX patches
From: |
Hao Wu |
Subject: |
[PATCH v4 0/7] Misc NPCM7XX patches |
Date: |
Wed, 3 Nov 2021 14:59:47 -0700 |
This patch set contains a few bug fixes and I2C devices for some
NPCM7XX boards.
Patch 1~2 fix a problem that causes the SMBus module to behave
incorrectly when it's in FIFO mode and trying to receive more than
16 bytes at a time.
Patch 3 fixes a error in a register for ADC module.
Patch 4 makes the ADC input to be R/W instead of write only. It allows
a test system to read these via QMP and has no negative effect.
Patch 5 adds a new blockdev IF type IF_OTHER.
Patch 6 modifies at24c_eeprom_init in NPCM7xx boards so that it can fit
more use cases.
Patch 7 uses the function defined in patch 5 to add the EEPROM and other
I2C devices for Quanta GBS board.
-- Changes since v3:
1. Add a new blockdev IF type IF_OTHER.
2. Use IF_OTHER instead of IF_NONE.
-- Changes since v2:
1. Dropped patch 7.
2. Drop an extra variable in patch 5.
-- Changes since v1:
1. Rewrote patch 5 to implement the function in NPCM7xx board file instead
of the EEPROM device file.
2. Slightly modify patch 6 to adapt to the changes and QEMU comment style.
3. Squash patch 7 into patch 5 to make it compile.
4. Add a new patch 7.
Hao Wu (6):
hw/i2c: Clear ACK bit in NPCM7xx SMBus module
hw/i2c: Read FIFO during RXF_CTL change in NPCM7XX SMBus
hw/adc: Fix CONV bit in NPCM7XX ADC CON register
hw/adc: Make adci[*] R/W in NPCM7XX ADC
blockdev: Add a new IF type IF_OTHER
hw/nvram: Update at24c EEPROM init function in NPCM7xx boards
Patrick Venture (1):
hw/arm: quanta-gbs-bmc add i2c devices
blockdev.c | 3 +-
hw/adc/npcm7xx_adc.c | 4 +-
hw/arm/npcm7xx_boards.c | 96 ++++++++++++++++++++--------------
hw/i2c/npcm7xx_smbus.c | 8 +--
include/sysemu/blockdev.h | 1 +
meson | 2 +-
tests/qtest/npcm7xx_adc-test.c | 2 +-
7 files changed, 69 insertions(+), 47 deletions(-)
--
2.33.1.1089.g2158813163f-goog
- [PATCH v4 0/7] Misc NPCM7XX patches,
Hao Wu <=