From: Amit Sunil Dhamne <amitsd@google.com>
To: sashiko-reviews@lists.linux.dev
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: connector: Add time property for tSenderResponse
Date: Fri, 9 Oct 2026 11:57:57 -0700 [thread overview]
Message-ID: <9046b5d6-ca6b-4466-bd8f-73f034234caf@google.com> (raw)
In-Reply-To: <20261004030531.9D32A1F0089B@smtp.kernel.org>
Hi,
On 10/3/26 8:05 PM, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] dt-bindings: missing schema constraints for sender-response-time-ms
> --
>
> commit eb9d81bbfb13df2dbe09db76aefbc40c815abe01
> Author: Amit Sunil Dhamne <amitsd@google.com>
>
> dt-bindings: connector: Add time property for tSenderResponse
>
> Add the sender-response-time-ms property to allow platforms to specify
> the tSenderResponse timer value, i.e. the max time a port waits for the
> port partner to respond to a message that requires a response.
>
>> diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml
>> index 8ca0292490a2c..52dbdd738db64 100644
>> --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml
>> +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml
>> @@ -283,6 +283,15 @@ properties:
>> maximum: 200
>> default: 200
>>
>> + sender-response-time-ms:
>> + description: Represents the max time in ms that a Type-C port waits for
>
> [Severity: Low]
> Is this new property missing minimum, maximum, or default constraints?
I could add the min, max & default for this property. Will send a v2.
Thanks,
Amit
>
> Unlike other timers in this schema (such as sink-wait-cap-time-ms), the lack
> of boundaries means offline schema validation (dt_binding_check) will silently
> accept arbitrary values. Should this have explicit numerical limits to prevent
> accidentally violating USB PD timing requirements?
>
>> + the port partner to respond to a message that requires a response. This
>> + timer starts when the port's PHY layer receives the last bit of the
>> + GoodCRC EOP corresponding to the message requiring a response. This timer
>> + stops when the last bit of the EOP of the expected response message is
>> + received by the PHY layer. A timeout leads to a soft or hard reset by the
>> + port.
>> +
>
next prev parent reply other threads:[~2026-10-09 18:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-04 2:58 [PATCH 0/2] usb: typec: tcpm: Make tSenderResponse timer configurable Amit Sunil Dhamne via B4 Relay
2026-10-04 2:58 ` [PATCH 1/2] dt-bindings: connector: Add time property for tSenderResponse Amit Sunil Dhamne via B4 Relay
2026-10-04 3:05 ` sashiko-bot
2026-10-09 18:57 ` Amit Sunil Dhamne [this message]
2026-10-04 2:58 ` [PATCH 2/2] usb: typec: tcpm: Allow configuring tSenderResponse via fwnode Amit Sunil Dhamne via B4 Relay
2026-10-09 11:29 ` Heikki Krogerus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9046b5d6-ca6b-4466-bd8f-73f034234caf@google.com \
--to=amitsd@google.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox