projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb166a3
)
gpu: ipu-v3: csi: add support for 8 bpp grayscale sensors.
author
Philippe De Muyter
<phdm@macqel.be>
Fri, 18 Sep 2015 13:41:55 +0000
(15:41 +0200)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Fri, 30 Oct 2015 16:13:47 +0000
(17:13 +0100)
Enable the MEDIA_BUS_FMT_Y8_1X8 format.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-csi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/ipu-v3/ipu-csi.c
b/drivers/gpu/ipu-v3/ipu-csi.c
index eec5adb3ed7b7ae704101f29717266296d81ec10..3bdb7058fcca156fae647d7699487a9ed60d91ac 100644
(file)
--- a/
drivers/gpu/ipu-v3/ipu-csi.c
+++ b/
drivers/gpu/ipu-v3/ipu-csi.c
@@
-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;