diff options
| author | Minda Chen <[email protected]> | 2025-03-06 14:20:28 +0800 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2025-03-17 01:55:19 +0100 |
| commit | af65cc3ebfb90e4ab43b049d116a8cb7f1ea0c38 (patch) | |
| tree | 39a6a6987209c0ee32d96bc9c1cf3366082b9926 /drivers/phy | |
| parent | 0cbecd695471f9beee740190ab950ebd568695ee (diff) | |
usb: cdns: starfive: Get dr mode from wrapper device dts node
Cdns core driver also get dr mode from wrapper devcie dts node
to make it is same with Starfive cdns USB Linux kernel driver,
Starfive 7110 OF_UPSTREAM is enabled
Signed-off-by: Minda Chen <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'drivers/phy')
| -rw-r--r-- | drivers/phy/starfive/phy-jh7110-pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/starfive/phy-jh7110-pcie.c b/drivers/phy/starfive/phy-jh7110-pcie.c index ecb04bdedfa..a30582821d9 100644 --- a/drivers/phy/starfive/phy-jh7110-pcie.c +++ b/drivers/phy/starfive/phy-jh7110-pcie.c @@ -170,7 +170,7 @@ static int starfive_pcie_phy_get_syscon(struct udevice *dev) int ret; /* get corresponding syscon phandle */ - ret = dev_read_phandle_with_args(dev, "starfive,sys-syscon", NULL, 0, 0, + ret = dev_read_phandle_with_args(dev, "starfive,sys-syscon", NULL, 1, 0, &sys_phandle); if (ret < 0) { |
