mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm/rockchip: dsi: support EoTp feature
In order to enhance the overall robustness of the system, DSI defines a dedicated EoT packet (EoTp) at the protocol layer for signaling the end of HS transmission. For backwards compatibility with earlier DSI systems, the capability of generating and interpreting this EoTp can be enabled or disabled. Change-Id: Iddc7e82a7e3e47dea94846fbb771da8fddc0fda3 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -1010,8 +1010,12 @@ static void dw_mipi_dsi_dpi_config(struct dw_mipi_dsi *dsi)
|
||||
|
||||
static void dw_mipi_dsi_packet_handler_config(struct dw_mipi_dsi *dsi)
|
||||
{
|
||||
regmap_write(dsi->regmap, DSI_PCKHDL_CFG,
|
||||
CRC_RX_EN | ECC_RX_EN | BTA_EN);
|
||||
u32 val = CRC_RX_EN | ECC_RX_EN | BTA_EN | EOTP_TX_EN;
|
||||
|
||||
if (dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET)
|
||||
val &= ~EOTP_TX_EN;
|
||||
|
||||
regmap_write(dsi->regmap, DSI_PCKHDL_CFG, val);
|
||||
}
|
||||
|
||||
static void dw_mipi_dsi_video_packet_config(struct dw_mipi_dsi *dsi)
|
||||
|
||||
Reference in New Issue
Block a user