From patchwork Sun Nov 1 09:31:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 11872335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 638F6C4741F for ; Sun, 1 Nov 2020 17:38:22 +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 23EA520874 for ; Sun, 1 Nov 2020 17:38:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 23EA520874 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net 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 463476EB3E; Sun, 1 Nov 2020 17:38:16 +0000 (UTC) Received: from aposti.net (aposti.net [89.234.176.197]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9382989E3B for ; Sun, 1 Nov 2020 09:32:16 +0000 (UTC) From: Paul Cercueil To: Thierry Reding , Sam Ravnborg , Rob Herring Subject: [PATCH 0/3] drm/panel: ABT Y030XX067A panel support Date: Sun, 1 Nov 2020 09:31:46 +0000 Message-Id: <20201101093150.8071-1-paul@crapouillou.net> MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 01 Nov 2020 17:36:56 +0000 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: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Paul Cercueil , od@zcrc.me, Christophe Branchereau Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, This patchset is for adding support for the Asia Better Technology (aka. ABT) Y030XX067A 3.0" 320x480 24-bit LCD IPS panel. While being 320x480 it is actually 4:3 with non-square pixels, and requires a specific bus format, as the pixel ordering changes each line (RGB on odd lines, GRB on even lines). Patch #1 adds the abt,* vendor prefix. Patch #2 adds the abt,y030xx067a panel binding documentation. Patch #3 adds the MEDIA_BUS_FMT_RGB888_3X8_DELTA media bus format. Patch #4 adds the driver itself. Cheers, -Paul Paul Cercueil (4): dt-bindings: vendor-prefixes: Add abt vendor prefix dt-bindings: display: Add ABT Y030XX067A panel bindings media: uapi: Add MEDIA_BUS_FMT_RGB888_3X8_DELTA media bus format drm/panel: Add ABT Y030XX067A 3.0" 320x480 panel .../display/panel/abt,y030xx067a.yaml | 54 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-abt-y030xx067a.c | 363 ++++++++++++++++++ include/uapi/linux/media-bus-format.h | 3 +- 6 files changed, 431 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml create mode 100644 drivers/gpu/drm/panel/panel-abt-y030xx067a.c Reviewed-by: Sam Ravnborg