summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-21 21:08:50 -0700
committerMinkyu Kang <mk7.kang@samsung.com>2016-05-25 13:25:18 +0900
commit21c561b7c906a05700534a4e420277e6c6012efb (patch)
tree26f04388913be61f60706d0d187ddf0bde6681f9
parent5c2dd4cd7a41ec971a23eec9e993717e5aed8744 (diff)
downloadu-boot-imx-21c561b7c906a05700534a4e420277e6c6012efb.zip
u-boot-imx-21c561b7c906a05700534a4e420277e6c6012efb.tar.gz
u-boot-imx-21c561b7c906a05700534a4e420277e6c6012efb.tar.bz2
video: Add an enum for active low/high
This is used for video signals in some drivers so provide a standard way of representing it in an enum. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--include/video.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h
index c434bc7..0d5bd21 100644
--- a/include/video.h
+++ b/include/video.h
@@ -23,6 +23,11 @@ struct video_uc_platdata {
ulong base;
};
+enum video_polarity {
+ VIDEO_ACTIVE_HIGH, /* Pins are active high */
+ VIDEO_ACTIVE_LOW, /* Pins are active low */
+};
+
/*
* Bits per pixel selector. Each value n is such that the bits-per-pixel is
* 2 ^ n