From: Sandor Yu <sandor.yu@nxp.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: "andrzej.hajda@intel.com" <andrzej.hajda@intel.com>,
"neil.armstrong@linaro.org" <neil.armstrong@linaro.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
"jonas@kwiboo.se" <jonas@kwiboo.se>,
"jernej.skrabec@gmail.com" <jernej.skrabec@gmail.com>,
"airlied@gmail.com" <airlied@gmail.com>,
"daniel@ffwll.ch" <daniel@ffwll.ch>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"festevam@gmail.com" <festevam@gmail.com>,
"vkoul@kernel.org" <vkoul@kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-phy@lists.infradead.org" <linux-phy@lists.infradead.org>,
"mripard@kernel.org" <mripard@kernel.org>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
dl-linux-imx <linux-imx@nxp.com>,
Oliver Brown <oliver.brown@nxp.com>,
"alexander.stein@ew.tq-group.com"
<alexander.stein@ew.tq-group.com>,
"sam@ravnborg.org" <sam@ravnborg.org>
Subject: RE: [EXT] Re: [PATCH v20 1/9] soc: cadence: Create helper functions for Cadence MHDP
Date: Wed, 25 Dec 2024 07:56:15 +0000 [thread overview]
Message-ID: <DB9PR04MB9452836ADDB545CA3B5B0FC7F40C2@DB9PR04MB9452.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <rew4x4qxemig7rq4kossrn7cybihrgsizh43wnllgv2daf75gm@ziqsakm7gm56>
>
> On Tue, Dec 17, 2024 at 02:51:43PM +0800, Sandor Yu wrote:
> > Cadence MHDP IP includes a firmware. Driver and firmware communicate
> > through a mailbox. The basic mailbox access functions in this patch
> > are derived from the DRM bridge MHDP8546 driver.
> > New mailbox access functions have been created based on different
> > mailbox return values and security types, making them reusable across
> > different MHDP driver versions and SOCs.
> >
> > These helper fucntions will be reused in both the DRM bridge driver
> > MDHP8501 and the i.MX8MQ HDPTX PHY driver.
> >
> > Six mailbox access helper functions are introduced.
> > Three for non-secure mailbox access:
> > - cdns_mhdp_mailbox_send()
> > - cdns_mhdp_mailbox_send_recv()
> > - cdns_mhdp_mailbox_send_recv_multi()
> > The other three for secure mailbox access:
> > - cdns_mhdp_secure_mailbox_send()
> > - cdns_mhdp_secure_mailbox_send_recv()
> > - cdns_mhdp_secure_mailbox_send_recv_multi()
> >
> > All MHDP commands that need to be passed through the mailbox should be
> > rewritten using these new helper functions.
> >
> > The register read/write and DP DPCD read/write command functions are
> > also included in this new helper driver.
> >
> > Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
> > ---
> > v19->v20:
> > - new patch in v20.
> > The patch split from Patch #1 in v19 and move to a new folder
> > drivers/soc/cadence
>
> It makes it harder to review, but granted that we have already past that, I
> think it's fine.
>
> >
> > diff --git a/drivers/soc/cadence/Kconfig b/drivers/soc/cadence/Kconfig
> > new file mode 100644 index 0000000000000..b668790660fa5
> > --- /dev/null
> > +++ b/drivers/soc/cadence/Kconfig
> > @@ -0,0 +1,9 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +
> > +config CDNS_MHDP_HELPER
> > + tristate "Cadence MHDP Helper driver"
>
> This symbol isn't supposed to be selected by the user. Please leave just
> tristate without the menu entry text (the help text is fine, please keep it).
>
> LGTM otherwise.
OK, thanks, I will remove the menu entry text.
B.R
Sandor
>
> > + help
> > + Enable Cadence MHDP helpers for mailbox, HDMI and DP.
> > + This driver provides a foundational layer of mailbox
> communication for
> > + various Cadence MHDP IP implementations, such as HDMI and
> DisplayPort.
> > +
>
> --
> With best wishes
> Dmitry
next prev parent reply other threads:[~2024-12-25 7:56 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-17 6:51 [PATCH v20 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ Sandor Yu
2024-12-17 6:51 ` [PATCH v20 1/9] soc: cadence: Create helper functions for Cadence MHDP Sandor Yu
2024-12-17 11:07 ` Dmitry Baryshkov
2024-12-25 7:56 ` Sandor Yu [this message]
2024-12-17 6:51 ` [PATCH v20 2/9] drm: bridge: cadence: Update mhdp8546 mailbox access functions Sandor Yu
2024-12-17 11:07 ` Dmitry Baryshkov
2024-12-17 6:51 ` [PATCH v20 3/9] phy: Add HDMI configuration options Sandor Yu
2024-12-17 6:51 ` [PATCH v20 4/9] dt-bindings: display: bridge: Add Cadence MHDP8501 Sandor Yu
2024-12-18 9:15 ` Krzysztof Kozlowski
2024-12-17 6:51 ` [PATCH v20 5/9] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver Sandor Yu
2024-12-17 8:06 ` Maxime Ripard
2024-12-25 7:56 ` [EXT] " Sandor Yu
2024-12-17 11:47 ` Dmitry Baryshkov
2024-12-25 7:57 ` [EXT] " Sandor Yu
2024-12-26 20:58 ` Dmitry Baryshkov
2024-12-30 8:05 ` Sandor Yu
2024-12-30 13:53 ` Dmitry Baryshkov
2024-12-17 6:51 ` [PATCH v20 6/9] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Sandor Yu
2024-12-17 6:51 ` [PATCH v20 7/9] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ Sandor Yu
2024-12-17 6:51 ` [PATCH v20 8/9] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline Sandor Yu
2024-12-17 6:51 ` [PATCH v20 9/9] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support Sandor Yu
2025-01-07 7:29 ` [PATCH v20 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ Alexander Stein
2025-01-07 14:42 ` [EXT] " Sandor Yu
2025-01-07 16:11 ` Alexander Stein
2025-01-08 0:31 ` Sandor Yu
2025-01-08 8:25 ` Alexander Stein
2025-06-07 13:54 ` Rudi Heitbaum
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=DB9PR04MB9452836ADDB545CA3B5B0FC7F40C2@DB9PR04MB9452.eurprd04.prod.outlook.com \
--to=sandor.yu@nxp.com \
--cc=airlied@gmail.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=andrzej.hajda@intel.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=festevam@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=oliver.brown@nxp.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sam@ravnborg.org \
--cc=shawnguo@kernel.org \
--cc=vkoul@kernel.org \
/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
all inboxes | Powered by JetHome®