aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorTom Rini2023-11-30 09:33:31 -0500
committerTom Rini2023-11-30 09:33:31 -0500
commit4a363dd516856344558034027e40d903868f67b4 (patch)
tree64f693d7178aa2d5c94e08557194ccad2cf41e77 /drivers/i2c
parent6357cf0cc4eaded5326cd10bca359ade2969708a (diff)
parente22d5799dc86298ad8388ddcb3b759e166c142b7 (diff)
Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next
Device tree improvents for Paz00 and DM PMIC convertion of recently merged Tegra boards.
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/i2c-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c
index 5405067861e..98f95859f3b 100644
--- a/drivers/i2c/i2c-uclass.c
+++ b/drivers/i2c/i2c-uclass.c
@@ -427,7 +427,7 @@ int i2c_get_chip_by_phandle(const struct udevice *parent, const char *prop_name,
goto err_exit;
}
- ret = dev_read_u32(parent, "i2cbcdev", &phandle);
+ ret = dev_read_u32(parent, prop_name, &phandle);
if (ret)
goto err_exit;