mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 10:02:02 +02:00
PCI: rzg3s-host: Use shared reset controls for power domain resets
Switch to shared reset controls for PCIe power resets to prepare for RZ/V2H(P) support. On this platform, multiple PCIe controllers share the same reset line, requiring shared ownership of the reset control. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Link: https://patch.msgid.link/20260629220932.861445-3-prabhakar.mahadev-lad.rj@bp.renesas.com
This commit is contained in:
parent
a61588a75d
commit
e226045494
|
|
@ -1277,9 +1277,9 @@ static int rzg3s_pcie_resets_prepare_and_get(struct rzg3s_pcie_host *host)
|
|||
for (i = 0; i < data->num_cfg_resets; i++)
|
||||
host->cfg_resets[i].id = data->cfg_resets[i];
|
||||
|
||||
ret = devm_reset_control_bulk_get_exclusive(host->dev,
|
||||
data->num_power_resets,
|
||||
host->power_resets);
|
||||
ret = devm_reset_control_bulk_get_shared(host->dev,
|
||||
data->num_power_resets,
|
||||
host->power_resets);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user