mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] drm/bridge: tfp410: Add i2c support
@ 2023-01-26 22:40 Jonathan Cormier
  2023-01-26 22:40 ` [PATCH v2 1/4] dt-bindings: display: bridge: tfp410: Add tfp410 i2c example Jonathan Cormier
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jonathan Cormier @ 2023-01-26 22:40 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Laurent Pinchart, Jonas Karlman,
	Jernej Skrabec, David Airlie, Daniel Vetter, Rob Herring,
	Krzysztof Kozlowski
  Cc: dri-devel, devicetree, linux-kernel, Michael Williamson,
	Bob Duke, Jonathan Cormier

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

---
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         |  30 ++++++
 drivers/gpu/drm/bridge/ti-tfp410.c                 | 107 +++++++++++++++------
 2 files changed, 110 insertions(+), 27 deletions(-)
---
base-commit: 93f875a8526a291005e7f38478079526c843cbec
change-id: 20230125-tfp410_i2c-3b270b0bf3e0

Best regards,
-- 
Jonathan Cormier <jcormier@criticallink.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-27  8:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-26 22:40 [PATCH v2 0/4] drm/bridge: tfp410: Add i2c support Jonathan Cormier
2023-01-26 22:40 ` [PATCH v2 1/4] dt-bindings: display: bridge: tfp410: Add tfp410 i2c example Jonathan Cormier
2023-01-27  8:41   ` Krzysztof Kozlowski
2023-01-26 22:40 ` [PATCH v2 2/4] drm/bridge: tfp410: Support basic I2C interface Jonathan Cormier
2023-01-26 22:40 ` [PATCH v2 3/4] drm/bridge: tfp410: Fix logic to configured polled HPD Jonathan Cormier
2023-01-26 22:40 ` [PATCH v2 4/4] drm/bridge: tfp410: If connected, use I2C for polled HPD status Jonathan Cormier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®