[ddk][i2c] Phase 2 of i2c protocol clean-up
- Remove i2c_channel_t. Now the i2c protocol ops use a uint32_t index to specify the i2c channel - Remove i2c_set_bitrate() from the high level i2c protocol. None of our drivers actually implement this, and if they did this would be something set by the platform board driver, not the client. - Remove the "actual" parameter from i2c_complete_cb. i2c read transfers either return the amount requested or fail, so this parameter is not needed. Change-Id: I2dc2499ba1218d9bfd3501a43982279a3c534157
Showing
- system/dev/audio/gauss-tdm/tas57xx.cpp 4 additions, 7 deletionssystem/dev/audio/gauss-tdm/tas57xx.cpp
- system/dev/audio/gauss-tdm/tas57xx.h 1 addition, 1 deletionsystem/dev/audio/gauss-tdm/tas57xx.h
- system/dev/board/gauss/gauss-i2c-test.c 4 additions, 12 deletionssystem/dev/board/gauss/gauss-i2c-test.c
- system/dev/board/hikey960/hikey960-i2c-test.c 4 additions, 12 deletionssystem/dev/board/hikey960/hikey960-i2c-test.c
- system/dev/bus/platform/platform-device.c 0 additions, 3 deletionssystem/dev/bus/platform/platform-device.c
- system/dev/bus/platform/platform-i2c.c 1 addition, 1 deletionsystem/dev/bus/platform/platform-i2c.c
- system/dev/bus/platform/platform-proxy.c 24 additions, 67 deletionssystem/dev/bus/platform/platform-proxy.c
- system/dev/bus/platform/platform-proxy.h 0 additions, 1 deletionsystem/dev/bus/platform/platform-proxy.h
- system/dev/display/dsi/adv7533.c 4 additions, 25 deletionssystem/dev/display/dsi/adv7533.c
- system/dev/display/dsi/dsi.h 0 additions, 3 deletionssystem/dev/display/dsi/dsi.h
- system/ulib/ddk/include/ddk/protocol/i2c.h 20 additions, 67 deletionssystem/ulib/ddk/include/ddk/protocol/i2c.h
Loading
Please register or sign in to comment