soc: sunxi: sram: Add support for the H5 SoC system control
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Wed, 5 Dec 2018 09:24:35 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Dec 2018 10:55:36 +0000 (11:55 +0100)
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>
drivers/soc/sunxi/sunxi_sram.c

index fd81a3c0db4596822a292969e6b8d12217a35039..1b0d50f3634935cbfe50dcf7b11ba484f4bfcd50 100644 (file)
@@ -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);