soc: sunxi: sram: Add dt match for the A10 system-control compatible
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Tue, 10 Jul 2018 08:00:58 +0000 (10:00 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 08:35:16 +0000 (10:35 +0200)
This binds the new A10 system-control compatible to the associated
driver, with the same driver data as the previous compatible.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/soc/sunxi/sunxi_sram.c

index 7fec1b1..236f343 100644 (file)
@@ -356,6 +356,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
                .data = &sun4i_a10_sramc_variant,
        },
        {
+               .compatible = "allwinner,sun4i-a10-system-control",
+               .data = &sun4i_a10_sramc_variant,
+       },
+       {
                .compatible = "allwinner,sun50i-a64-sram-controller",
                .data = &sun50i_a64_sramc_variant,
        },