projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdec16
)
soc: sunxi: Add the A13, A23 and H3 system control compatibles
author
Maxime Ripard
<maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 09:25:07 +0000
(11:25 +0200)
committer
Maxime Ripard
<maxime.ripard@bootlin.com>
Thu, 19 Jul 2018 14:39:12 +0000
(16:39 +0200)
The A13, A23 and H3 have variations of the system controls, in part due to
the SRAM that are available (and can be mapped) in the SoC.
In order to make it future proof, let's add compatibles for these SoCs in
the driver.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/soc/sunxi/sunxi_sram.c
patch
|
blob
|
history
diff --git
a/drivers/soc/sunxi/sunxi_sram.c
b/drivers/soc/sunxi/sunxi_sram.c
index
b19fa2c
..
b4b0f34
100644
(file)
--- a/
drivers/soc/sunxi/sunxi_sram.c
+++ b/
drivers/soc/sunxi/sunxi_sram.c
@@
-370,6
+370,18
@@
static const struct of_device_id sunxi_sram_dt_match[] = {
.data = &sun4i_a10_sramc_variant,
},
{
+ .compatible = "allwinner,sun5i-a13-system-control",
+ .data = &sun4i_a10_sramc_variant,
+ },
+ {
+ .compatible = "allwinner,sun8i-a23-system-control",
+ .data = &sun4i_a10_sramc_variant,
+ },
+ {
+ .compatible = "allwinner,sun8i-h3-system-control",
+ .data = &sun4i_a10_sramc_variant,
+ },
+ {
.compatible = "allwinner,sun50i-a64-sram-controller",
.data = &sun50i_a64_sramc_variant,
},