Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp848697ybn; Wed, 2 Oct 2019 07:09:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8GqQYfwH+nZnwFiopL1owH39d2/TnVHnby/SZ2B39GAl6+cPR7W5LI+/WFSCytzOOXvQu X-Received: by 2002:a17:906:1a08:: with SMTP id i8mr3245919ejf.231.1570025394199; Wed, 02 Oct 2019 07:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570025394; cv=none; d=google.com; s=arc-20160816; b=rDk2h44wEAN87p7YNjKaJ6BwucGjBEC1JyUbF+yQVw3KyV+5HihLZ1b8hdcSpAGua4 g0HwjEO5Axi0Y5gQqfrbOvORXu4cbe0jcZiOnlsD4XeHn5Nug9/U/JkJwm9TYx/c95dV HBHr04zfIPmZJV+hNPt7bARW2aeI+Hn7w4fmY/fVCVtCn77yWtYhdVo0/pOXdus7Hd7e YPijo5gQmxs2UqXMTT49SoiQwUNGpwKxGIg4/zbRfYSkPnc8YtuFuCGGbSVX2TA8u4gs Y2EOy0OWap/QU94Gt+A9G4Q9L8Jl5CL1VvKuCkGaSLjVNv4lpFfSKkMU0l+pz35UcrbG yIeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=AmcTl0bB9XVrVf3jmg1OZ0O550bdl6HpcKNJTVi5YUg=; b=DZFd2OVkR9jAHpDQEYuDfxdPP40PNzFrkegX/iFwXgG7sXHf3/koGyBZ7iTBQLRjXA S66e1z6eRyuozdEN8JUww43QdaHnyG6OW1TVPPvtn6H9h9MfgJ7dzxdQYRE6h9uCsTc5 bWZ7LYlLNtR4mRkO68jQyebvUzzsMrdHsiaFxpayQmm+hg7wsT0M9gypz6gZmsdnNYlx HPyQvk14wReD2KhUKkDfYv88FugD1WAunwxQpnN6OwcceI1O4vBwKr12KhP/d1TXlz6+ i451O+JZRl6Q4jX9S30b+3PPHLk1mkCOxy/8kt198Esm7ccIs78AHv2pye3ixm40V8+H M+7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id me23si10716727ejb.344.2019.10.02.07.09.27; Wed, 02 Oct 2019 07:09:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727757AbfJBOFn (ORCPT + 99 others); Wed, 2 Oct 2019 10:05:43 -0400 Received: from inva021.nxp.com ([92.121.34.21]:52362 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbfJBOFn (ORCPT ); Wed, 2 Oct 2019 10:05:43 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5C7E920067F; Wed, 2 Oct 2019 16:05:40 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4B46E200141; Wed, 2 Oct 2019 16:05:40 +0200 (CEST) Received: from fsr-ub1664-121.ea.freescale.net (fsr-ub1664-121.ea.freescale.net [10.171.82.171]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id C8B962060C; Wed, 2 Oct 2019 16:05:39 +0200 (CEST) From: Laurentiu Palcu To: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Cc: agx@sigxcpu.org, l.stach@pengutronix.de, Laurentiu Palcu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v2 0/5] Add support for iMX8MQ Display Controller Subsystem Date: Wed, 2 Oct 2019 17:04:52 +0300 Message-Id: <1570025100-5634-1-git-send-email-laurentiu.palcu@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset adds initial DCSS support for iMX8MQ chip. Initial support includes only graphics plane support (no video planes), no HDR10 capabilities, no graphics decompression (only linear, tiled and super-tiled buffers allowed). Support for the rest of the features will be added incrementally, in subsequent patches. The patchset was tested with both HDP driver (not yet upstreamed) and MIPI-DSI (drivers already on the dri-devel ML). Thanks, Laurentiu Changes in v2: * Removed '0x' in node's unit-address both in DT and yaml; * Made the address region size lowercase, to be consistent; * Removed some left-over references to P010; * Added a Kconfig dependency of DRM && ARCH_MXC. This will also silence compilation issues reported by kbuild for other architectures; Laurentiu Palcu (5): clk: imx8mq: Add VIDEO2_PLL clock drm/imx: compile imx directory by default drm/imx: Add initial support for DCSS on iMX8MQ dt-bindings: display: imx: add bindings for DCSS arm64: dts: imx8mq: add DCSS node .../bindings/display/imx/nxp,imx8mq-dcss.yaml | 86 +++ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 25 + drivers/clk/imx/clk-imx8mq.c | 4 + drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/imx/Kconfig | 2 + drivers/gpu/drm/imx/Makefile | 1 + drivers/gpu/drm/imx/dcss/Kconfig | 8 + drivers/gpu/drm/imx/dcss/Makefile | 6 + drivers/gpu/drm/imx/dcss/dcss-blkctl.c | 75 ++ drivers/gpu/drm/imx/dcss/dcss-crtc.c | 223 ++++++ drivers/gpu/drm/imx/dcss/dcss-ctxld.c | 447 +++++++++++ drivers/gpu/drm/imx/dcss/dcss-dev.c | 286 +++++++ drivers/gpu/drm/imx/dcss/dcss-dev.h | 195 +++++ drivers/gpu/drm/imx/dcss/dcss-dpr.c | 548 ++++++++++++++ drivers/gpu/drm/imx/dcss/dcss-drv.c | 182 +++++ drivers/gpu/drm/imx/dcss/dcss-dtg.c | 438 +++++++++++ drivers/gpu/drm/imx/dcss/dcss-kms.c | 321 ++++++++ drivers/gpu/drm/imx/dcss/dcss-kms.h | 52 ++ drivers/gpu/drm/imx/dcss/dcss-plane.c | 418 +++++++++++ drivers/gpu/drm/imx/dcss/dcss-scaler.c | 826 +++++++++++++++++++++ drivers/gpu/drm/imx/dcss/dcss-ss.c | 179 +++++ include/dt-bindings/clock/imx8mq-clock.h | 4 +- 22 files changed, 4326 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml create mode 100644 drivers/gpu/drm/imx/dcss/Kconfig create mode 100644 drivers/gpu/drm/imx/dcss/Makefile create mode 100644 drivers/gpu/drm/imx/dcss/dcss-blkctl.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-crtc.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-ctxld.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dev.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dev.h create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dpr.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-drv.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dtg.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-kms.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-kms.h create mode 100644 drivers/gpu/drm/imx/dcss/dcss-plane.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-scaler.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-ss.c -- 2.7.4