HI_MIPI_SET_HS_MODE
The
The
Description
Sets the lane distribution of the MIPI RX (invalid for the SLVS).
Prototype
#define HI_MIPI_SET_HS_MODE _IOW(HI_MIPI_IOC_MAGIC, 0x0b, lane_divide_mode_t)
Parameters
- HI_MIPI_IOC_MAGIC: magic number of the MIPI RX ioctl command.
#define HI_MIPI_IOC_MAGIC 'm'
- 0x0b: indicates the command word function and sets the lane distribution mode of the MIPI RX.
- lane_divide_mode_t: lane distribution mode of the MIPI RX.
Returns
- 0: success
- -1: failure
Considerations
- After this command is executed, the system resets and deasserts the reset on the MIPI RX subsystem. Therefore, this command must be called before other commands. Otherwise, the configurations of other commands will be reset.
- When multiple sensor inputs are connected, you are advised to set the lane distribution mode based on the hardware connection during initialization. This command cannot be used during subsequent multi-sensor capture. Otherwise, other configurations before this command will be reset.
Parent topic: MIPI RX ioctl Command Words