On 07/07/2019 21:18, Laurent Pinchart wrote:
The TI OP362 is an analog video amplifier controlled through a GPIO. Add
support for it to the simple-bridge driver.

Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
---
  drivers/gpu/drm/bridge/simple-bridge.c | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/bridge/simple-bridge.c 
b/drivers/gpu/drm/bridge/simple-bridge.c
index a7edf3c39627..7495b9bef865 100644
--- a/drivers/gpu/drm/bridge/simple-bridge.c
+++ b/drivers/gpu/drm/bridge/simple-bridge.c
@@ -296,6 +296,11 @@ static const struct of_device_id simple_bridge_match[] = {
                        .timings = &default_bridge_timings,
                        .type = DRM_MODE_CONNECTOR_VGA,
                },
+       }, {
+               .compatible = "ti,opa362",
+               .data = &(const struct simple_bridge_info) {
+                       .type = DRM_MODE_CONNECTOR_Composite,
+               },

I have to say I'm pretty clueless about the analog TV, but OMAP DSS supports also s-video outputs. But I don't know if OPA362 can be used with s-video, or does it dictate composite.

In any case,

Reviewed-by: Tomi Valkeinen <tomi.valkei...@ti.com>

 Tomi
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to