Commit 8293c8a3 authored by Lee Jones's avatar Lee Jones

phy: miphy28lp: Inform the reset framework that our reset line may be shared

On the STiH410 B2120 development board the MiPHY28lp shares its reset
line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device
(DRD).  New functionality in the reset subsystems forces consumers to
be explicit when requesting shared/exclusive reset lines.
Acked-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent ba4a1c28
...@@ -1143,7 +1143,8 @@ static int miphy28lp_probe_resets(struct device_node *node, ...@@ -1143,7 +1143,8 @@ static int miphy28lp_probe_resets(struct device_node *node,
struct miphy28lp_dev *miphy_dev = miphy_phy->phydev; struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
int err; int err;
miphy_phy->miphy_rst = of_reset_control_get(node, "miphy-sw-rst"); miphy_phy->miphy_rst =
of_reset_control_get_shared(node, "miphy-sw-rst");
if (IS_ERR(miphy_phy->miphy_rst)) { if (IS_ERR(miphy_phy->miphy_rst)) {
dev_err(miphy_dev->dev, dev_err(miphy_dev->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment