drm/bridge: adv7533: Change number of DSI lanes dynamically
authorArchit Taneja <architt@codeaurora.org>
Fri, 17 Jun 2016 06:45:52 +0000 (12:15 +0530)
committerArchit Taneja <architt@codeaurora.org>
Wed, 13 Jul 2016 08:54:37 +0000 (14:24 +0530)
commit62b2f026cd8e42df53dc8a6ed76594e51ab41735
treec381b4e82c07d6c24ede5f891a377ac69035e955
parent78fa479d703c4d473746e961331aff568dc0c24f
drm/bridge: adv7533: Change number of DSI lanes dynamically

Lower modes on ADV7533 require lower number of DSI lanes for correct
operation. If ADV7533 is being used with 4 DSI lanes, then switch the
lanes to 3 when the target mode's pixel clock is less than 80 Mhz.

Based on patch by Andy Green <andy.green@linaro.org>

Signed-off-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/bridge/adv7511/adv7511.h
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
drivers/gpu/drm/bridge/adv7511/adv7533.c