HI_MIPI_SET_DEV_ATTR

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

x

Atlas training products

x

Description

Sets the attributes of the MIPI RX, SLVS, and parallel port devices.

Prototype

#define HI_MIPI_SET_DEV_ATTR _IOW(HI_MIPI_IOC_MAGIC, 0x01, combo_dev_attr_t)

Parameters

  • HI_MIPI_IOC_MAGIC: magic number of the MIPI RX ioctl command.
    #define HI_MIPI_IOC_MAGIC 'm'
  • 0x01: indicates the command word function and sets the attributes of the MIPI RX, SLVS, and parallel port devices.
  • combo_dev_attr_t: combo device attributes.

Returns

  • 0: success
  • -1: failure

Restrictions

Operations on the sensor reset line or clock line will affect all sensors connected to them.