• Sakari Ailus's avatar
    media: ccs: Differentiate SMIA and MIPI vendors in static data · 86190c53
    Sakari Ailus authored
    MIPI CCS uses a 16-bit MIPI manufacturer identifier for firmware filenames
    compared to older 8-bit identifier used by SMIA. The requested firmware
    files used the MIPI manufacturer ID even for SMIA compliant devices,
    effectively making the manufacturer ID 0.
    
    While CCS static data is a feature of CCS 1.1, it has no hardware
    dependencies. Making this feature available for SMIA devices helps adding
    support for them and avoids requesting ill-generated CCS static data file
    names. The files are named as:
    
    	ccs/smiapp-module-vv-mmmm-rrrr.fw,
    	ccs/smiapp-sensor-vv-mmmm-rr.fw and
    	ccs/smia-sensor-vv-mmmm-rr.fw
    
    where vv is the manufacturer ID, mmmm is the model ID and rr or rrrr is
    the revision number.
    Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    86190c53
ccs-core.c 98.2 KB