[PATCH 1/2] gpu: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes

2018-05-05 Thread Jan Luebbe
From: Enrico Scholz mbus_code_to_bus_cfg() can fail on unknown mbus codes; pass back the error to the caller. Signed-off-by: Enrico Scholz Signed-off-by: Jan Luebbe --- drivers/gpu/ipu-v3/ipu-csi.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a

[PATCH 0/2] gpu: ipu-v3: csi: add RGB565 support

2018-05-05 Thread Jan Luebbe
: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes Jan Luebbe (1): gpu: ipu-v3: csi: support RGB565 on parallel bus drivers/gpu/ipu-v3/ipu-csi.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) -- 2.17.0

[PATCH 2/2] gpu: ipu-v3: csi: support RGB565 on parallel bus

2018-05-05 Thread Jan Luebbe
The CSI_SENS_CONF_DATA_FMT_RGB565 configuration only works for MIPI CSI-2 sources. On the parallel bus, we need to use bayer (generic) mode instead. To handle this difference, we pass the mbus_type to mbus_code_to_bus_cfg(). Signed-off-by: Jan Luebbe --- drivers/gpu/ipu-v3/ipu-csi.c | 12