From d1992a3331c0d10674b7817542c5e9de87c67166 Mon Sep 17 00:00:00 2001 From: Elson Roy Serrao Date: Wed, 4 Dec 2019 09:29:43 -0800 Subject: [PATCH] dt-bindings: usb: Add Gen2 Tx Compliance tuning property for dwc3 Tuning for Tx 3.1 Gen2 needs to be done by modifiying the deemph registers. Expose these registers via device tree properties so that tuning can be applied duing dwc3 init. Change-Id: I84066e976ccbd6006ca9149e29d1c27acb694646 --- bindings/usb/dwc3.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bindings/usb/dwc3.txt b/bindings/usb/dwc3.txt index d82ced6e..98fb5cd1 100644 --- a/bindings/usb/dwc3.txt +++ b/bindings/usb/dwc3.txt @@ -110,6 +110,14 @@ Optional properties: When just one value, which means INCRX burst mode enabled. When more than one value, which means undefined length INCR burst type enabled. The values can be 1, 4, 8, 16, 32, 64, 128 and 256. + - snps,gen2-tx-de-emph: This register is for setting TX deemphasis used in + normal operation in gen2. + - snps,gen2-tx-de-emph1: This register is for setting TX deemphasis used in + compliance mode, pattern 13. + - snps,gen2-tx-de-emph2: This register is for setting TX deemphasis used in + compliance mode, pattern 14. + - snps,gen2-tx-de-emph3: This register is for setting TX deemphasis used in + compliance mode, pattern 16. - in addition all properties from usb-xhci.txt from the current directory are supported as well