qemu-e2k/hw/i2c/Kconfig
Strahinja Jankovic 9be8a82c0e {hw/i2c,docs/system/arm}: Allwinner TWI/I2C Emulation
This patch implements Allwinner TWI/I2C controller emulation. Only
master-mode functionality is implemented.

The SPL boot for Cubieboard expects AXP209 PMIC on TWI0/I2C0 bus, so this is
first part enabling the TWI/I2C bus operation.

Since both Allwinner A10 and H3 use the same module, it is added for
both boards.

Docs are also updated for Cubieboard and Orangepi-PC board to indicate
I2C availability.

Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-id: 20221226220303.14420-4-strahinja.p.jankovic@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-01-12 16:50:19 +00:00

48 lines
584 B
Plaintext

config I2C
bool
config I2C_DEVICES
# Device group for i2c devices which can reasonably be user-plugged
# to any board's i2c bus
bool
config SMBUS
bool
select I2C
config SMBUS_EEPROM
bool
select SMBUS
config VERSATILE_I2C
bool
select BITBANG_I2C
config ACPI_SMBUS
bool
select SMBUS
config BITBANG_I2C
bool
select I2C
config IMX_I2C
bool
select I2C
config MPC_I2C
bool
select I2C
config ALLWINNER_I2C
bool
select I2C
config PCA954X
bool
select I2C
config PMBUS
bool
select SMBUS