diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-21 21:08:50 -0700 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2016-05-25 13:25:18 +0900 |
commit | 21c561b7c906a05700534a4e420277e6c6012efb (patch) | |
tree | 26f04388913be61f60706d0d187ddf0bde6681f9 /include/video.h | |
parent | 5c2dd4cd7a41ec971a23eec9e993717e5aed8744 (diff) |
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>
Diffstat (limited to 'include/video.h')
-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 c434bc71ae5..0d5bd21c600 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 |