mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
drm/sun4i: Add support for H3 mixer 0
This mixer supports 1 VI plane, 3 UI plane and HW scaling on all planes. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180301213442.16677-9-jernej.skrabec@siol.net
This commit is contained in:
parent
1ceb5f1b7d
commit
e679f4a13f
@ -492,6 +492,14 @@ static const struct sun8i_mixer_cfg sun8i_a83t_mixer1_cfg = {
|
|||||||
.vi_num = 1,
|
.vi_num = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct sun8i_mixer_cfg sun8i_h3_mixer0_cfg = {
|
||||||
|
.ccsc = 0,
|
||||||
|
.mod_rate = 432000000,
|
||||||
|
.scaler_mask = 0xf,
|
||||||
|
.ui_num = 3,
|
||||||
|
.vi_num = 1,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct sun8i_mixer_cfg sun8i_v3s_mixer_cfg = {
|
static const struct sun8i_mixer_cfg sun8i_v3s_mixer_cfg = {
|
||||||
.vi_num = 2,
|
.vi_num = 2,
|
||||||
.ui_num = 1,
|
.ui_num = 1,
|
||||||
@ -509,6 +517,10 @@ static const struct of_device_id sun8i_mixer_of_table[] = {
|
|||||||
.compatible = "allwinner,sun8i-a83t-de2-mixer-1",
|
.compatible = "allwinner,sun8i-a83t-de2-mixer-1",
|
||||||
.data = &sun8i_a83t_mixer1_cfg,
|
.data = &sun8i_a83t_mixer1_cfg,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "allwinner,sun8i-h3-de2-mixer-0",
|
||||||
|
.data = &sun8i_h3_mixer0_cfg,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.compatible = "allwinner,sun8i-v3s-de2-mixer",
|
.compatible = "allwinner,sun8i-v3s-de2-mixer",
|
||||||
.data = &sun8i_v3s_mixer_cfg,
|
.data = &sun8i_v3s_mixer_cfg,
|
||||||
|
Loading…
Reference in New Issue
Block a user