linux/drivers/phy/rockchip
Douglas Anderson e023b1fb52 phy: rockchip-typec: Do the calibration more correctly
Calculate the calibration code as per the docs.  The docs talk about
reading and averaging the pullup and pulldown calibration codes.  They
also talk about adding in some adjustment codes.  Let's do what the
docs say.

In practice this doesn't seem to matter a whole lot.  On a device I
tested the pullup and pulldown codes were nearly the same (0x23 and
0x24) and the adjustment codes were 0.

Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-10-23 11:19:25 +05:30
..
Kconfig
Makefile
phy-rockchip-dp.c
phy-rockchip-emmc.c
phy-rockchip-inno-usb2.c Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
phy-rockchip-pcie.c phy: rockchip-pcie: Reconstruct driver to support per-lane PHYs 2017-08-28 13:34:37 -05:00
phy-rockchip-typec.c phy: rockchip-typec: Do the calibration more correctly 2017-10-23 11:19:25 +05:30
phy-rockchip-usb.c