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: 13046695 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7D7AC433FE for ; Thu, 17 Nov 2022 12:26:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239480AbiKQM0L (ORCPT ); Thu, 17 Nov 2022 07:26:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234629AbiKQM0L (ORCPT ); Thu, 17 Nov 2022 07:26:11 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FBBB56564; Thu, 17 Nov 2022 04:26:10 -0800 (PST) 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 Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Tomi Valkeinen 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 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org 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(-)