summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2018-07-10 10:00:58 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-07-11 10:35:16 +0200
commitacc26f59f835142a48f495caf80b86592c4af1f5 (patch)
tree6f171cff5996ee8d92dc1ff61a9c647cf9384f01
parent2263dd0ce14cad467a78ae903de7a27df1e3d80a (diff)
soc: sunxi: sram: Add dt match for the A10 system-control compatible
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>
-rw-r--r--drivers/soc/sunxi/sunxi_sram.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c
index 7fec1b160dbb..236f34307c0f 100644
--- a/drivers/soc/sunxi/sunxi_sram.c
+++ b/drivers/soc/sunxi/sunxi_sram.c
@@ -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,
},