[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/7] Misc NPCM7XX patches
From: |
Hao Wu |
Subject: |
[PATCH v2 0/7] Misc NPCM7XX patches |
Date: |
Thu, 21 Oct 2021 11:39:49 -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 modifies at24c_eeprom_init in NPCM7xx boards so that it can fit
more use cases.
Patch 6 uses the function defined in patch 5 to add the EEPROM and other
I2C devices for Quanta GBS board.
Patch 7 adds an ID for SMBus devices in NPCM7xx boards. This allows us to
add device to these buses using "-device" parameter.
-- 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
hw/nvram: Update at24c EEPROM init function in NPCM7xx boards
hw/arm: Add ID for NPCM7XX SMBus
Patrick Venture (1):
hw/arm: quanta-gbs-bmc add i2c devices
hw/adc/npcm7xx_adc.c | 4 +-
hw/arm/npcm7xx.c | 1 +
hw/arm/npcm7xx_boards.c | 97 +++++++++++++++++++++-------------
hw/i2c/npcm7xx_smbus.c | 8 +--
tests/qtest/npcm7xx_adc-test.c | 2 +-
5 files changed, 67 insertions(+), 45 deletions(-)
--
2.33.0.1079.g6e70778dc9-goog
- [PATCH v2 0/7] Misc NPCM7XX patches,
Hao Wu <=
- [PATCH v2 1/7] hw/i2c: Clear ACK bit in NPCM7xx SMBus module, Hao Wu, 2021/10/21
- [PATCH v2 2/7] hw/i2c: Read FIFO during RXF_CTL change in NPCM7XX SMBus, Hao Wu, 2021/10/21
- [PATCH v2 5/7] hw/nvram: Update at24c EEPROM init function in NPCM7xx boards, Hao Wu, 2021/10/21
- [PATCH v2 6/7] hw/arm: quanta-gbs-bmc add i2c devices, Hao Wu, 2021/10/21
- [PATCH v2 7/7] hw/arm: Add ID for NPCM7XX SMBus, Hao Wu, 2021/10/21
- [PATCH v2 3/7] hw/adc: Fix CONV bit in NPCM7XX ADC CON register, Hao Wu, 2021/10/21
- [PATCH v2 4/7] hw/adc: Make adci[*] R/W in NPCM7XX ADC, Hao Wu, 2021/10/21