video: omap: add panel driver
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:16:27 +0000 (00:16 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:28:27 +0000 (10:58 +0530)
commitff94c15a3cf1ded3b851c65bb86168f6428e0d06
tree868de165c7c2e1e971bbcaae983de1150aac82cf
parent15daa4860bf3c49f53ae76812e0033e4d5faa0a2
video: omap: add panel driver

The previous version of am335x-fb.c contained the functionalities of two
drivers that this patch has split. It was a video type driver that used
the same registration compatible string that now registers a panel type
driver. The proof of this is that two compatible strings were referred
to within the same driver.
There are now two drivers, each with its own compatible string,
functions and API.
Furthermore, the panel driver, in addition to decoding the display
timings, is now also able to manage the backlight.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 files changed:
arch/arm/dts/am335x-brppt1-mmc.dts
arch/arm/dts/am335x-brppt1-nand.dts
arch/arm/dts/am335x-brppt1-spi.dts
arch/arm/dts/am335x-brsmarc1.dts
arch/arm/dts/am335x-brxre1.dts
arch/arm/dts/am335x-evm-u-boot.dtsi
arch/arm/dts/am335x-evmsk-u-boot.dtsi
arch/arm/dts/am335x-guardian-u-boot.dtsi
arch/arm/dts/am335x-pdu001-u-boot.dtsi
arch/arm/dts/am335x-pxm50-u-boot.dtsi
arch/arm/dts/am335x-rut-u-boot.dtsi
drivers/video/Makefile
drivers/video/am335x-fb.c
drivers/video/am335x-fb.h
drivers/video/tilcdc-panel.c [new file with mode: 0644]
drivers/video/tilcdc-panel.h [new file with mode: 0644]