
Hi,
Ok, I 'll rework driver with a new uclass & driver model.
Best regards
On 08/21/2018 07:31 PM, Simon Glass wrote:
Hi,
On 17 August 2018 at 08:38, Yannick Fertré yannick.fertre@st.com wrote:
Mipi_display.c contains a set of dsi helpers. This file is a copy of file drm_mipi_dsi.c (linux kernel).
Signed-off-by: Yannick Fertré yannick.fertre@st.com
drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/mipi_dsi.c | 828 +++++++++++++++++++++++++++++++++++++++++++++++ include/mipi_dsi.h | 451 ++++++++++++++++++++++++++ 4 files changed, 1288 insertions(+) create mode 100644 drivers/video/mipi_dsi.c create mode 100644 include/mipi_dsi.h
Yes I think you need a uclass. However it is probably not applicable for this file, but for the other one, where you have the transfer() method. You should set up a uclass for that.
Regards, Simon