summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-08-24 12:40:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-08-25 08:28:40 +0200
commitda03ce9c18fca87ae2f443202d70bb42cab6a222 (patch)
tree39d1522464dcbe1480e26cae435e86b3c155be20 /include
parent1be6d321efbd4113488dae300cbb3e1f30582a9f (diff)
downloadbarebox-da03ce9c18fca87ae2f443202d70bb42cab6a222.tar.gz
barebox-da03ce9c18fca87ae2f443202d70bb42cab6a222.tar.xz
video: add VPL ioctl to get bus format
The i.MX specific DI_MODE VPL ioctl already allows to query the encoder input bus format. This patch also allows non-i.MX specific encoder drivers to report their input bus format. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/video/vpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/vpl.h b/include/video/vpl.h
index 846007f4f5..6ae7b0f3e0 100644
--- a/include/video/vpl.h
+++ b/include/video/vpl.h
@@ -8,6 +8,7 @@
#define VPL_ENABLE 0x67660003
#define VPL_DISABLE 0x67660004
#define VPL_GET_VIDEOMODES 0x67660005
+#define VPL_GET_BUS_FORMAT 0x67660006
struct vpl {
int (*ioctl)(struct vpl *, unsigned int port,