From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yannick FERTRE Date: Wed, 22 Aug 2018 07:59:57 +0000 Subject: [U-Boot] [PATCH v3 03/10] video: add support of MIPI DSI interface In-Reply-To: References: <1534516690-21106-1-git-send-email-yannick.fertre@st.com> <1534516690-21106-4-git-send-email-yannick.fertre@st.com> Message-ID: <765a25ac-3e0a-19cc-4113-dd1039bfadcb@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 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é 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é >> --- >> 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