linux/drivers/phy
Douglas Anderson 27ffc36df9 UPSTREAM: 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>

(cherry picked from commit e023b1fb52)
Change-Id: I7c8304db69f8c6aacdd889a58d4bb7f185507f9d
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
2017-11-06 10:14:42 +08:00
..
rockchip UPSTREAM: phy: rockchip-typec: Do the calibration more correctly 2017-11-06 10:14:42 +08:00
Kconfig UPSTREAM: phy: Group vendor specific phy drivers 2017-09-28 14:12:47 +08:00
Makefile UPSTREAM: phy: Group vendor specific phy drivers 2017-09-28 14:12:47 +08:00
phy-armada375-usb2.c
phy-bcm-cygnus-pcie.c
phy-bcm-kona-usb2.c
phy-berlin-sata.c
phy-berlin-usb.c
phy-brcmstb-sata.c
phy-core.c phy: add cp_test callback 2017-02-22 14:18:11 +08:00
phy-dm816x-usb.c
phy-exynos-dp-video.c
phy-exynos-mipi-video.c
phy-exynos4x12-usb2.c
phy-exynos5-usbdrd.c
phy-exynos4210-usb2.c
phy-exynos5250-sata.c
phy-exynos5250-usb2.c
phy-hix5hd2-sata.c
phy-lpc18xx-usb-otg.c
phy-miphy28lp.c
phy-miphy365x.c
phy-mt65xx-usb3.c
phy-mvebu-sata.c
phy-omap-control.c
phy-omap-usb2.c
phy-pistachio-usb.c
phy-pxa-28nm-hsic.c
phy-pxa-28nm-usb2.c
phy-qcom-apq8064-sata.c
phy-qcom-ipq806x-sata.c
phy-qcom-ufs-i.h
phy-qcom-ufs-qmp-14nm.c
phy-qcom-ufs-qmp-14nm.h
phy-qcom-ufs-qmp-20nm.c
phy-qcom-ufs-qmp-20nm.h
phy-qcom-ufs.c
phy-rcar-gen2.c
phy-s5pv210-usb2.c
phy-samsung-usb2.c
phy-samsung-usb2.h
phy-spear1310-miphy.c
phy-spear1340-miphy.c
phy-stih41x-usb.c
phy-stih407-usb.c
phy-sun4i-usb.c
phy-sun9i-usb.c
phy-ti-pipe3.c
phy-tusb1210.c
phy-twl4030-usb.c
phy-xgene.c UPSTREAM: phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-10-08 17:27:01 +08:00
ulpi_phy.h