summaryrefslogtreecommitdiffstats
path: root/drivers/soc/sunxi
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2018-05-22 01:02:41 +0800
committerChen-Yu Tsai <wens@csie.org>2018-06-19 22:56:47 +0800
commitede18ae31202256824b47cfbebc8c0dc219354ef (patch)
tree60bad97e2c07e5f9a0d720b87daa578dd3e8eaf7 /drivers/soc/sunxi
parentf412c8d7a2f43fe2d83d077e143b02f2656b1640 (diff)
downloadlinux-stable-ede18ae31202256824b47cfbebc8c0dc219354ef.tar.gz
linux-stable-ede18ae31202256824b47cfbebc8c0dc219354ef.tar.bz2
linux-stable-ede18ae31202256824b47cfbebc8c0dc219354ef.zip
soc: sunxi: sram: Add updated compatible string for A64 system control
The SRAM mapping controls on Allwinner SoCs is located in a block called "System Controls". This block also has registers for identifying the SoC, reading the state of an external boot-related pin, and on some newer SoCs, glue layer controls for the EMAC Ethernet controller. The A64 variant compatible is renamed to "allwinner,a64-system-control" to reflect this. The old A64 compatible is deprecated. So far we haven't seen any actual use of it. Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/soc/sunxi')
-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 eec7fc6e9f66..7fec1b160dbb 100644
--- a/drivers/soc/sunxi/sunxi_sram.c
+++ b/drivers/soc/sunxi/sunxi_sram.c
@@ -359,6 +359,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
.compatible = "allwinner,sun50i-a64-sram-controller",
.data = &sun50i_a64_sramc_variant,
},
+ {
+ .compatible = "allwinner,sun50i-a64-system-control",
+ .data = &sun50i_a64_sramc_variant,
+ },
{ },
};
MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match);