From: Simon Glass Date: Mon, 22 Feb 2016 04:08:50 +0000 (-0700) Subject: video: Add an enum for active low/high X-Git-Tag: v2016.07-rc1~1^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=21c561b7c906a05700534a4e420277e6c6012efb;p=u-boot 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 Acked-by: Anatolij Gustschin Signed-off-by: Minkyu Kang --- diff --git a/include/video.h b/include/video.h index c434bc71ae..0d5bd21c60 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