[RESEND PATCH v3] video: ti: am335x: restore driver-model code

Anatolij Gustschin agust at denx.de
Sat Feb 4 20:29:46 CET 2023


On Sat, 28 Jan 2023 16:55:31 +0100
Dario Binacchi dario.binacchi at amarulasolutions.com wrote:

> The commit 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD") removed not
> only the LCD legacy implementation but also the code with driver model
> support. The patch restores the code with driver model support.
> 
> Fixes: 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD")
> Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> ---
> 
> Changes in v3:
> - Remove the lcd.h include which I forgot to commit in v2.
> 
> Changes in v2:
> - Collapse the two patches into one only.
> - Fix the compilation failure.
> 
>  drivers/video/Kconfig           |   2 +
>  drivers/video/Makefile          |   1 +
>  drivers/video/ti/Kconfig        |   8 +
>  drivers/video/ti/Makefile       |   6 +
>  drivers/video/ti/tilcdc-panel.c | 172 +++++++++++++
>  drivers/video/ti/tilcdc-panel.h |  14 ++
>  drivers/video/ti/tilcdc.c       | 425 ++++++++++++++++++++++++++++++++
>  drivers/video/ti/tilcdc.h       |  38 +++
>  8 files changed, 666 insertions(+)
>  create mode 100644 drivers/video/ti/Kconfig
>  create mode 100644 drivers/video/ti/Makefile
>  create mode 100644 drivers/video/ti/tilcdc-panel.c
>  create mode 100644 drivers/video/ti/tilcdc-panel.h
>  create mode 100644 drivers/video/ti/tilcdc.c
>  create mode 100644 drivers/video/ti/tilcdc.h

applied to u-boot-video/master, thanks!

--
Anatolij


More information about the U-Boot mailing list