Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 0722924

Browse files
amitsd2Treehugger Robot
authored andcommitted
UPSTREAM: dt-bindings: connector: Add time property for Sink BC12 detection completion
This commit adds a new time property for Battery charger (BC1.2) type detection completion process (based on BCv1.2 detection spec) when typec port connects in a potential sink role. BC1.2 detection is used by some Type C port controllers implementations (such as "maxim,max33359") to detect the type of charger port. Signed-off-by: Amit Sunil Dhamne <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Bug: 296723174 Change-Id: I2ba16d88c0057a82e9648672a1f65459abcfe4d7 Signed-off-by: Amit Sunil Dhamne <[email protected]> (cherry picked from commit 9e5cb09)
1 parent 2284ba2 commit 0722924

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Documentation/devicetree/bindings/connector/usb-connector.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,16 @@ properties:
261261
maximum: 200
262262
default: 200
263263

264+
sink-bc12-completion-time-ms:
265+
description: Represents the max time in ms that a port in sink role takes
266+
to complete Battery Charger (BC1.2) Detection. BC1.2 detection is a
267+
hardware mechanism, which in some TCPC implementations, can run in
268+
parallel once the Type-C connection state machine reaches the "potential
269+
connect as sink" state. In TCPCs where this causes delays to respond to
270+
the incoming PD messages, sink-bc12-completion-time-ms is used to delay
271+
PD negotiation till BC1.2 detection completes.
272+
default: 0
273+
264274
dependencies:
265275
sink-vdos-v1: [ sink-vdos ]
266276
sink-vdos: [ sink-vdos-v1 ]
@@ -362,6 +372,7 @@ examples:
362372
sink-wait-cap-time-ms = <465>;
363373
ps-source-off-time-ms = <835>;
364374
cc-debounce-time-ms = <101>;
375+
sink-bc12-completion-time-ms = <500>;
365376
};
366377
};
367378

0 commit comments

Comments
 (0)