phy: phy-mtk-tphy: make ref clock optional
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 9 Jan 2020 03:35:10 +0000 (11:35 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 16 Jan 2020 14:39:45 +0000 (09:39 -0500)
commitce0069ed9599d6e42f89b272f618c305fad039e3
treea81096da9e1303cd9e1d6eb03552392bb0c383df
parent3b6351a47594d1f97d63085b7dac9fbae1e7aabe
phy: phy-mtk-tphy: make ref clock optional

If make the ref clock optional, no need refer to fixed-clock when
the ref clock is always on or comes from oscillator directly.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
drivers/phy/phy-mtk-tphy.c