-----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