]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: media: imx: imx7-media-csi: Fix list of supported formats
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 10 May 2022 09:47:34 +0000 (10:47 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 17:03:06 +0000 (18:03 +0100)
commit3c541d8bef00820d50de41c78d78dae59c36a9ca
tree69660dbd8d9baa6070b928dee5657a098eb41fe7
parente05ea990474b29b81ba895f6a6e5fa2f9c77a8de
media: staging: media: imx: imx7-media-csi: Fix list of supported formats

The list of supported formats comes from helpers shared with the i.MX6
IPUv3 and is incorrect in multiple regards:

- 10-, 12- and 14-bit Bayer formats are stored in memory as SBGGR10,
  SBGGR12 and SBGGR14 respectively (plus components permutations), not
  SBGGR16. Same thing for greyscale formats.
- 16-bit RAW formats are not supported by the hardware.

Fix the supported formats table.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/imx/imx7-media-csi.c