ba2cccd64e
On AST2600, I2C has a secondary mode, called "new mode", which changes the layout of registers, adds some minor behavior changes, and introduces a new way to transfer data called "packet mode". Most of the bit positions of the fields are the same between old and new mode, so we use SHARED_FIELD_XX macros to reuse most of the code between the different modes. For packet mode, most of the command behavior is the same compared to other modes, but there are some minor changes to how interrupts are handled compared to other modes. Signed-off-by: Joe Komlodi <komlodi@google.com> Change-Id: I072f8301964f623afc74af1fe50c12e5caef199e Message-Id: <20220331043248.2237838-6-komlodi@google.com> Signed-off-by: Cédric Le Goater <clg@kaod.org> |
||
---|---|---|
.. | ||
aspeed_i2c.c | ||
bitbang_i2c.c | ||
core.c | ||
exynos4210_i2c.c | ||
i2c_mux_pca954x.c | ||
imx_i2c.c | ||
Kconfig | ||
meson.build | ||
microbit_i2c.c | ||
mpc_i2c.c | ||
npcm7xx_smbus.c | ||
omap_i2c.c | ||
pm_smbus.c | ||
pmbus_device.c | ||
ppc4xx_i2c.c | ||
smbus_eeprom.c | ||
smbus_ich9.c | ||
smbus_master.c | ||
smbus_slave.c | ||
trace-events | ||
trace.h | ||
versatile_i2c.c |