From: Matthias Brugger <matthias.bgg@gmail.com>
To: Guillaume Ranquet <granquet@baylibre.com>,
Chun-Kuang Hu <chunkuang.hu@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>
Cc: Markus Schneider-Pargmann <msp@baylibre.com>,
dri-devel@lists.freedesktop.org,
linux-mediatek@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 5/7] drm/mediatek: dpi: Add dpintf support
Date: Wed, 15 Dec 2021 21:14:19 +0100 [thread overview]
Message-ID: <5b90dd50-f088-8250-7683-fe359d9679a8@gmail.com> (raw)
In-Reply-To: <20211110130623.20553-6-granquet@baylibre.com>
On 10/11/2021 14:06, Guillaume Ranquet wrote:
> From: Markus Schneider-Pargmann <msp@baylibre.com>
>
> dpintf is the displayport interface hardware unit. This unit is similar
> to dpi and can reuse most of the code.
>
> This patch adds support for mt8195-dpintf to this dpi driver. Main
> differences are:
> - Some features/functional components are not available for dpintf
> which are now excluded from code execution once is_dpintf is set
> - dpintf can and needs to choose between different clockdividers based
> on the clockspeed. This is done by choosing a different clock parent.
> - There are two additional clocks that need to be managed. These are
> only set for dpintf and will be set to NULL if not supplied. The
> clk_* calls handle these as normal clocks then.
> - Some register contents differ slightly between the two components. To
> work around this I added register bits/masks with a DPINTF_ prefix
> and use them where different.
>
> Based on a separate driver for dpintf created by
> Jason-JH.Lin <jason-jh.lin@mediatek.com>.
>
> Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
> Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
> ---
[...]
> diff --git a/include/linux/soc/mediatek/mtk-mmsys.h b/include/linux/soc/mediatek/mtk-mmsys.h
> index 4bba275e235ac..56ed2fa5f59e8 100644
> --- a/include/linux/soc/mediatek/mtk-mmsys.h
> +++ b/include/linux/soc/mediatek/mtk-mmsys.h
> @@ -19,6 +19,8 @@ enum mtk_ddp_comp_id {
> DDP_COMPONENT_DITHER,
> DDP_COMPONENT_DPI0,
> DDP_COMPONENT_DPI1,
> + DDP_COMPONENT_DP_INTF0,
> + DDP_COMPONENT_DP_INTF1,
> DDP_COMPONENT_DSI0,
> DDP_COMPONENT_DSI1,
> DDP_COMPONENT_DSI2,
>
For the mtk-mmsys.h:
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
next prev parent reply other threads:[~2021-12-15 20:14 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20211110130623.20553-1-granquet@baylibre.com>
2021-11-10 13:06 ` [PATCH v6 1/7] dt-bindings: mediatek,dpi: Add DP_INTF compatible Guillaume Ranquet
2021-11-10 13:06 ` [PATCH v6 2/7] dt-bindings: mediatek,dp: Add Display Port binding Guillaume Ranquet
2021-11-10 19:44 ` Rob Herring
2021-11-10 13:06 ` [PATCH v6 3/7] drm/edid: Add cea_sad helpers for freq/length Guillaume Ranquet
2021-11-10 13:06 ` [PATCH v6 4/7] video/hdmi: Add audio_infoframe packing for DP Guillaume Ranquet
2021-11-10 13:06 ` [PATCH v6 5/7] drm/mediatek: dpi: Add dpintf support Guillaume Ranquet
2021-11-26 10:22 ` AngeloGioacchino Del Regno
2021-11-26 10:23 ` AngeloGioacchino Del Regno
2021-12-15 20:14 ` Matthias Brugger [this message]
2021-11-10 13:06 ` [PATCH v6 6/7] phy: phy-mtk-dp: Add driver for DP phy Guillaume Ranquet
2021-11-13 7:48 ` Chunfeng Yun
2021-11-24 14:37 ` Guillaume Ranquet
2021-11-10 13:06 ` [PATCH v6 7/7] drm/mediatek: Add mt8195 DisplayPort driver Guillaume Ranquet
2021-11-15 10:11 ` Maxime Ripard
2021-11-15 14:33 ` Guillaume Ranquet
2021-11-16 14:51 ` Maxime Ripard
2021-11-24 13:45 ` Guillaume Ranquet
2021-11-25 14:30 ` Maxime Ripard
2021-12-02 14:48 ` Guillaume Ranquet
2021-12-13 16:54 ` Maxime Ripard
2021-12-15 15:03 ` Guillaume Ranquet
2021-12-15 15:15 ` Maxime Ripard
2021-12-15 16:02 ` Guillaume Ranquet
2021-12-15 16:06 ` Maxime Ripard
2021-11-25 15:27 ` Chun-Kuang Hu
2021-12-02 15:31 ` Guillaume Ranquet
2021-12-15 14:13 ` Guillaume Ranquet
2021-12-09 6:29 ` Hsin-Yi Wang
2021-12-15 13:59 ` Guillaume Ranquet
2021-12-10 10:17 ` AngeloGioacchino Del Regno
2021-12-15 13:56 ` Guillaume Ranquet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b90dd50-f088-8250-7683-fe359d9679a8@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=airlied@linux.ie \
--cc=chunkuang.hu@kernel.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=granquet@baylibre.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=msp@baylibre.com \
--cc=p.zabel@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).