diff options
author | Clément Péron <peron.clem@gmail.com> | 2019-06-08 02:10:50 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-04 12:35:22 +0300 |
commit | 87d0609801ebcdf18639bb30ec5ec9a380f15be8 (patch) | |
tree | 58ad21ca6ef6db3fb82b9009fe33971620dc3396 /drivers/media | |
parent | 6b197cb5b4dc7be463599daeb28dfb8d24674746 (diff) | |
download | linux-87d0609801ebcdf18639bb30ec5ec9a380f15be8.tar.xz |
media: rc: sunxi: Add A31 compatible
Allwiner A31 has a different memory mapping so add the compatible
we will need it later.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/rc/sunxi-cir.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index 29fe152fd9bc..e9b9c582f818 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c @@ -333,6 +333,11 @@ static const struct sunxi_ir_quirks sun5i_a13_ir_quirks = { .fifo_size = 64, }; +static const struct sunxi_ir_quirks sun6i_a31_ir_quirks = { + .has_reset = true, + .fifo_size = 64, +}; + static const struct of_device_id sunxi_ir_match[] = { { .compatible = "allwinner,sun4i-a10-ir", @@ -342,6 +347,10 @@ static const struct of_device_id sunxi_ir_match[] = { .compatible = "allwinner,sun5i-a13-ir", .data = &sun5i_a13_ir_quirks, }, + { + .compatible = "allwinner,sun6i-a31-ir", + .data = &sun6i_a31_ir_quirks, + }, {} }; MODULE_DEVICE_TABLE(of, sunxi_ir_match); |