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

Simon Glass sjg at chromium.org
Thu Dec 22 00:37:43 CET 2022


On Wed, 21 Dec 2022 at 04:25, 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.
>
> Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
>
> ---
>
> 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
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list