From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751416AbdBFIuK (ORCPT ); Mon, 6 Feb 2017 03:50:10 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36041 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbdBFIsw (ORCPT ); Mon, 6 Feb 2017 03:48:52 -0500 Date: Mon, 6 Feb 2017 09:48:48 +0100 From: Thierry Reding To: Noralf =?utf-8?Q?Tr=C3=B8nnes?= Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, thomas.petazzoni@free-electrons.com, linux-kernel@vger.kernel.org, Andrzej Hajda Subject: Re: [PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support Message-ID: <20170206084848.GC27607@ulmo.ba.sec> References: <20170131160319.9695-1-noralf@tronnes.org> <20170131160319.9695-4-noralf@tronnes.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8NvZYKFJsRX2Djef" Content-Disposition: inline In-Reply-To: <20170131160319.9695-4-noralf@tronnes.org> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --8NvZYKFJsRX2Djef Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 31, 2017 at 05:03:15PM +0100, Noralf Tr=C3=B8nnes wrote: > Add support for MIPI DBI compatible controllers. > Interface type C option 1 and 3 are supported (SPI). >=20 > Signed-off-by: Noralf Tr=C3=B8nnes > --- > 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=C3=B8nnes > + * > + * 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