video: omap: set LCD clock rate through DM API
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:16:29 +0000 (00:16 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:28:29 +0000 (10:58 +0530)
commit91337f59dd6f5ca4baf1cdc86156fff65f7efb38
treea72e2edb985eb46a8149056b172d92b69c991050
parente58e5067fb318958791aed5baf2d21e3d78653d7
video: omap: set LCD clock rate through DM API

The patch configures the display DPLL using the functions provided by
the driver model API for the clock. The device tree contains everything
needed to get the DPLL clock. The round rate function developed for
calculating the DPLL multiplier and divisor and the platform routines
for accessing the DPLL registers are removed from the LCD driver code
because they are implemented inside the DPLL clock driver.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
drivers/video/am335x-fb.c