|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
MIPI D-PHY driver – physical layer shared by DSI and CSI. More...
Go to the source code of this file.
MIPI D-PHY driver – physical layer shared by DSI and CSI.
Driver for the RA8D2 MIPI PHY block (HUM Ch 64, p 3822-3838). The PHY is the physical layer underneath both the MIPI DSI host (Ch 65) and the MIPI CSI receiver (Ch 66). Either client may own the PHY at a given time; the driver explicitly tracks the active mode so the PHY can be reprogrammed between DSI and CSI use cases (see ra8_mipi_phy_switch_mode).
The full surface in this revision covers every documented register field and every documented operating mode:
HUM Ch 64.4.2 p 3838: MIPI PHY is gated by MSTPCRC. There is no k_ra8_mstp_mipi_phy entry in libs/ra8_hal/inc/ra8_mstp_regs.h yet. This driver does NOT add one (touching a shared enum file is forbidden); ra8_mipi_phy_init performs a direct MSTPCRC write with a TODO marker so a later wave can promote it into ra8_mstp_t.
This file is a thin umbrella. The declarations live in three self-contained sub-headers, all in this directory:
Consumers continue to #include "ra8_mipi_phy.h" unchanged.
Definition in file ra8_mipi_phy.h.