diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-06-24 23:03:27 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-08 11:45:50 -0600 |
commit | d4a489c1b21cba778600b441b59c8bcf2a879388 (patch) | |
tree | 7f856c56bfe64e742adca91d1ead06ec4c529439 /drivers/demo | |
parent | d3c610fa462a76880845920e7c535133a264448a (diff) | |
download | u-boot-d4a489c1b21cba778600b441b59c8bcf2a879388.tar.gz u-boot-d4a489c1b21cba778600b441b59c8bcf2a879388.tar.bz2 u-boot-d4a489c1b21cba778600b441b59c8bcf2a879388.zip |
phy: phy-mtk-tphy: add support for phy type switch
Add support for PHY type switch via the mediatek topmisc syscon.
This is needed on mt7981 to make the PCIe correctly work and display
LinkUp.
Follow the same implementation done on Linux kernel with the usage of
the mediatek,syscon-type property.
Example:
u3port0: usb-phy@11e10700 {
reg = <0x11e10700 0x900>;
clocks = <&topckgen CK_TOP_USB3_PHY_SEL>;
clock-names = "ref";
#phy-cells = <1>;
mediatek,syscon-type = <&topmisc 0x218 0>;
status = "okay";
};
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'drivers/demo')
0 files changed, 0 insertions, 0 deletions