i2c: tegra20: add target controller support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- fix minor issues highlighted by Uwe
- removed NACK support, because it is not used by the EC I tested the patch with
- do not access the registers or disable the IRQ and clocks again if resume failed (noted by Sashiko)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: i2c: Add Tegra20 I2C target controllerDocumentation/ | +23 | 2 replies | |
| 2/2 | i2c: tegra20: Add driver for Tegra20 I2C target controller instancesMAINTAINERS drivers/ drivers/ +1 more | +372 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] i2c: tegra20: add target controller support
Hi,
this series adds I2C target mode support to the Tegra20 I2C controller. The driver is very simple and only supports single byte transfers. The goal is to remove the NVEC driver from staging with which this implentation was also tested.
I used a separate driver for the target for maintainability and extensibility reasons, in case support for more Tegra SOCs will be added. The driver was coded by use of an LLM with a few adaptions by me.
Marc
---
Changes since V1:
- fix minor issues highlighted by Uwe
- removed NACK support, because it is not used by the EC I tested the patch with
- do not access the registers or disable the IRQ and clocks again if resume failed (noted by Sashiko)
Marc Dietrich (2):
dt-bindings: i2c: Add Tegra20 I2C target controller
i2c: tegra20: Add driver for Tegra20 I2C target controller instances
.../bindings/i2c/nvidia,tegra20-i2c.yaml | 27 +- MAINTAINERS | 6 + drivers/i2c/busses/Kconfig | 14 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-tegra-target.c | 351 ++++++++++++++++++ 5 files changed, 395 insertions(+), 4 deletions(-) create mode 100644 drivers/i2c/busses/i2c-tegra-target.c
Signature · 1 line
2.55.0