[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241222105239.2618-1-joswang1221@gmail.com>
Date: Sun, 22 Dec 2024 18:52:38 +0800
From: joswang <joswang1221@...il.com>
To: heikki.krogerus@...ux.intel.com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org
Cc: gregkh@...uxfoundation.org,
linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
rdbabiera@...gle.com,
Jos Wang <joswang@...ovo.com>
Subject: [PATCH v2, 1/2] dt-bindings: connector: Add time property for sender response
From: Jos Wang <joswang@...ovo.com>
Add "pd2-sender-response-time-ms" and "pd3-sender-response-time-ms"
DT attributes to better solve the following test items in the usb
pd compliance test:
TEST.PD.PROT.SRC3.2 SenderResponseTimer Timeout
TEST.PD.PROT.SNK.6 SenderResponseTimer Timeout
This is to enable setting of platform/board specific timer values as
these timers have a range of acceptable values.
[1] https://usb.org/document-library/
usb-power-delivery-compliance-test-specification-0/USB_PD3_CTS_Q4_2024_OR.zip
Signed-off-by: Jos Wang <joswang@...ovo.com>
---
v1 -> v2:
- modify the commit message
- patch 1/2 and patch 2/2 are placed in the same thread
.../bindings/connector/usb-connector.yaml | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
index 67700440e23b..83be66f6d406 100644
--- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
+++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
@@ -293,6 +293,26 @@ properties:
PD negotiation till BC1.2 detection completes.
default: 0
+ pd2-sender-response-time-ms:
+ description: Represents the PD20 max time in ms that port started from
+ the time the last bit of the GoodCRC Message EOP has been received by
+ the Physical Layer, it shall be stopped when the last bit of the expected
+ response Message EOP has been received by the Physical Layer. A timeout
+ leads to a hard reset message by the port.
+ minimum: 24
+ maximum: 30
+ default: 27
+
+ pd3-sender-response-time-ms:
+ description: Represents the PD30 max time in ms that port started from
+ the time the last bit of the GoodCRC Message EOP has been received by
+ the Physical Layer, it shall be stopped when the last bit of the expected
+ response Message EOP has been received by the Physical Layer. A timeout
+ leads to a hard reset message by the port.
+ minimum: 27
+ maximum: 33
+ default: 30
+
dependencies:
sink-vdos-v1: [ sink-vdos ]
sink-vdos: [ sink-vdos-v1 ]
--
2.17.1
Powered by blists - more mailing lists