summaryrefslogtreecommitdiffstats
path: root/drivers/soc/sunxi
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2018-12-05 10:24:35 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-12-05 11:55:36 +0100
commitc7739268222ed819f85ec9b8c909aa5fc402cc23 (patch)
treef1cbcba46331f700d2f51abef0856a6b26415994 /drivers/soc/sunxi
parent15e53723ce2bcbe225be9c4bd9566ebb13f2298d (diff)
downloadlinux-c7739268222ed819f85ec9b8c909aa5fc402cc23.tar.gz
linux-c7739268222ed819f85ec9b8c909aa5fc402cc23.tar.bz2
linux-c7739268222ed819f85ec9b8c909aa5fc402cc23.zip
soc: sunxi: sram: Add support for the H5 SoC system control
This adds the H5 SoC compatible to the list of device-tree matches for the SRAM driver. Since the variant is the same as the A64 (that precedes the H5), the same variant description is used. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
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 fd81a3c0db45..1b0d50f36349 100644
--- a/drivers/soc/sunxi/sunxi_sram.c
+++ b/drivers/soc/sunxi/sunxi_sram.c
@@ -383,6 +383,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = {
.compatible = "allwinner,sun50i-a64-system-control",
.data = &sun50i_a64_sramc_variant,
},
+ {
+ .compatible = "allwinner,sun50i-h5-system-control",
+ .data = &sun50i_a64_sramc_variant,
+ },
{ },
};
MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match);