7abb479c7a
Original commit message:
This patch adds an emulation model for i2c controller found on most of the FSL SoCs.
It also integrates the RTC (ds1338) that sits on the i2c Bus with e500 machine model.
Patch was originally written by Amit Singh Tomar <amit.tomar@freescale.com>
see http://patchwork.ozlabs.org/patch/431475/
I only fixed it enough for application on top of current qemu master
20b084c4b1
, and hopefully fixed checkpatch errors
Tested by booting Linux kernel 4.20.12. Now e500 machine doesn't need
network time protocol daemon because it will have working RTC
(before all timestamps on files were from 2016)
Signed-off-by: Amit Singh Tomar <amit.tomar@freescale.com>
Signed-off-by: Andrew Randrianasulu <randrianasulu@gmail.com>
Message-Id: <20190306102812.28972-1-randrianasulu@gmail.com>
[dwg: Add Kconfig stanza to define the new symbol, update MAINTAINERS]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
32 lines
338 B
Plaintext
32 lines
338 B
Plaintext
config I2C
|
|
bool
|
|
|
|
config SMBUS_EEPROM
|
|
bool
|
|
depends on I2C
|
|
|
|
config DDC
|
|
bool
|
|
depends on I2C
|
|
select EDID
|
|
|
|
config VERSATILE_I2C
|
|
bool
|
|
select I2C
|
|
|
|
config ACPI_SMBUS
|
|
bool
|
|
select I2C
|
|
|
|
config BITBANG_I2C
|
|
bool
|
|
select I2C
|
|
|
|
config IMX_I2C
|
|
bool
|
|
select I2C
|
|
|
|
config MPC_I2C
|
|
bool
|
|
select I2C
|