diff options
| author | Nam Cao <[email protected]> | 2024-02-22 09:16:17 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-02-22 18:12:30 +0530 |
| commit | 80ae0464c157cc7a769c2bb1140424409ee4fc1a (patch) | |
| tree | c825c65ce99324b552f25eb64c70c5a560593d95 | |
| parent | 5335340d97a1fb6f7dfcad9f3ad602491b69ece1 (diff) | |
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 <[email protected]>
Acked-by: Minda Chen <[email protected]>
Tested-by: Minda Chen <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
| -rw-r--r-- | platform/generic/starfive/jh7110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/generic/starfive/jh7110.c b/platform/generic/starfive/jh7110.c index 0e37d564..16b94eae 100644 --- a/platform/generic/starfive/jh7110.c +++ b/platform/generic/starfive/jh7110.c @@ -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 }, { }, }; |
