From nobody Sun Apr 19 15:04:59 2026 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) (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 493BB17A30A; Thu, 22 May 2025 14:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.243.120.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747924776; cv=none; b=cyKOZ8wFLOn0Hz6MiRSxOod7CJb9kn0sIie+xx1hgqhYdZaLuINO+IfGzFpHRLlHGNGuZchpMQYj5k0/Lt1apuWrx0Z7Z4qgJW8kj3iEkqv5fBfbNfV0jIOLa33nN/jDSMVJ3hU6h5TmRyddSOKCF4QpOSnAnCvmWgI7+W+fjs8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747924776; c=relaxed/simple; bh=4BbVxxSlbuMtdfpDi3IOxxj0zw4nB1j3aFQ76RsovOk=; h=From:To:Cc:Date:Message-Id:In-Reply-To:References:MIME-Version: Subject; b=tPXF+grNJquBimxm9V+dl7HiJ8WsG4y47Vr9L0AugQJULlM/jvGKCbesX0OCLTedpv9EIjxT9tAC8hZ34fd1Um23PBCkf6+m3CsX62oE5u+Z83ltSYF6P3CROvKlRHRXIC+hrwsojDJGV3XlAYHxqUuBthcuvtRA+63uVyxaVhk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com; spf=pass smtp.mailfrom=hugovil.com; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b=aY8yKUC+; arc=none smtp.client-ip=162.243.120.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hugovil.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b="aY8yKUC+" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:subject:date:message-id:reply-to; bh=p/tDaKJ/yuvcARwmShDLCxXBYb+xDBZpFqAle7OaRk4=; b=aY8yKUC+Hhlb2GGvCRYz8dw9LY T++e0/CcjAjWetjYt9TZRjoAj76eB53XkLjv+JO/uR6NCwGsGexwgHAaEv+rpkgGXOIo6YSHwewdO fhti8rav3hr3vqTEJltJGhCBtkB1Wp7u+9M0tTtaWBUO2McC3CDTOWvhCYdqslSxKF8U=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:33178 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1uI74w-0006Gk-Ci; Thu, 22 May 2025 10:39:27 -0400 From: Hugo Villeneuve To: biju.das.jz@bp.renesas.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, hugo@hugovil.com, Hugo Villeneuve , Chris Brandt Date: Thu, 22 May 2025 10:39:10 -0400 Message-Id: <20250522143911.138077-2-hugo@hugovil.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250522143911.138077-1-hugo@hugovil.com> References: <20250522143911.138077-1-hugo@hugovil.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Level: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Subject: [PATCH v3 1/2] drm: renesas: rz-du: Implement MIPI DSI host transfers X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Content-Type: text/plain; charset="utf-8" From: Hugo Villeneuve Add support for sending MIPI DSI command packets from the host to a peripheral. This is required for panels that need configuration before they accept video data. Based on Renesas Linux kernel v5.10 repos [1]. Link: https://github.com/renesas-rz/rz_linux-cip.git Cc: Biju Das Cc: Chris Brandt Signed-off-by: Hugo Villeneuve --- .../gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c | 176 ++++++++++++++++++ .../drm/renesas/rz-du/rzg2l_mipi_dsi_regs.h | 50 +++++ 2 files changed, 226 insertions(+) diff --git a/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c b/drivers/gpu/d= rm/renesas/rz-du/rzg2l_mipi_dsi.c index dc6ab012cdb69..a048d473db00b 100644 --- a/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c +++ b/drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c @@ -4,8 +4,11 @@ * * Copyright (C) 2022 Renesas Electronics Corporation */ + +#include #include #include +#include #include #include #include @@ -23,9 +26,12 @@ #include #include #include +#include