mbox series

[0/4] DRM: BRIDGE: TFP410: Add i2c support

Message ID 20230125-tfp410_i2c-v1-0-66a4d4e390b7@criticallink.com (mailing list archive)
Headers show
Series DRM: BRIDGE: TFP410: Add i2c support | expand

Message

Jon Cormier Jan. 25, 2023, 9:09 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.

To: Andrzej Hajda <andrzej.hajda@intel.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
To: Robert Foss <robert.foss@linaro.org>
To: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
To: Jonas Karlman <jonas@kwiboo.se>
To: Jernej Skrabec <jernej.skrabec@gmail.com>
To: David Airlie <airlied@gmail.com>
To: Daniel Vetter <daniel@ffwll.ch>
To: Rob Herring <robh+dt@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Jyri Sarha <jsarha@ti.com>
Cc: dri-devel@lists.freedesktop.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Michael Williamson <michael.williamson@criticallink.com>
Cc: Bob Duke <bduke@criticallink.com>
Signed-off-by: Jonathan Cormier <jcormier@criticallink.com>

---
Jonathan Cormier (1):
      dt-bindings: display: bridge: tfp410: Add tfp410 i2c example

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.

 .../bindings/display/bridge/ti,tfp410.yaml         |  42 ++++++++
 drivers/gpu/drm/bridge/ti-tfp410.c                 | 110 +++++++++++++++------
 2 files changed, 124 insertions(+), 28 deletions(-)
---
base-commit: 93f875a8526a291005e7f38478079526c843cbec
change-id: 20230125-tfp410_i2c-3b270b0bf3e0

Best regards,