Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1788850pxa; Sun, 16 Aug 2020 11:07:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzseVQ+og2YNi4sxxpLlZsGR6BhTXy8LmHj2HlffxTA/M7dLQ6CK6giI+0/CsndeKj7z71l X-Received: by 2002:a17:906:82ca:: with SMTP id a10mr11519326ejy.524.1597601266520; Sun, 16 Aug 2020 11:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597601266; cv=none; d=google.com; s=arc-20160816; b=j+ZvdN606qi7wr2w6xLDGQ/Io14+sA3r36wqzGAn8oedf+WsHhp2asllIkDZh+I6c2 XWYZS6FGebdefHtjwLoOSq95+ToFJS3ng24R/8IBUe2USZMrj7h3jU/6cRTUgyLHyJfC GZUJfE35hx2ZOL0LTALiH8DhWYydOzYErAhWMXx0/BY1Me+v2tZecMLJ3OWba1DBbBhK UzFWsD1len1cpMnErAff8+UzP6+d7TQ3uBdSATK1BDlTOOwS/5V0H8nMpNk1as8/JvKF 3zwLAarvH5+vcVOoqBQApiSsJPZduU3PUXncqwNMZVtpyCZXBjDgu9JGzPYQtVoiBnFF RMyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/9U3LhJFPkNXNpS0SO0zJhMd/jY0jqGBmQF15CI+FL4=; b=BLEN1ztqw3fX+Ny3JSV1l9VrV41Fj61KG7vFYhNvYxn7Q51Ogp70L7tGreekl9XHDO dslqqei9eQUniuTySWXri+VC1q+eFCT6HK9yPTMwuo80YTRrjDlXMAR33mJgZ3UQGmuD 0Eid233dlogt9HcWCzeq2SCwDH/W3EeGwI0FPQ/psvHClURiz0odbr5NtkeSaeNxn65+ AMmIPG7BRBCjY0oTzPnJB8qRAHD7PW0Y0jFhupuOsgr8Raoyz9dqkFk/w4EUVUKuTGid V9c01xSklkW3r/SyIgvUPEHOvni9Qr/g2XhYuUC74E/QzoLzv77h5N8q7sw7h6nM0n0N OtRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id va1si9431153ejb.558.2020.08.16.11.07.22; Sun, 16 Aug 2020 11:07:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729588AbgHPRzc (ORCPT + 99 others); Sun, 16 Aug 2020 13:55:32 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:45978 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726855AbgHPRz2 (ORCPT ); Sun, 16 Aug 2020 13:55:28 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id BDAA9FB05; Sun, 16 Aug 2020 19:55:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HXXHDx4_RJ8i; Sun, 16 Aug 2020 19:55:21 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 802AE457CC; Sun, 16 Aug 2020 19:55:21 +0200 (CEST) Date: Sun, 16 Aug 2020 19:55:21 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Sam Ravnborg Cc: Thierry Reding , David Airlie , Daniel Vetter , Rob Herring , Arnd Bergmann , Linus Walleij , Heiko Stuebner , Daniel Palmer , Lubomir Rintel , Mark Brown , Kuninori Morimoto , allen , Mauro Carvalho Chehab , "David S. Miller" , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel Message-ID: <20200816175521.GC2838@bogon.m.sigxcpu.org> References: <20200815212727.GA1244923@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200815212727.GA1244923@ravnborg.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, thanks for having a look! On Sat, Aug 15, 2020 at 11:27:27PM +0200, Sam Ravnborg wrote: > Hi Guido. > > On Sat, Aug 15, 2020 at 11:16:22PM +0200, Guido G?nther wrote: > > The panel uses a Focaltech FT8006p, the touch part is handled by the > > already existing edt-ft5x06. > > > > Signed-off-by: Guido G?nther > > Two small nits - otherwise looks good. > Reviewed-by: Sam Ravnborg > > I can fix while applying or you can send a new revision, > but I cannot apply until drm-misc-next have seen a backmerge > due to dev_err_probe() usage. I'll send out a v3 with this fixed. > Did you have commit rights yet? > If yes, then please apply yourself. No commit rights here. So it would be great if you could apply the patches. Should I look for commit rights? I assume that means following https://drm.pages.freedesktop.org/maintainer-tools/commit-access.html#drm-misc Cheers, -- Guido > > Sam > > > --- > > MAINTAINERS | 7 + > > drivers/gpu/drm/panel/Kconfig | 11 + > > drivers/gpu/drm/panel/Makefile | 1 + > > .../gpu/drm/panel/panel-mantix-mlaf057we51.c | 328 ++++++++++++++++++ > > 4 files changed, 347 insertions(+) > > create mode 100644 drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 83ba7b62651f7..7dfe4cc3d4ec8 100644 > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -5474,6 +5474,13 @@ S: Maintained > > F: drivers/gpu/drm/panel/panel-lvds.c > > F: Documentation/devicetree/bindings/display/panel/lvds.yaml > > > > +DRM DRIVER FOR MANTIX MLAF057WE51 PANELS > > +M: Guido G?nther > > +R: Purism Kernel Team > > +S: Maintained > > +F: Documentation/devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml > > +F: drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c > > + > > DRM DRIVER FOR MATROX G200/G400 GRAPHICS CARDS > > S: Orphan / Obsolete > > F: drivers/gpu/drm/mga/ > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > > index de2f2a452be55..8d97d07c58713 100644 > > --- a/drivers/gpu/drm/panel/Kconfig > > +++ b/drivers/gpu/drm/panel/Kconfig > > @@ -217,6 +217,17 @@ config DRM_PANEL_NOVATEK_NT39016 > > Say Y here if you want to enable support for the panels built > > around the Novatek NT39016 display controller. > > > > +config DRM_PANEL_MANTIX_MLAF057WE51 > > + tristate "Mantix MLAF057WE51-X MIPI-DSI LCD panel" > > + depends on OF > > + depends on DRM_MIPI_DSI > > + depends on BACKLIGHT_CLASS_DEVICE > > + help > > + Say Y here if you want to enable support for the Mantix > > + MLAF057WE51-X MIPI DSI panel as e.g. used in the Librem 5. It > > + has a resolution of 720x1440 pixels, a built in backlight and touch > > + controller. > > + > > config DRM_PANEL_OLIMEX_LCD_OLINUXINO > > tristate "Olimex LCD-OLinuXino panel" > > depends on OF > > diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile > > index e45ceac6286fd..15a4e77529514 100644 > > --- a/drivers/gpu/drm/panel/Makefile > > +++ b/drivers/gpu/drm/panel/Makefile > > @@ -20,6 +20,7 @@ obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o > > obj-$(CONFIG_DRM_PANEL_NEC_NL8048HL11) += panel-nec-nl8048hl11.o > > obj-$(CONFIG_DRM_PANEL_NOVATEK_NT35510) += panel-novatek-nt35510.o > > obj-$(CONFIG_DRM_PANEL_NOVATEK_NT39016) += panel-novatek-nt39016.o > > +obj-$(CONFIG_DRM_PANEL_MANTIX_MLAF057WE51) += panel-mantix-mlaf057we51.o > > obj-$(CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO) += panel-olimex-lcd-olinuxino.o > > obj-$(CONFIG_DRM_PANEL_ORISETECH_OTM8009A) += panel-orisetech-otm8009a.o > > obj-$(CONFIG_DRM_PANEL_OSD_OSD101T2587_53TS) += panel-osd-osd101t2587-53ts.o > > diff --git a/drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c b/drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c > > new file mode 100644 > > index 0000000000000..cd5424d5bdb63 > > --- /dev/null > > +++ b/drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c > > @@ -0,0 +1,328 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver > > + * > > + * Copyright (C) Purism SPC 2020 > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include