drm: bridge: thc63: Restrict modes based on hardware operating frequency
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 22 Aug 2018 14:04:06 +0000 (17:04 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 24 Sep 2018 21:40:51 +0000 (00:40 +0300)
commit399d9f2f197a06b8866192a019a97d2af29cc81e
tree7315b2e4a63b231b9f964172e4ce02abf283a108
parent9734a7009de62c05e9b08fa65efb7c5214ab3f30
drm: bridge: thc63: Restrict modes based on hardware operating frequency

The THC63LVD1024 is restricted to a pixel clock frequency in the range
of 8 to 135 MHz. Implement the bridge .mode_valid() operation
accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
drivers/gpu/drm/bridge/thc63lvd1024.c