Commit e82a34fa authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Mauro Carvalho Chehab

media: cedrus: Add device-tree compatible and variant for A64 support

Add the necessary compatible for supporting the A64 SoC along with a
description of the capabilities of this variant.
Signed-off-by: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent f7fa2b6a
...@@ -387,6 +387,10 @@ static const struct cedrus_variant sun8i_h3_cedrus_variant = { ...@@ -387,6 +387,10 @@ static const struct cedrus_variant sun8i_h3_cedrus_variant = {
.capabilities = CEDRUS_CAPABILITY_UNTILED, .capabilities = CEDRUS_CAPABILITY_UNTILED,
}; };
static const struct cedrus_variant sun50i_a64_cedrus_variant = {
.capabilities = CEDRUS_CAPABILITY_UNTILED,
};
static const struct cedrus_variant sun50i_h5_cedrus_variant = { static const struct cedrus_variant sun50i_h5_cedrus_variant = {
.capabilities = CEDRUS_CAPABILITY_UNTILED, .capabilities = CEDRUS_CAPABILITY_UNTILED,
}; };
...@@ -412,6 +416,10 @@ static const struct of_device_id cedrus_dt_match[] = { ...@@ -412,6 +416,10 @@ static const struct of_device_id cedrus_dt_match[] = {
.compatible = "allwinner,sun8i-h3-video-engine", .compatible = "allwinner,sun8i-h3-video-engine",
.data = &sun8i_h3_cedrus_variant, .data = &sun8i_h3_cedrus_variant,
}, },
{
.compatible = "allwinner,sun50i-a64-video-engine",
.data = &sun50i_a64_cedrus_variant,
},
{ {
.compatible = "allwinner,sun50i-h5-video-engine", .compatible = "allwinner,sun50i-h5-video-engine",
.data = &sun50i_h5_cedrus_variant, .data = &sun50i_h5_cedrus_variant,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment