mbox series

[0/4] media: i2c: st-vgxy61 Add support for embedded metadata

Message ID 20240315085158.1213159-1-julien.massot@collabora.com (mailing list archive)
Headers show
Series media: i2c: st-vgxy61 Add support for embedded metadata | expand

Message

Julien Massot March 15, 2024, 8:51 a.m. UTC
The ST-VGXY61 sensors are transmitting Intelligent Status Line (ISL).
The ISL contains some values of the user interface registers.
ISL data are transmitted as RAW8 data packing and follow the
SMIA CSI-2, simplified, 2-byte, tagged data with MIPI_CSI2_DT_EMBEDDED_8B
datatype.
According to the documentation, the firmware preconfigures two status lines
of 256 bytes sent every frame, hence the format 256x2.

ISL data can be disabled in SW_STDBY state, so the set_routing callback is
added to disable the ISL data transmission.


This patchset depends on the "Generic line based metadata support, internal pads"
v8 patchset version.

Julien Massot (4):
  media: i2c: st-vgxy61: Use sub-device active state
  media: i2c: st-vgxy61: Add support for embedded data
  media: i2c: st-vgxy61: Switch to {enable,disable}_streams
  media: i2c: st-vgxy61: Implement set_routing callback

 drivers/media/i2c/st-vgxy61.c | 345 +++++++++++++++++++++++++---------
 1 file changed, 260 insertions(+), 85 deletions(-)