Re: [PATCH 1/2] dt-bindings: usb: dwc3: Add binding for USB Gen2 de-emphasis

From: Krzysztof Kozlowski
Date: Mon Oct 07 2024 - 10:57:10 EST


On 07/10/2024 15:55, Joy Chakraborty wrote:
> PIPE4 spec defines an 18bit de-emphasis setting to be passed from
> controller to the PHY.
> TxDeemph[17:0] is split as [5:0] C-1, [11:6] C0, [17:12] C+1 for 3 tap
> filter used for USB Gen2(10GT/s).
>
> Signed-off-by: Joy Chakraborty <joychakr@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
> index 1cd0ca90127d..a1f1bbcf1467 100644
> --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
> +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
> @@ -190,6 +190,18 @@ properties:
> - 1 # -3.5dB de-emphasis
> - 2 # No de-emphasis
>
> + snps,tx_gen2_de_emphasis_quirk:

No underscores.

> + description: When set core will set Tx de-emphasis for USB Gen2

And why it cannot be implied by compatible?

> + type: boolean
> +
Best regards,
Krzysztof