sunxi: video: Add support for CSC and TVE to DE2 driver
Extend DE2 driver with support for TVE driver, which will be added in next commit. TVE unit expects data to be in YUV format, so CSC support is also added here. Note that HDMI driver has higher priority, so TV out is not probed if HDMI monitor is detected. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Anatolij Gustschin
parent
a8191dfec0
commit
b98efa1db3
@@ -90,6 +90,23 @@ struct de_ui {
|
||||
u32 ovl_size;
|
||||
};
|
||||
|
||||
struct de_csc {
|
||||
u32 csc_ctl;
|
||||
u8 res[0xc];
|
||||
u32 coef11;
|
||||
u32 coef12;
|
||||
u32 coef13;
|
||||
u32 coef14;
|
||||
u32 coef21;
|
||||
u32 coef22;
|
||||
u32 coef23;
|
||||
u32 coef24;
|
||||
u32 coef31;
|
||||
u32 coef32;
|
||||
u32 coef33;
|
||||
u32 coef34;
|
||||
};
|
||||
|
||||
/*
|
||||
* DE register constants.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user