提交 21c561b7 编写于 作者: S Simon Glass 提交者: Minkyu Kang

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: NSimon Glass <sjg@chromium.org>
Acked-by: NAnatolij Gustschin <agust@denx.de>
Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
上级 5c2dd4cd
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册