From patchwork Mon Aug 17 08:14:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_G=C3=BCnther?= X-Patchwork-Id: 11716803 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D49CD109B for ; Mon, 17 Aug 2020 08:14:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD20E2086A for ; Mon, 17 Aug 2020 08:14:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD20E2086A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sigxcpu.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49EEA6E504; Mon, 17 Aug 2020 08:14:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 762716E505 for ; Mon, 17 Aug 2020 08:14:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 2D24CFB03; Mon, 17 Aug 2020 10:14:40 +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 zYzW_pnXzwo0; Mon, 17 Aug 2020 10:14:37 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 368D94576F; Mon, 17 Aug 2020 10:14:36 +0200 (CEST) From: =?utf-8?q?Guido_G=C3=BCnther?= To: Thierry Reding , Sam Ravnborg , 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: [PATCH v3 0/3] drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel Date: Mon, 17 Aug 2020 10:14:33 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The panel uses a Focaltech FT8006p, the touch part is handled by the already existing edt-ft5x06. It can be found in e.g. the Librem 5. Changes from v2: - Due to review comments by Sam Ravnborg, thanks! https://lore.kernel.org/lkml/20200815212727.GA1244923@ravnborg.org/ - Drop unused header - Use newline before comment - Add Reviewed/Acked-by by Sam Ravnborg, thanks! https://lore.kernel.org/lkml/20200815212727.GA1244923@ravnborg.org/ https://lore.kernel.org/lkml/20200815212750.GB1244923@ravnborg.org/ https://lore.kernel.org/lkml/20200815212840.GC1244923@ravnborg.org/ Changes from v1: - Due to review comments by Sam Ravnborg, thanks! https://lore.kernel.org/dri-devel/20200815083917.GA993113@ravnborg.org/ - Don't preserve newlines with '|' in description - Use reset-gpios and backlight from panel-common.yaml - Reindent example https://lore.kernel.org/dri-devel/20200815093226.GB993113@ravnborg.org/ - Drop unused includes - Use dev_* instead of DRM_* for printing - Turn off regulators in reverse order from enable - Silence errors in mantix_{shutdown,remove} - Drop duplicate mipi_dsi_dcs_enter_sleep_mode() https://lore.kernel.org/dri-devel/20200815100230.GA1002374@ravnborg.org/ - Use dev_err_probe() - Add delays when turning off panel as suggested by the data sheet This series is against next-20200814. Guido Günther (3): dt-bindings: vendor-prefixes: Add mantix vendor prefix dt-bindings: Add Mantix MLAF057WE51-X panel bindings drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel .../display/panel/mantix,mlaf057we51-x.yaml | 70 ++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 7 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-mantix-mlaf057we51.c | 328 ++++++++++++++++++ 6 files changed, 419 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml create mode 100644 drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c