From patchwork Thu Nov 17 12:25:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 13046704 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 90CBBC4332F for ; Thu, 17 Nov 2022 12:26:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 15DE010E0FF; Thu, 17 Nov 2022 12:26:11 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9CF5010E0FF for ; Thu, 17 Nov 2022 12:26:08 +0000 (UTC) Received: from desky.lan (91-154-32-225.elisa-laajakaista.fi [91.154.32.225]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DD0D06E0; Thu, 17 Nov 2022 13:26:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668687966; bh=wczldhj/MtZKX+Mqby6sqUs855O+uKSjKoeQPC0x8gI=; h=From:To:Cc:Subject:Date:From; b=TqKVjyYKlM0G+jYSUzmR30+1RNKaSMvcMgvqF+eKLVEKvaThE5ZGaH9AROVFoEhoQ hA6kYkhSr36DiCru/QeZVYKqZe5AaiAl0yqE5ABONu8gYlZnrxk2AEqV1Y07y4aMYG dH9G6L78/HAGfEPhBlACHmUC1b8WkTW4Dcwdu6uE= From: Tomi Valkeinen To: Laurent Pinchart , Kieran Bingham , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/8] Renesas V4H DSI & DP output support Date: Thu, 17 Nov 2022 14:25:39 +0200 Message-Id: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 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: , Cc: Neil Armstrong , Jonas Karlman , Tomi Valkeinen , Jernej Skrabec , Robert Foss , Andrzej Hajda Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, These add support for DSI on V4H SoC (r8a779g0) and DP for Whitehawk board. The last patch is a hack, but needed to get the DSI working. It is still unclear what the register write does, and as that patch is needed to get the DSI working, this series is not ready yet. But all the rest of the patches are ready for review. Tomi Tomi Valkeinen (8): dt-bindings: display: renesas,du: Provide bindings for r8a779g0 dt-bindings: display: bridge: renesas,dsi-csi2-tx: Add r8a779g0 clk: renesas: r8a779g0: Add display related clocks arm64: dts: renesas: r8a779g0: Add display related data arm64: dts: renesas: white-hawk-cpu: Add DP output support drm: rcar-du: Add r8a779g0 support drm: rcar-du: dsi: Add r8A779g0 support HACK: drm: rcar-du: dsi: use-extal-clk hack .../display/bridge/renesas,dsi-csi2-tx.yaml | 3 +- .../bindings/display/renesas,du.yaml | 2 + .../dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 94 ++++ arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 129 +++++ drivers/clk/renesas/r8a779g0-cpg-mssr.c | 14 + drivers/gpu/drm/rcar-du/rcar_du_drv.c | 22 + drivers/gpu/drm/rcar-du/rcar_mipi_dsi.c | 488 ++++++++++++++---- drivers/gpu/drm/rcar-du/rcar_mipi_dsi_regs.h | 6 +- 8 files changed, 651 insertions(+), 107 deletions(-)