mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-15 19:31:32 +00:00
platform: starfive: rename "stf,axp15060-regulator" -> "x-powers,axp15060"
OpenSBI uses the device tree compatible string "stf,axp15060-regulator" for the regulator node. However, the string used by U-Boot (and Linux) is actually "x-powers,axp15060". As OpenSBI gets the device tree from U-Boot, this causes the regulator device to be undetected, and OpenSBI does not use this device to perform board reset/shutdown. Rename this device tree compatible string to match U-Boot (and Linux). Signed-off-by: Nam Cao <namcao@linutronix.de> Acked-by: Minda Chen <minda.chen@starfivetech.com> Tested-by: Minda Chen <minda.chen@starfivetech.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
parent
5335340d97
commit
80ae0464c1
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ static int pm_reset_init(void *fdt, int nodeoff,
|
|||
}
|
||||
|
||||
static const struct fdt_match pm_reset_match[] = {
|
||||
{ .compatible = "stf,axp15060-regulator", .data = (void *)true },
|
||||
{ .compatible = "x-powers,axp15060", .data = (void *)true },
|
||||
{ },
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue