CVS DEVICE QUIRK FLAGS(9)
π CVS device quirk flags π
okay bestie, welcome to CVS device quirk flags(9) β this is the page for the bit flag macros that describe per-device behavioral adjustments. They get applied after VID/PID matching (see cvs_i2c_check and cvs_apply_quirks), and they let the driver selectively alter logic paths for firmware / hardware variants without introducing hard-coded conditionals at each call site. itβs giving βsmall flags, big main character energyβ β¨
hereβs the flag lore, one iconic little macro at a time:
ICVS_NO_MIPI_CONFIGβ device firmware performs its own MIPI link setup, so skip sendingHOST_SET_MIPI_CONFIG.ICVS_SKIP_FW_RESETβ skip issuing a post firmware-update reset sequence.ICVS_NO_CAPSβ device firmware does not supportGET_DEV_CAPABILITY; skip the capability query and treat caps as unsupported.ICVS_FW_BUF_SIZE_256β firmware expects chunk transfer buffer size of256bytes (override defaults if they differ).ICVS_FW_HEADER_SIZE_256β firmware header size fixed at256bytes offset for start of payload data.ICVS_HOST_SENSOR_PWR_CTRLβ host must control sensor power sequencing.ICVS_HOST_PRIV_CTRLβ host owns privacy LED gating.ICVS_HOST_VISION_SENSINGβ host enables vision sensing capability bit.ICVS_NO_FW_UPDATEβ device does not support firmware update.
π SEE ALSO π
Kernel file ./drivers/media/i2c/cvs/icvs.h is the group chat, and the whole cast is:
enum icvs_csi_cmd_id(9)enum icvs_csi_link_owner(9)enum icvs_csi_privacy_status(9)enum icvs_csi_pads(9)struct icvs_device_quirk(9)struct icvs_dt_config(9)struct icvs_vc_config(9)struct icvs_link_cfg(9)struct icvs_fw_version(9)struct icvs_vid_pid(9)struct icvs_mipi_data_packet(9)struct icvs_mipi_read_packet(9)struct icvs_dev_capabilities(9)struct icvs_cmd(9)struct icvs_resp(9)enum icvs_resources(9)enum icvs_command(9)enum icvs_state(9)struct icvs(9)cvs_dev(9)
mwah π this cutie is sourced from ./drivers/media/i2c/cvs, dated October 2026, and itβs literally CVS device quirk flags(9). periodt π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms