Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

media: i2c: ov01a10: Add ov01a1b support

Add support for the ov01a1b model which is the exact same sensor as
the ov01a10 without a color-filter.

Note since there is no color-filter there is also no need to shift
the crop-window when flipping, so the crop window set by userspace may
cover the full sensor (border_size=0).

Signed-off-by: Hans de Goede <hansg@kernel.org>
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>

authored by

Hans de Goede and committed by
Hans Verkuil
36eab90d 0c5ebba5

+9
+9
drivers/media/i2c/ov01a10.c
··· 1102 1102 .invert_vflip_shift = false, 1103 1103 }; 1104 1104 1105 + static const struct ov01a10_sensor_cfg ov01a1b_cfg = { 1106 + .model = "ov01a1b", 1107 + .bus_fmt = MEDIA_BUS_FMT_Y10_1X10, 1108 + .pattern_size = 2, /* Keep coordinates aligned to a multiple of 2 */ 1109 + .border_size = 0, 1110 + .format1_base_val = 0xa0, 1111 + }; 1112 + 1105 1113 static const struct acpi_device_id ov01a10_acpi_ids[] = { 1106 1114 { "OVTI01A0", (uintptr_t)&ov01a10_cfg }, 1115 + { "OVTI01AB", (uintptr_t)&ov01a1b_cfg }, 1107 1116 { } 1108 1117 }; 1109 1118