dm: i2c: implement gpio-based I2C deblock
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v11 patch 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dm: i2c: dts: Add gpios and pinctrl device tree propertiesdoc/ | +13 | 1 reply | |
| 2/2 | dm: i2c: implement gpio-based I2C deblockdrivers/ | +109 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [U-Boot] [PATCH v2 0/2] dm: i2c: implement gpio-based I2C deblock
Hello, Heiko!
Here is try2 of my previous patch[1].
Done in v2:
- fix checkpatch warnings
- ENOSYS warning still present, but it was in original code also and for me it looks like -ENOSYS must be returned in case of missed i2c_deblock_gpio() implementation.
WARNING: ENOSYS means 'invalid syscall nr' and nothing else #138: FILE: drivers/i2c/i2c-uclass.c:552:
+ return -ENOSYS;
- fix travis build, results can be viewed here:
https://travis-ci.org/akochetkov/u-boot/builds/358822512
- add property description to i2c.txt
I have question. I declared PIN_SDA, PIN_SCL, PIN_COUNT constants for i2c-uclass.c. The same constants exist in the i2c-gpio.c. Should I place them into i2c.h or may leave as is?
[1] https://lists.denx.de/pipermail/u-boot/2018-March/thread.html#321755
Alexander Kochetkov (2):
dm: i2c: dts: Add gpios and pinctrl device tree properties
dm: i2c: implement gpio-based I2C deblock
doc/device-tree-bindings/i2c/i2c.txt | 13 ++++ drivers/i2c/i2c-uclass.c | 118 +++++++++++++++++++++++++++++++--- 2 files changed, 122 insertions(+), 9 deletions(-)
Signature · 1 line
1.7.9.5