linux-stable/drivers/media/i2c/ccs
Sakari Ailus 86190c53c9 media: ccs: Differentiate SMIA and MIPI vendors in static data
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: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-04-11 18:54:02 +02:00
..
ccs-core.c media: ccs: Differentiate SMIA and MIPI vendors in static data 2023-04-11 18:54:02 +02:00
ccs-data-defs.h media: ccs: Add CCS static data parser library 2020-12-03 12:27:28 +01:00
ccs-data.c Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
ccs-data.h media: i2c/ccs: fix kernel-doc header issues 2021-04-06 14:32:19 +02:00
ccs-limits.c media: ccs: Fix the op_pll_multiplier address 2021-06-02 11:51:20 +02:00
ccs-limits.h media: ccs: Fix the op_pll_multiplier address 2021-06-02 11:51:20 +02:00
ccs-quirk.c media: ccs-pll: Add support for decoupled OP domain calculation 2020-12-07 15:53:34 +01:00
ccs-quirk.h media: i2c/ccs: fix kernel-doc header issues 2021-04-06 14:32:19 +02:00
ccs-reg-access.c media: ccs: Switch from standard integer types to kernel ones 2021-01-12 17:56:00 +01:00
ccs-reg-access.h media: ccs: Add support for manufacturer regs from sensor and module files 2020-12-03 12:27:32 +01:00
ccs-regs.h media: ccs: Fix the op_pll_multiplier address 2021-06-02 11:51:20 +02:00
ccs.h media: ccs: Align flipping behaviour with other drivers 2023-04-11 18:54:02 +02:00
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: ccs: Add CCS static data parser library 2020-12-03 12:27:28 +01:00
smiapp-reg-defs.h media: ccs: Add support for old-style SMIA digital gain 2021-01-12 17:24:07 +01:00