LinuxTV Patchwork [v2,06/15] soc: sunxi: sram: Add support for the H5 SoC system control

login
register
mail settings
Submitter Paul Kocialkowski
Date Dec. 5, 2018, 9:24 a.m.
Message ID <20181205092444.29497-7-paul.kocialkowski@bootlin.com>
Download mbox | patch
Permalink /patch/53299/
State Not Applicable
Delegated to: Hans Verkuil
Headers show

Comments

Paul Kocialkowski - Dec. 5, 2018, 9:24 a.m.
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>
---
 drivers/soc/sunxi/sunxi_sram.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch

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);

Privacy Policy