mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 07:01:39 +00:00
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>
This commit is contained in:
parent
5c2dd4cd7a
commit
21c561b7c9
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ struct video_uc_platdata {
|
||||||
ulong base;
|
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
|
* Bits per pixel selector. Each value n is such that the bits-per-pixel is
|
||||||
* 2 ^ n
|
* 2 ^ n
|
||||||
|
|
Loading…
Add table
Reference in a new issue