diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-22 04:08:50 (GMT) |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2016-05-25 04:25:18 (GMT) |
commit | 21c561b7c906a05700534a4e420277e6c6012efb (patch) | |
tree | 26f04388913be61f60706d0d187ddf0bde6681f9 | |
parent | 5c2dd4cd7a41ec971a23eec9e993717e5aed8744 (diff) | |
download | u-boot-21c561b7c906a05700534a4e420277e6c6012efb.tar.xz |
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.h | 5 |
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 |