summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-01-16 09:51:16 -0500
committerTom Rini <[email protected]>2024-01-16 09:51:16 -0500
commit043ca8c8a9b181cf6f17441e9b89b5ee33206309 (patch)
tree7971baea0d859a44a15339ffc505e07dddc44956 /test
parent6ca9349b6723dbb00385ca9c04e6478d4a03b109 (diff)
parent4c3dfa1b8babf9fc0575ce08eed99f950d3bab84 (diff)
Merge tag 'qcom-2024.04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-snapdragon
Qualcomm architecture changes: * Move clock and pinctrl drivers out of mach-snapdragon * Various clock driver improvements * Convert PMIC power/reset key driver to use the button API * Preparetory work for migrating to upstream DT
Diffstat (limited to 'test')
-rw-r--r--test/dm/spmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/spmi.c b/test/dm/spmi.c
index 9cc284b98cb..97bb0eb30fc 100644
--- a/test/dm/spmi.c
+++ b/test/dm/spmi.c
@@ -81,7 +81,7 @@ static int dm_test_spmi_access_peripheral(struct unit_test_state *uts)
int offset_count;
/* Get second pin of PMIC GPIO */
- ut_assertok(gpio_lookup_name("spmi1", &dev, &offset, &gpio));
+ ut_assertok(gpio_lookup_name("pmic1", &dev, &offset, &gpio));
/* Check if PMIC is parent */
ut_asserteq(device_get_uclass_id(dev->parent), UCLASS_PMIC);
@@ -92,7 +92,7 @@ static int dm_test_spmi_access_peripheral(struct unit_test_state *uts)
name = gpio_get_bank_info(dev, &offset_count);
/* Check bank name */
- ut_asserteq_str("spmi", name);
+ ut_asserteq_str("pmic", name);
/* Check pin count */
ut_asserteq(4, offset_count);