Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1300963pxu; Sat, 5 Dec 2020 10:41:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJws62nUkNX/CJIh/egWVapSVjAlhXtzXJPgE3ppUOD91CpkUp1aJXL6xhQLbebpfMgzQEZU X-Received: by 2002:a05:6402:129a:: with SMTP id w26mr1250562edv.355.1607193705941; Sat, 05 Dec 2020 10:41:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607193705; cv=none; d=google.com; s=arc-20160816; b=Kf7f2RntdDkYhcL36bQb9V+USIEfDNc8KXl+qIv9o3vyqe22T7jifUxpChj0M8gNNN +vSgjEULXR9IYdJVjMXNzWqQV3r/2cLNlKdYjaKlUdpI7Ubh/jZ166LUMyUdcEZ6qOzR xcyKeMjdIYuATZUf61G7UflvIrgGYBw2H0N5j18kpKEUuiH6NvMI37r20hxUalsf+YBT Cbpire1c745qgA6xz7BssVRIH2bihpemQe51p9jP9wm35Ythzqnci+jREugL0wNfTqDX SoIAKtRo2WyC1AU5y0i0ZjJslssfm+DGPRWlj7AgVbkhJaCqHTmTrmTGPA+g6bHVlA5a Wazg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=E1tZF9FFBfkcCrV0G07NV9sF4KHVcZJUlDX3yzdKYCA=; b=apzMR17jmd/LCvhMR/1O6h/0P/awgiw3DU7yTFvjOdoKc868senusFjNTegz+xVNUu 8fWu1BJvEjvSw4o1nCIOFoqJHngt2zvWbVabOfaTrRvzoWhohYTQjVF9G84Yo1ooKvME 8CT4ZxunRG9yuhWZUruJ1aFkwG4ALYMT5HbOieVtFHgEjQs5mj8WE8p6atlivh731SVG kWzd07SQZcibmQH0Jq1+w2OqioWUdViijeAJFAiJcTOsLq4ZypNnJ40+rzYTdReZp7HI 0KHEO/O3tCAac/X7dZYl9gQ65BQ7MenvVByKsDUdvZfC3WqC1UZHggiNP0sgneI5ycDG Kj2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si4072544ejd.397.2020.12.05.10.41.23; Sat, 05 Dec 2020 10:41:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728976AbgLESTZ (ORCPT + 99 others); Sat, 5 Dec 2020 13:19:25 -0500 Received: from ns2.baikalelectronics.ru ([94.125.187.42]:53268 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727185AbgLERkK (ORCPT ); Sat, 5 Dec 2020 12:40:10 -0500 From: Serge Semin To: Mathias Nyman , Felipe Balbi , Krzysztof Kozlowski , Greg Kroah-Hartman , Rob Herring , Chunfeng Yun CC: Serge Semin , Serge Semin , Alexey Malahov , Pavel Parkhomenko , Andy Gross , Bjorn Andersson , Manu Gautam , Roger Quadros , Lad Prabhakar , Yoshihiro Shimoda , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Ahmad Zainie , , , , , , , , Rob Herring Subject: [PATCH v5 13/19] dt-bindings: usb: dwc3: Add Tx De-emphasis constraints Date: Sat, 5 Dec 2020 18:24:20 +0300 Message-ID: <20201205152427.29537-14-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> References: <20201205152427.29537-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In accordance with the driver comments the PIPE3 de-emphasis can be tuned to be either -6dB, -2.5dB or disabled. Let's add the de-emphasis property constraints so the DT schema would make sure the controller DT node is equipped with correct value. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog v2: - Grammar fix: "s/tunned/tuned" - Grammar fix: remove redundant "or" conjunction. --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index b1890558affe..e39ad899c92e 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -156,6 +156,10 @@ properties: The value driven to the PHY is controlled by the LTSSM during USB3 Compliance mode. $ref: /schemas/types.yaml#/definitions/uint8 + enum: + - 0 # -6dB de-emphasis + - 1 # -3.5dB de-emphasis + - 2 # No de-emphasis snps,dis_u3_susphy_quirk: description: When set core will disable USB3 suspend phy -- 2.29.2