Commit 21c561b7c906a05700534a4e420277e6c6012efb

Authored by Simon Glass
Committed by Minkyu Kang
1 parent 5c2dd4cd7a

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>

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

... ... @@ -23,6 +23,11 @@
23 23 ulong base;
24 24 };
25 25  
  26 +enum video_polarity {
  27 + VIDEO_ACTIVE_HIGH, /* Pins are active high */
  28 + VIDEO_ACTIVE_LOW, /* Pins are active low */
  29 +};
  30 +
26 31 /*
27 32 * Bits per pixel selector. Each value n is such that the bits-per-pixel is
28 33 * 2 ^ n