mbox series

[0/2] media: i2c: gc2145: CCI_REG16_LE usage & RAW8

Message ID 20240625082956.2556293-1-alain.volmat@foss.st.com
Headers show
Series media: i2c: gc2145: CCI_REG16_LE usage & RAW8 | expand

Message

Alain Volmat June 25, 2024, 8:29 a.m. UTC
Add RAW8 format support within the driver and use CCI_REG16_LE macro
on 16 bit registers of P3(CSI) area in order to avoid having to
access them in 8 bit.

Tested on STM32MP135F-DK board.

Alain Volmat (2):
  media: i2c: gc2145: addition of RAW8 formats support
  media: i2c: gc2145: use CCI_REG16_LE for little-endian registers

 drivers/media/i2c/gc2145.c | 90 ++++++++++++++++++++++++++++++--------
 1 file changed, 72 insertions(+), 18 deletions(-)