diff options
author | Bartosz Golaszewski <[email protected]> | 2023-08-10 10:09:04 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-08-11 10:34:05 -0700 |
commit | 5255901fb26efcb91eee1739aded174ff6c6443e (patch) | |
tree | d501e0285ef91dc1f67965b1666b91b428b09e87 /drivers/fpga/xilinx-selectmap.c | |
parent | 6ca89cc6803b3895a0b2caba458dbece9b6ea52b (diff) |
arm64: dts: qcom: sa8775p-ride: move the reset-gpios property of the PHY
Device-tree bindings for MDIO define per-PHY reset-gpios as well as a
global reset-gpios property at the MDIO node level which controls all
devices on the bus. The latter is most likely a workaround for the
chicken-and-egg problem where we cannot read the ID of the PHY before
bringing it out of reset but we cannot bring it out of reset until we've
read its ID.
I have proposed a comprehensive solution for this problem in 2020 but it
never got upstream. We do however have workaround in place which allows
us to hard-code the PHY id in the compatible property, thus skipping the
ID scanning.
Let's make the device-tree for sa8775p-ride slightly more correct by
moving the reset-gpios property to the PHY node with its ID put into the
PHY node's compatible.
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Tested-by: Andrew Halaney <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions