From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH v4 1/2] drm/panel: Add support for Truly NT35597 panel Date: Tue, 10 Jul 2018 11:44:44 +0200 Message-ID: <20180710094444.GB1504@ulmo> References: <1527294472-4451-1-git-send-email-abhinavk@codeaurora.org> <20180530191247.GO3373@art_vandelay> <0beaa3a7765dbf9bfffdee59235f180d@codeaurora.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1143224104==" Return-path: In-Reply-To: <0beaa3a7765dbf9bfffdee59235f180d@codeaurora.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: abhinavk@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, hoegsberg@google.com, chandanu@codeaurora.org List-Id: linux-arm-msm@vger.kernel.org --===============1143224104== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 30, 2018 at 03:37:26PM -0700, abhinavk@codeaurora.org wrote: > Hi Sean >=20 > Thanks for your review. >=20 > Some responses below. Please help to check. >=20 > Thanks >=20 > Abhinav Looks like this got stuck in review. Some comments below, which I hope will match Sean's opinion. > On 2018-05-30 12:12, Sean Paul wrote: > > On Fri, May 25, 2018 at 05:27:51PM -0700, Abhinav Kumar wrote: > > > Add support for Truly NT35597 panel used > > > in MSM reference platforms. > > >=20 > > > This panel supports both single DSI and dual DSI > > > modes. > > >=20 > > > However, this patch series adds support only for > > > dual DSI mode. > > >=20 > > > Changes in v4: > > > - Fix the license identifier > > > - Fix formatting issues for the regulator loads > > > - Fix error messages and return code > > >=20 > > > Signed-off-by: Archit Taneja > > > Signed-off-by: Abhinav Kumar > > > --- > > > drivers/gpu/drm/panel/Kconfig | 8 + > > > drivers/gpu/drm/panel/Makefile | 1 + > > > drivers/gpu/drm/panel/panel-truly-nt35597.c | 576 > > > ++++++++++++++++++++++++++++ > > > 3 files changed, 585 insertions(+) > > > create mode 100644 drivers/gpu/drm/panel/panel-truly-nt35597.c > > >=20 > > > diff --git a/drivers/gpu/drm/panel/Kconfig > > > b/drivers/gpu/drm/panel/Kconfig > > > index 25682ff..2fcd9b1 100644 > > > --- a/drivers/gpu/drm/panel/Kconfig > > > +++ b/drivers/gpu/drm/panel/Kconfig > > > @@ -177,4 +177,12 @@ config DRM_PANEL_SITRONIX_ST7789V > > > Say Y here if you want to enable support for the Sitronix > > > ST7789V controller for 240x320 LCD panels > > >=20 > > > +config DRM_PANEL_TRULY_NT35597_WQXGA > > > + tristate "Truly WQXGA" > > > + depends on OF > > > + depends on DRM_MIPI_DSI > > > + select VIDEOMODE_HELPERS > > > + help > > > + Say Y here if you want to enable support for Truly NT35597 WQXGA > > > Dual DSI > > > + Video Mode panel > > > endmenu > > > diff --git a/drivers/gpu/drm/panel/Makefile > > > b/drivers/gpu/drm/panel/Makefile > > > index f26efc1..056ea93 100644 > > > --- a/drivers/gpu/drm/panel/Makefile > > > +++ b/drivers/gpu/drm/panel/Makefile > > > @@ -18,3 +18,4 @@ obj-$(CONFIG_DRM_PANEL_SEIKO_43WVF1G) +=3D > > > panel-seiko-43wvf1g.o > > > obj-$(CONFIG_DRM_PANEL_SHARP_LQ101R1SX01) +=3D > > > panel-sharp-lq101r1sx01.o > > > obj-$(CONFIG_DRM_PANEL_SHARP_LS043T1LE01) +=3D > > > panel-sharp-ls043t1le01.o > > > obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) +=3D panel-sitronix-st7789v= =2Eo > > > +obj-$(CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA) +=3D panel-truly-nt35597= =2Eo > > > diff --git a/drivers/gpu/drm/panel/panel-truly-nt35597.c > > > b/drivers/gpu/drm/panel/panel-truly-nt35597.c > > > new file mode 100644 > > > index 0000000..a57cbf0 > > > --- /dev/null > > > +++ b/drivers/gpu/drm/panel/panel-truly-nt35597.c > > > @@ -0,0 +1,576 @@ > > > +// SPDX-License-Identifier: GPL-2.0 > > > +/* > > > + * Copyright (c) 2018, The Linux Foundation. All rights reserved. > > > + */ > > > + > > > +#include > > > +#include > > > +#include > > > +#include > > > + > > > +#include