Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+4
+4
drivers/soc/sunxi/sunxi_sram.c
··· 359 359 .compatible = "allwinner,sun50i-a64-sram-controller", 360 360 .data = &sun50i_a64_sramc_variant, 361 361 }, 362 + { 363 + .compatible = "allwinner,sun50i-a64-system-control", 364 + .data = &sun50i_a64_sramc_variant, 365 + }, 362 366 { }, 363 367 }; 364 368 MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match);