]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: phy-mtk-tphy: add properties for phy tuning
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 13 Dec 2023 06:41:33 +0000 (14:41 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jan 2024 02:19:25 +0000 (21:19 -0500)
Add properties to improve eye diagram which sometimes need adjust
some parameters of u2phy;
Add a property to tune disconnect threshold;

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
doc/device-tree-bindings/phy/phy-mtk-tphy.txt

index 3042c39d09cf2fb351d54e7861778749ee9727b6..300e236b5b01d72599ae1ba2877d82acd2098bbe 100644 (file)
@@ -52,6 +52,15 @@ Optional properties (port (child) node):
                  "da_ref": the reference clock of analog phy, used if the clocks
                        of analog and digital phys are separated, otherwise uses
                        "ref" clock only if needed.
+- mediatek,eye-vrt     : The selection of VRT reference voltage (U2 phy),
+                 the value is [1, 7]
+- mediatek,eye-term    : The selection of HS_TX TERM reference voltage (U2 phy),
+                 the value is [1, 7]
+- mediatek,discth      : The selection of disconnect threshold (U2 phy),
+                 the value is [1, 15]
+- mediatek,pre-emphasis        : The level of pre-emphasis which used to widen
+                 the eye opening and boost eye swing,
+                 the value is [1, 3]
 
 Example: