video: omap: split the legacy code from the DM code
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:16:30 +0000 (00:16 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:29:00 +0000 (10:59 +0530)
commit35ab1b6ef7f3a804babbb77d28041967539cd5e6
tree98b545cc7324613989dc97990bf7ec4b9d487e29
parent91337f59dd6f5ca4baf1cdc86156fff65f7efb38
video: omap: split the legacy code from the DM code

The schedule for deprecating the features of the pre-driver-model puts
2019.17 as the deadline for the video subsystem. Furthermore, the latest
patches applied to the am335x-fb.c module have decreased the amount of
code shared with the pre-driver-model implementation. Splitting the two
implementations into two modules improves the readability of the code
and will make it easier to drop the pre-driver-model code.
I have not created a header file with the data structures and the
constants for accessing the LCD controller registers, but I preferred to
keep them inside the two c modules. This is a code replication until the
pre-driver-model version is dropped.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
drivers/video/Makefile
drivers/video/am335x-fb.c
drivers/video/am335x-fb.h
drivers/video/tilcdc-panel.c
drivers/video/tilcdc-panel.h
drivers/video/tilcdc.c [new file with mode: 0644]
drivers/video/tilcdc.h [new file with mode: 0644]