usb: phy: mxs: Add DT bindings to configure TX settings
authorJaret Cantu <jaret.cantu@timesys.com>
Tue, 16 Aug 2016 22:31:48 +0000 (18:31 -0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:18 +0000 (12:13 +0300)
commitda605f5f842163921f851e34402da6f5829a6328
tree2e2f2eef3a4f339a96874547d53c01ed5a817956
parente51163690eaa6fd36abca2878bd6c53dcd423fd1
usb: phy: mxs: Add DT bindings to configure TX settings

The TX settings can be calibrated for particular hardware.  The
phy is reset by Linux, so this cannot be handled by the bootloader.

The TRM mentions that the maximum resistance should be used for the
DN/DP calibration in order to pass USB certification.

The values for the TX registers are poorly described in the TRM.
The meanings of the register values were taken from another
NXP-provided document:
https://community.nxp.com/message/566147#comment-566912

Acked-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jaret Cantu <jaret.cantu@timesys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Documentation/devicetree/bindings/phy/mxs-usb-phy.txt
drivers/usb/phy/phy-mxs-usb.c