mbox series

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

Message ID 20230125-tfp410_i2c-v3-0-a85d5f0f50f1@criticallink.com (mailing list archive)
Headers show
Series drm/bridge: tfp410: Add i2c support | expand

Message

Jon Cormier Feb. 20, 2023, 10:10 p.m. UTC
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@criticallink.com>
---
Changes in v3:
- Drop dt-bindings i2c example
- Link to v2: https://lore.kernel.org/r/20230125-tfp410_i2c-v2-0-bf22f4dcbcea@criticallink.com

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@criticallink.com

---
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,

Comments

Jon Cormier March 30, 2023, 6:16 p.m. UTC | #1
Bumping patch submission.

On Mon, Feb 20, 2023 at 5:10 PM Jonathan Cormier <jcormier@criticallink.com>
wrote:

> 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@criticallink.com>
> ---
> Changes in v3:
> - Drop dt-bindings i2c example
> - Link to v2:
> https://lore.kernel.org/r/20230125-tfp410_i2c-v2-0-bf22f4dcbcea@criticallink.com
>
> 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@criticallink.com
>
> ---
> 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@criticallink.com>
>
>