phy: phy-mtk-tphy: add a property for disconnect threshold
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 8 Jan 2020 01:52:01 +0000 (09:52 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 20 Mar 2020 14:04:29 +0000 (19:34 +0530)
commit8be5a67f7106189f8217b749eeec9a9ef8cd2bba
treedb2ba83e703ac61c738e1e026bdfc657606e54ae
parent7dffdebb61806164179c4e7a0d05d3f391b57573
phy: phy-mtk-tphy: add a property for disconnect threshold

This is used to tune the threshold of disconnect, the index range
is [0, 15], the threshold voltage is about 400mV for 0, 700mV for
15, and the step is 20mV.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/mediatek/phy-mtk-tphy.c