From patchwork Thu Dec 5 13:45:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 13895369 X-Patchwork-Delegate: kieran@bingham.xyz Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5145A21C9F1; Thu, 5 Dec 2024 13:45:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733406341; cv=none; b=ffDG12SEeXn/xtauEQIPdcHmCH+KZIlCuOVtemKrJuXdkpx3bzxMY+wo5dGpzYF0xvSPDil7NlW5SyUuL5B/PWNqRpTWtkxg9f6GjQpNSqxU6O232pyv3yOKKVssirbkay2HmAmVjWHmA6OUWtVcscaXWEXvNV/5s8+vywNd40A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733406341; c=relaxed/simple; bh=47sDiubgqaQkaDbcosAByaG1Ni6cOzGOKnQlTVO76og=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ebBTcQ6KrpkgHv17QV9CXPFCBcZHBSKN0PYm8fk2IR7VW42grZX9TiHY+2P/kEBqxV0kghvkD/isMau3Sywl7Cd5eo2jy35HiLSXTKh0rHUHwrndd+jFR3dtrzfoZ4MEbNjRJqPJT07xCB4PT8hXrRxmt3zugVmeKc8H8TNv5Js= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=f7edg0Mr; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="f7edg0Mr" 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 20C5E13E2; Thu, 5 Dec 2024 14:45:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1733406308; bh=47sDiubgqaQkaDbcosAByaG1Ni6cOzGOKnQlTVO76og=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=f7edg0Mr2dGV14GEbW61/hKjQ8Y1a+XSY0AAu/0tUt+FUOBLJ/9ckaLvFDy0ZFdDr tpTIKd1dv1suACdeTzrdbt6mrWJKmKgrFSjEJ3IbA4lfFFDPSti2A2UyYg4mUSUdSZ CO/jThSImQTVaJqSJtYvc6DUELk1PdqxDy2jkFQM= From: Tomi Valkeinen Date: Thu, 05 Dec 2024 15:45:01 +0200 Subject: [PATCH v2 06/10] drm/rcar-du: dsi: Add r8a779h0 support Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241205-rcar-gh-dsi-v2-6-42471851df86@ideasonboard.com> References: <20241205-rcar-gh-dsi-v2-0-42471851df86@ideasonboard.com> In-Reply-To: <20241205-rcar-gh-dsi-v2-0-42471851df86@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/ZANAwAIAfo9qoy8lh71AcsmYgBnUa5zV45rDLvRyb34O/dDmHMHw7U3OtdaY/l3j lX3APjrF5aJAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZ1GucwAKCRD6PaqMvJYe 9S65EACJ/bjtVh8VKV0eYrZ0sKlBkK9dXC1tGkWQDP/tVUGUwTUMm21QezJgFS2Kq6sK255uJjc uMRUmiGh6pJ4k38DAe0khGv4V0g9CB/P+opuJckrDbeSeBGgnrUXeiZtqV8fy9akui9ujwB3bIT aZvXQu5+A7S1KuBrbj/k1WqmN3rjC1PNirnkm3Lwo6crjCHC0lAZ0BfB3pIZTQXuS30AOXc7KM6 I7X/YWVWD07bmwQ5hQtN2dI/HQ+QSTgRj9c2uo+0ilniXq9Ql6sL/qp4krN/OBxDvyTIUmg5JrP tQWIhdwN8TyudIPX41ufMizfGVu7pbCSf/S4IvL2cbJP/o8VjX0UC18TrRUyEt29u11/bleiLCN YX2d0sO8hu5Wnhg2dw9FCd7y4hA0CaBeMFPCr23JGhxgxcjdo3JSPzSQAE03SJW9zd6c9RTz6jF 0DF9EBZeSM8yw8yO9I4AB4TyobJqjAJlLSFUtTgKHlyQZWS88MJ/f5R4JCWnf6O9s8UjBGicpbR mcXu053nyM1qmlwrzScG00w+r4pBijjLcb6ptCRh6c47aBua77YwYrRelrkn5VhzROmD7At45Lq 2Z8DslROgQprN5v0B34bRKVJ3OJMXyCApm5udPOxlINAcB0L5kWWy+QDHiiz1VQdLj4Tc3dUneI cKmKPuPGcdZrKng== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 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 }, { } };