Skip to contentSkip to conversation

gpu: ipu-v3: csi: add support for 8 bpp grayscale sensors.

PATCH Applied Philippe De Muyter 2 participants 2 messages Sep 18, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpu: ipu-v3: csi: add support for 8 bpp grayscale sensors.

Cc Steve Longerbeam <[email protected]>
Cc Boris BREZILLON <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Hans Verkuil <[email protected]>
---
 drivers/gpu/ipu-v3/ipu-csi.c |    1 +
 1 file changed, 1 insertion(+)
drivers/gpu/ipu-v3/ipu-csi.c +1 -0
index 752cdd2..0ab0e3a 100644
@@ -271,6 +271,7 @@ static int mbus_code_to_bus_cfg(struct ipu_csi_bus_config *cfg, u32 mbus_code)
 	case MEDIA_BUS_FMT_SGBRG8_1X8:
 	case MEDIA_BUS_FMT_SGRBG8_1X8:
 	case MEDIA_BUS_FMT_SRGGB8_1X8:
+	case MEDIA_BUS_FMT_Y8_1X8:
 		cfg->data_fmt = CSI_SENS_CONF_DATA_FMT_BAYER;
 		cfg->mipi_dt = MIPI_DT_RAW8;
 		cfg->data_width = IPU_CSI_DATA_WIDTH_8;
Signature · 1 line
1.7.10.4
maintainer Applied
#1 lore raw

Am Freitag, den 18.09.2015, 15:41 +0200 schrieb Philippe De Muyter:

Quoted 14 lines
Cc Steve Longerbeam <[email protected]>
Cc Boris BREZILLON <[email protected]>
Cc Philipp Zabel <[email protected]>
Cc Hans Verkuil <[email protected]>
---
 drivers/gpu/ipu-v3/ipu-csi.c |    1 +
 1 file changed, 1 insertion(+)
drivers/gpu/ipu-v3/ipu-csi.c +0 -0
index 752cdd2..0ab0e3a 100644

drivers/gpu/ipu-v3/ipu-csi.c static int mbus_code_to_bus_cfg(struct ipu_csi_bus_config *cfg, u32 mbus_code) · line 274

Quoted 4 lines
drivers/gpu/ipu-v3/ipu-csi.c +1 -0
@@ -271,6 +271,7 @@ static int mbus_code_to_bus_cfg(struct ipu_csi_bus_config *cfg, u32 mbus_code)
 	case MEDIA_BUS_FMT_SGBRG8_1X8:
 	case MEDIA_BUS_FMT_SGRBG8_1X8:
 	case MEDIA_BUS_FMT_SRGGB8_1X8:
+	case MEDIA_BUS_FMT_Y8_1X8:

Applied, thanks.

regards
Philipp