]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: i2c: og01a1b: Specify monochrome media bus format instead of Bayer
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Sat, 23 Aug 2025 13:22:06 +0000 (16:22 +0300)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:16 +0000 (15:59 +0200)
commitbfbd5aa5347fbd11ade188b316b800bfb27d9e22
treee5c0c0ef3f38734374845b2f0ffde1d3cb1b0478
parentbfdcfd008b375dfbc0b19fecd92311dd401da68e
media: i2c: og01a1b: Specify monochrome media bus format instead of Bayer

The OmniVision OG01A1B image sensor is a monochrome sensor, it supports
8-bit and 10-bit RAW output formats only.

That said the planar greyscale Y8/Y10 media formats are more appropriate
for the sensor instead of the originally and arbitrary selected SGRBG one,
since there is no red, green or blue color components.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/og01a1b.c