drm/bridge: Add RGB to VGA bridge support
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 30 Sep 2016 14:37:06 +0000 (16:37 +0200)
committerArchit Taneja <architt@codeaurora.org>
Mon, 10 Oct 2016 05:28:44 +0000 (10:58 +0530)
commit56fe8b6f499167e3f9e0aafc0909efe9fb673323
tree1cde29555ecc1adc74dc8454e8d949f551410dd6
parenta4fce9cb782ad340ee5576a38e934e5e75832dc6
drm/bridge: Add RGB to VGA bridge support

Some boards have an entirely passive RGB to VGA bridge, based on DACs
implemented by resistor ladders.

Those might or might not have an i2c bus routed to the VGA connector in
order to access the screen EDIDs.

Add a bridge that doesn't do anything but expose the modes available on the
screen, either based on the EDIDs if available, or based on the XGA
standards.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20160930143709.1388-3-maxime.ripard@free-electrons.com
Documentation/devicetree/bindings/display/bridge/dumb-vga-dac.txt [new file with mode: 0644]
drivers/gpu/drm/bridge/Kconfig
drivers/gpu/drm/bridge/Makefile
drivers/gpu/drm/bridge/dumb-vga-dac.c [new file with mode: 0644]