From patchwork Wed Sep 22 23:47:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 12511625 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 EA91DC433EF for ; Wed, 22 Sep 2021 23:47:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CA1B861038 for ; Wed, 22 Sep 2021 23:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238531AbhIVXtC (ORCPT ); Wed, 22 Sep 2021 19:49:02 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33064 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238516AbhIVXtC (ORCPT ); Wed, 22 Sep 2021 19:49:02 -0400 Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8939DE52; Thu, 23 Sep 2021 01:47:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1632354450; bh=2KEfajy3R4G8u+iswjbS8NvehLtAocxzuuEdvOOtLUw=; h=From:To:Cc:Subject:Date:From; b=QBMbik5DT+DFcDc/WGp6ljyAu7B707Nvvc6/QPVYu6COsVl7kgR3i8ST3xsf4KmtH O7lFI/CFS4OMPwMhT6sZ2flgczUcHCAwtXUahirQgD3IUcNzv/pmy/o21hs4cE7h7J 3u35+0Izvf4msxRpwVu0oy5PwEjIb0lZcCdUbx04= From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org, Laurent Pinchart Cc: Kieran Bingham Subject: [PATCH v3 0/6] drm: rcar-du: V3U Support Date: Thu, 23 Sep 2021 00:47:20 +0100 Message-Id: <20210922234726.3337265-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Extend support for the V3U Display Unit. The V3U DU support can be tested on a Falcon-V3U making use of the DSI encoder from Laurent. Patch 1 updates the bindings for the DU to cover the V3U platform. Patch 2 just cleans up in preparation for patch 6, and patch 3 is required for operation on the V3U, however it is functional and should be correct for the D3 and E3 as well, as they also lack external sync. Patch 4 is a further clean up to fix the naming of fields identified as incorrect while developing. Patch 5 splits the RCAR_DU_FEATURE_CRTC_IRQ_CLOCK feature flag into two separate components, allowing the V3U to select RCAR_DU_FEATURE_CRTC_IRQ without RCAR_DU_FEATURE_CRTC_CLOCK. And finally, Patch 6 enables the V3U and connects it to the MIPI DSI encoder. Tests have been run and produce images - but there are artifacts visible and some modes are unavailable, which will need further investigations, but can be done on top of this integration. Kieran Bingham (6): dt-bindings: display: renesas,du: Provide bindings for r8a779a0 drm: rcar-du: Sort the DU outputs drm: rcar-du: Only initialise TVM_TVSYNC mode when supported drm: rcar-du: Fix DIDSR field name drm: rcar-du: Split CRTC IRQ and Clock features drm: rcar-du: Add r8a779a0 device support .../bindings/display/renesas,du.yaml | 50 ++++++++++++++ drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 9 ++- drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 6 +- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 68 ++++++++++++++----- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 11 +-- drivers/gpu/drm/rcar-du/rcar_du_group.c | 6 +- drivers/gpu/drm/rcar-du/rcar_du_regs.h | 9 +-- 7 files changed, 128 insertions(+), 31 deletions(-)