mirror of
https://github.com/torvalds/linux.git
synced 2026-06-13 01:08:08 +02:00
DWC_mipi_dsi_host can be configured to send the low-power (LP) commands during the HS video mode transmission. To enable this feature, set the lp_cmd_en bit of the VID_MODE_CFG register to 1. In this case, it is necessary to calculate the time available, in bytes, to transmit a command in LP mode to Horizontal Front Porch (HFP), Vertical Sync Active (VSA), Vertical Back Porch (VBP), and Vertical Front Porch (VFP) regions. Bits 8 to 13 of the VID_MODE_CFG register indicates if DWC_mipi_dsi_host can go to LP when in idle. If the lp_cmd_en bit is set (1'b1) and non-video packets are in queue, DWC_mipi_dsi_host ignores the LP configuration and transmits LP commands, even if it is not allowed to enter LP in a specific region. After the LP commands transmission, DWC_mipi_dsi_host remains in LP until a sync event occurs. If the lp_cmd_en bit of the VID_MODE_CFG register is 0, the commands are sent in high-speed in Video Mode. In this case, the DWC_mipi_dsi_host automatically determines the area where each command can be sent and no programming or calculation is required. Change-Id: Id47982c2c7605be17c4d295707fd5496f32f79fe Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| drm | ||
| host1x | ||
| ipu-v3 | ||
| rogue | ||
| rogue_m | ||
| vga | ||
| Makefile | ||