]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
phy: phy-mtk-tphy: add a property for internal resistance
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 11 Feb 2020 03:21:12 +0000 (11:21 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 20 Mar 2020 14:04:29 +0000 (19:34 +0530)
commit410572ec08f138502ecd9731ec60c455819f1a0f
tree8647876bc09a9479967f9062bc98d8f24b2e26cd
parent8be5a67f7106189f8217b749eeec9a9ef8cd2bba
phy: phy-mtk-tphy: add a property for internal resistance

This is used to tune J-K voltage by internal R (resistance), the
range is [0, 31], the resistance value is about 6.9K ohm for 0,
3.8K ohm for 31, and the step is 1K ohm

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