aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski2024-01-31 15:33:21 +0100
committerPaul Kocialkowski2024-01-31 15:35:46 +0100
commit628a8de7d2d190d476b2330c48f25e07333df7df (patch)
tree47cd144ae823e6d21257cc46fb2281c15f3e9980
parentcf7be7659600c23232158942aed1a4eab08e3966 (diff)
media: sunxi: cedar: Add A33 support
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--drivers/staging/media/sunxi/cedar/ve/cedar_ve.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c b/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c
index 55e0e2766471..891e07a49e42 100644
--- a/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c
+++ b/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c
@@ -1588,6 +1588,11 @@ static struct cedar_variant sun8i_h3_quirk = {
.mod_rate = 402000000,
};
+static struct cedar_variant sun8i_a33_quirk = {
+ .capabilities = 0,
+ .mod_rate = 300000000,
+};
+
static struct cedar_variant suniv_f1c100s_quirk = {
.capabilities = CEDARV_ISP_OLD,
.mod_rate = 300000000,
@@ -1596,6 +1601,7 @@ static struct cedar_variant suniv_f1c100s_quirk = {
static struct of_device_id sunxi_cedar_ve_match[] = {
{ .compatible = "allwinner,sun8i-v3-cedar", .data = &sun8i_v3_quirk },
{ .compatible = "allwinner,sun8i-h3-cedar", .data = &sun8i_h3_quirk },
+ { .compatible = "allwinner,sun8i-a33-cedar", .data = &sun8i_a33_quirk },
{ .compatible = "allwinner,suniv-f1c100s-cedar", .data = &suniv_f1c100s_quirk },
{}
};