From patchwork Fri Dec 13 14:03:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 13907144 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 908C6E7717D for ; Fri, 13 Dec 2024 14:03:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0622210F031; Fri, 13 Dec 2024 14:03:30 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Df/1B3yA"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8679310F031 for ; Fri, 13 Dec 2024 14:03:27 +0000 (UTC) Received: from [127.0.1.1] (91-157-155-49.elisa-laajakaista.fi [91.157.155.49]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9F9EA752; Fri, 13 Dec 2024 15:02:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734098572; bh=47sDiubgqaQkaDbcosAByaG1Ni6cOzGOKnQlTVO76og=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Df/1B3yAi+Gp2hpeqto3JEPA85Rp3SE+AeOYjXPaLhgfx9XlSK2iUQDdkWs1TLKse VOzzNrZ+z0pygHy5a+lhAU+S7srC/ybRdhAIumf24f17nrSzxsAiBnBZm2sdv1jis5 WtCdRycB8wWmEAIB8IuOKk8EisMzOKBCbB9v0DqA= From: Tomi Valkeinen Date: Fri, 13 Dec 2024 16:03:02 +0200 Subject: [PATCH v4 6/7] drm/rcar-du: dsi: Add r8a779h0 support MIME-Version: 1.0 Message-Id: <20241213-rcar-gh-dsi-v4-6-f8e41425207b@ideasonboard.com> References: <20241213-rcar-gh-dsi-v4-0-f8e41425207b@ideasonboard.com> In-Reply-To: <20241213-rcar-gh-dsi-v4-0-f8e41425207b@ideasonboard.com> To: Laurent Pinchart , Kieran Bingham , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Michael Turquette , Stephen Boyd , LUU HOAI , Jagan Teki , Sam Ravnborg , Biju Das Cc: Laurent Pinchart , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Pinchart , linux-clk@vger.kernel.org, Tomi Valkeinen X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1132; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=dOcoxtMfzjVQWbNdCVgHPfsgULtxlauUf/dbpEGcHa8=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBnXD6hYuVq4r0AVmh8DHjN9dFuFHrlXwKPcJ+aR rGqYLKdF42JAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZ1w+oQAKCRD6PaqMvJYe 9d/UEACMGNHHrrQVhtbcd1SgDmfQXs1wf0pixw1JaWvyMpACYc/sNrvZD02FitS4XVh2VISfGdD 8nP57aAlNL1AgjNABcJRjVznJg1StoPBsjwgZUgiAskuqpRW0nMTov1IrWXamPd8YmT3vI/r7OW K/ofqL3icJvhJcgnKG5tY+27tWHjiFa80JzTLm4f4CBGTnJpeJvud3RErqxUdwHYPiMUP7ZJzMA l9SmqJbKHJVi2GpLZXyVC0LeJEYXPl6GpdYat+HTAl96unhDQmT5eE6Dxh5w3fH2/Hdt85AHr9N 0skT64kC7KM2Yru7GAC1RZy048jbfZqg+3wIMhj4UBn34+ACuFAfyWWoSQ9T6Pk3n2AmgZHxBXo jWykSx1nwybEwMnU9i+WFbKV3KrxEQF7UnvytjwkUjegRdiEh0Nq8jB/cARTcq+lhtYj8gvt9Tu uGBWm/VtKriRg60dX2n5oUOP2/7cuYLvisj6Kp34nFqSdGEJt35lP44xejj2Tuq7ZeIxuM0yymT mLy4r1jjuuJc3aw08qj14sJF1pZibQ2ZJZXy1dvCUvRUfaEZ90Oij3S9V/PSNrLSK11RqojWiNE lTK9JCJyHp/WvgQ+IEKrpLty4xfs8uyO7w+L68Shuq13TLfyP+goF+/iigegJEiJeXlWtjvDaPL LUDaiS+66mJjTBQ== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Tomi Valkeinen Add support for DSI on r8a779h0. As it is identical to DSI on r8a779g0, all we need is to handle the compatible string. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Tested-by: Geert Uytterhoeven --- drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c b/drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c index 92f4261305bd..36e902601f84 100644 --- a/drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c +++ b/drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c @@ -1081,6 +1081,8 @@ static const struct rcar_mipi_dsi_device_info v4h_data = { static const struct of_device_id rcar_mipi_dsi_of_table[] = { { .compatible = "renesas,r8a779a0-dsi-csi2-tx", .data = &v3u_data }, { .compatible = "renesas,r8a779g0-dsi-csi2-tx", .data = &v4h_data }, + /* DSI in r8a779h0 is identical to r8a779g0 */ + { .compatible = "renesas,r8a779h0-dsi-csi2-tx", .data = &v4h_data }, { } };