[PATCH 1/2] dt-bindings: connector: Add time property for sender response

From: joswang
Date: Sun Dec 15 2024 - 07:47:07 EST


From: Jos Wang <joswang@xxxxxxxxxx>

This commit adds the following properties:
* pd2-sender-response-time-ms
* pd3-sender-response-time-ms

This is to enable setting of platform/board specific timer values as
these timers have a range of acceptable values.

Signed-off-by: Jos Wang <joswang@xxxxxxxxxx>
---
.../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