omap24xx_i2c: Enable Repeated Start functionality
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 9 repliesIn review
- v24 patches 6 repliesSuperseded
- v13 patches 8 repliesSuperseded
Changes in v3 from the cover letter
- Fixup [PATCH 2/4] to avoid unused function __omap24_i2c_xfer_msg() compile time warnings... Move this behind DM_I2C ifdef
- Link to v2: https://lore.kernel.org/all/[email protected]/
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | i2c: omap24xx_i2c: Remove unused CONFIG_I2C_REPEATED_STARTdrivers/ | +1 | 2 replies | |
| 2/4 | i2c: omap24xx_i2c: Use new function __omap24_i2c_xfer_msg()drivers/ | +123 | 2 replies | |
| 3/4 | i2c: omap24xx_i2c: support CONFIG for repeated start in DM_I2C xferdrivers/ | +16 | 2 replies | |
| 4/4 | drivers: i2c: Kconfig: Add CONFIG_SYS_I2C_OMAP24XX_REPEATED_STARTdrivers/ | +9 | 2 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Heiko Schocher | Udit Kumar |
|---|---|---|
| Series | R-b | |
| 1/4 | R-b | |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] omap24xx_i2c: Enable Repeated Start functionality
This series implements Repeated Start functionality for the DM_I2C xfer API (omap_i2c_xfer())
First, split out the actual implementation for each individual i2c msg transfer into a new function __omap24_i2c_xfer_msg() and use this to implement omap_i2c_xfer().
Then, add support for the Repeated Start condition in omap_i2c_xfer() through the CONFIG_I2C_REPEATED_START option.
Also add this config to Kconfig and enable it for ARCH_K3 platforms by default.
Test logs (On J7200 EVM with DEBUG enabled):
https://gist.github.com/aniket-l/9124c65a85a093a5bdc4517e0f813259
---
v3:
- Fixup [PATCH 2/4] to avoid unused function __omap24_i2c_xfer_msg() compile time warnings... Move this behind DM_I2C ifdef
- Link to v2: https://lore.kernel.org/all/[email protected]/
v2:
- Add another patch to remove unused CONFIG_I2C_REPEATED_START
- use new CONFIG_SYS_I2C_OMAP24XX_REPEATED_START
- Return right error codes and update debug prints to be driver specific
- patch formatting updates
- Link to v1: https://lore.kernel.org/u-boot/[email protected]/
Aniket Limaye (4):
i2c: omap24xx_i2c: Remove unused CONFIG_I2C_REPEATED_START
i2c: omap24xx_i2c: Use new function __omap24_i2c_xfer_msg()
i2c: omap24xx_i2c: support CONFIG for repeated start in DM_I2C xfer
drivers: i2c: Kconfig: Add CONFIG_SYS_I2C_OMAP24XX_REPEATED_START
drivers/i2c/Kconfig | 9 ++ drivers/i2c/omap24xx_i2c.c | 165 ++++++++++++++++++++++++++++++------- 2 files changed, 144 insertions(+), 30 deletions(-)
Signature · 1 line
2.49.0