Skip to content

Commit

Permalink
dt-bindings: connector: Add pd-revision property
Browse files Browse the repository at this point in the history
Add pd-revision property definition, to specify the maximum Power
Delivery Revision and Version supported by the connector.

Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241210-get_rev_upstream-v2-1-d0094e52d48f@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Amit Sunil Dhamne authored and Greg Kroah-Hartman committed Dec 24, 2024
1 parent 6fdc943 commit 1ed7399
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ properties:
PD negotiation till BC1.2 detection completes.
default: 0

pd-revision:
description: Specifies the maximum USB PD revision and version supported by
the connector. This property is specified in the following order;
<revision_major, revision_minor, version_major, version_minor>.
$ref: /schemas/types.yaml#/definitions/uint8-array
maxItems: 4

dependencies:
sink-vdos-v1: [ sink-vdos ]
sink-vdos: [ sink-vdos-v1 ]
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/usb/maxim,max33359.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ examples:
PDO_FIXED_DUAL_ROLE)
PDO_FIXED(9000, 2000, 0)>;
sink-bc12-completion-time-ms = <500>;
pd-revision = /bits/ 8 <0x03 0x01 0x01 0x08>;
};
};
};
Expand Down

0 comments on commit 1ed7399

Please sign in to comment.