From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: Re: [PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support Date: Mon, 06 Feb 2017 13:30:09 +0200 Message-ID: <87efzbblq6.fsf@intel.com> References: <20170131160319.9695-1-noralf@tronnes.org> <20170131160319.9695-4-noralf@tronnes.org> <20170206084848.GC27607@ulmo.ba.sec> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <20170206084848.GC27607-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thierry Reding , Noralf =?utf-8?Q?Tr=C3=B8nn?= =?utf-8?Q?es?= Cc: thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: devicetree@vger.kernel.org On Mon, 06 Feb 2017, Thierry Reding wrote: > On Tue, Jan 31, 2017 at 05:03:15PM +0100, Noralf Trønnes wrote: >> Add support for MIPI DBI compatible controllers. >> Interface type C option 1 and 3 are supported (SPI). >> >> Signed-off-by: Noralf Trønnes >> --- >> Documentation/gpu/tinydrm.rst | 12 + >> drivers/gpu/drm/tinydrm/Kconfig | 3 + >> drivers/gpu/drm/tinydrm/Makefile | 3 + >> drivers/gpu/drm/tinydrm/mipi-dbi.c | 1005 ++++++++++++++++++++++++++++++++++++ >> include/drm/tinydrm/mipi-dbi.h | 107 ++++ >> 5 files changed, 1130 insertions(+) >> create mode 100644 drivers/gpu/drm/tinydrm/mipi-dbi.c >> create mode 100644 include/drm/tinydrm/mipi-dbi.h > > Any reason why this is in the tinydrm subdirectory? Looks like this > could be useful to drivers outside of it. > >> diff --git a/drivers/gpu/drm/tinydrm/mipi-dbi.c b/drivers/gpu/drm/tinydrm/mipi-dbi.c >> new file mode 100644 >> index 0000000..5ded299 >> --- /dev/null >> +++ b/drivers/gpu/drm/tinydrm/mipi-dbi.c >> @@ -0,0 +1,1005 @@ >> +/* >> + * MIPI Display Bus Interface (DBI) LCD controller support >> + * >> + * Copyright 2016 Noralf Trønnes >> + * >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Public License as published by >> + * the Free Software Foundation; either version 2 of the License, or >> + * (at your option) any later version. >> + */ >> + >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include