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 v4: - Add Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> - Add Fixes: 5cafa0f1853b ("drm/bridge: tfp410: Replace manual connector handling with bridge") - Link to v3: https://lore.kernel.org/r/20230125-tfp410_i2c-v3-0-a85d5f0f50f1@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>