i2c-designware: Push all register reads/writes into the core code.
Move all register manipulation code into the core, also move register offset definitions to i2c-designware-core.c since the bus specific portions of the driver no longer need/use them. Signed-off-by:Dirk Brandewie <dirk.brandewie@gmail.com> Signed-off-by:
Ben Dooks <ben-linux@fluff.org>
Showing
- drivers/i2c/busses/i2c-designware-core.c 135 additions, 0 deletionsdrivers/i2c/busses/i2c-designware-core.c
- drivers/i2c/busses/i2c-designware-core.h 5 additions, 99 deletionsdrivers/i2c/busses/i2c-designware-core.h
- drivers/i2c/busses/i2c-designware-platdrv.c 3 additions, 3 deletionsdrivers/i2c/busses/i2c-designware-platdrv.c
Loading
Please register or sign in to comment