[U-Boot] [PATCH v5 05/15] dm: Add a dsi host uclass

Anatolij Gustschin agust at denx.de
Mon Oct 14 17:28:09 UTC 2019


On Mon, 7 Oct 2019 15:29:05 +0200
Yannick Fertré yannick.fertre at st.com wrote:

> Display Serial Interface (DSI) host can usefully be modelled
> as their own uclass.
> DSI defines a serial bus and a communication protocol
> between the host and the device (panel, bridge).
> 
> Signed-off-by: Yannick Fertré <yannick.fertre at st.com>
> ---
>  arch/sandbox/dts/sandbox.dts     |  6 ++-
>  configs/sandbox_defconfig        |  1 +
>  drivers/video/Kconfig            | 11 +++++
>  drivers/video/Makefile           |  2 +
>  drivers/video/dsi-host-uclass.c  | 39 +++++++++++++++++
>  drivers/video/sandbox_dsi_host.c | 90 ++++++++++++++++++++++++++++++++++++++++
>  include/dm/uclass-id.h           |  1 +
>  include/dsi_host.h               | 73 ++++++++++++++++++++++++++++++++
>  test/dm/Makefile                 |  1 +
>  test/dm/dsi_host.c               | 58 ++++++++++++++++++++++++++
>  10 files changed, 281 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/video/dsi-host-uclass.c
>  create mode 100644 drivers/video/sandbox_dsi_host.c
>  create mode 100644 include/dsi_host.h
>  create mode 100644 test/dm/dsi_host.c

Fixed test (./u-boot --fdt arch/sandbox/dts/test.dtb --command "ut dm dsi_host")
and applied to u-boot-video/master, thanks!

--
Anatolij


More information about the U-Boot mailing list