[PATCH v3 0/3] drm/bridge: tfp410: Add i2c support

From: Jonathan Cormier
Date: Mon Feb 20 2023 - 17:10:48 EST


The TFP410 driver does not support I2C. As such, the device remains in
Power Down if the I2C is enabled by the bootstrap pins.

Add basic support for the I2C interface, and provide support to take
the device out of power down when enabled. Also read the bootstrap mode
pins via the CTL_1_MODE register when using the I2C bus.

Also allow polling device to support hdmi/dvi hotplug detection.

Signed-off-by: Jonathan Cormier <jcormier@xxxxxxxxxxxxxxxx>
---
Changes in v3:
- Drop dt-bindings i2c example
- Link to v2: https://lore.kernel.org/r/20230125-tfp410_i2c-v2-0-bf22f4dcbcea@xxxxxxxxxxxxxxxx

Changes in v2:
- Fix dt_binding_check errors
- Remove hdmi connector from binding example
- Fix compile warning. Unused variable and unsigned int instead of int for ret
- Fix commit titles
- Drop of_match_ptr change
- Link to v1: https://lore.kernel.org/r/20230125-tfp410_i2c-v1-0-66a4d4e390b7@xxxxxxxxxxxxxxxx

---
Michael Williamson (3):
drm/bridge: tfp410: Support basic I2C interface
drm/bridge: tfp410: Fix logic to configured polled HPD
drm/bridge: tfp410: If connected, use I2C for polled HPD status.

drivers/gpu/drm/bridge/ti-tfp410.c | 107 +++++++++++++++++++++++++++----------
1 file changed, 80 insertions(+), 27 deletions(-)
---
base-commit: 93f875a8526a291005e7f38478079526c843cbec
change-id: 20230125-tfp410_i2c-3b270b0bf3e0

Best regards,
--
Jonathan Cormier <jcormier@xxxxxxxxxxxxxxxx>