Thread (18 messages) 18 messages, 4 authors, 2022-11-23

RE: [EXT] Re: [PATCH v4 01/10] drm: bridge: cadence: convert mailbox functions to macro functions

From: Sandor Yu <hidden>
Date: 2022-11-23 06:36:31
Also in: dri-devel, linux-arm-kernel, linux-devicetree, lkml

-----Original Message-----
From: Fabio Estevam <festevam@gmail.com>
Sent: 2022年11月23日 2:09
To: Sandor Yu <redacted>
Cc: andrzej.hajda@intel.com; neil.armstrong@linaro.org;
robert.foss@linaro.org; Laurent.pinchart@ideasonboard.com;
jonas@kwiboo.se; jernej.skrabec@gmail.com; airlied@gmail.com;
daniel@ffwll.ch; robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org;
shawnguo@kernel.org; s.hauer@pengutronix.de; kishon@ti.com;
vkoul@kernel.org; dri-devel@lists.freedesktop.org;
devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
linux-kernel@vger.kernel.org; linux-phy@lists.infradead.org;
alexander.stein@ew.tq-group.com; kernel@pengutronix.de; dl-linux-imx
[off-list ref]; Oliver Brown [off-list ref]
Subject: [EXT] Re: [PATCH v4 01/10] drm: bridge: cadence: convert mailbox
functions to macro functions

Caution: EXT Email

Hi Sandor,

On Mon, Nov 21, 2022 at 4:27 AM Sandor Yu [off-list ref] wrote:
quoted
Mailbox access functions could be share to other mhdp driver and
HDP-TX HDMI/DP PHY drivers, move those functions to head file
include/drm/bridge/cdns-mhdp-mailbox.h and convert them to macro
functions.
What is the reason for converting the functions to macro?
Both HDMI PHY driver and HDMI bridge driver need mailbox API function to access register and get status from firmware.
Covert those functions to macro could be easy reused by both PHY and bridge driver.

B.R
Sandor

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help