Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Amit Sunil Dhamne" <amitsd@google.com>
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: Sun, 04 Oct 2026 03:05:30 +0000	[thread overview]
Message-ID: <20261004030531.9D32A1F0089B@smtp.kernel.org> (raw)
In-Reply-To: <20261004-tcpm-sender-response-time-v1-1-3f8b43084acc@google.com>

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?

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.
> +

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261004-tcpm-sender-response-time-v1-0-3f8b43084acc@google.com?part=1

  reply	other threads:[~2026-10-04  3:05 UTC|newest]

Thread overview: 5+ 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 [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=20261004030531.9D32A1F0089B@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=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