Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: connector: add typec-power-opmode property to usb-connector

Power operation mode may depends on hardware design, so, add the optional
property typec-power-opmode for usb-c connector to select the power
operation mode capability.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

authored by

Amelie Delaunay and committed by
Alexandre Torgue
8e568db6 dc37a51b

+24
+24
Documentation/devicetree/bindings/connector/usb-connector.yaml
··· 93 93 - device 94 94 - dual 95 95 96 + typec-power-opmode: 97 + description: Determines the power operation mode that the Type C connector 98 + will support and will advertise through CC pins when it has no power 99 + delivery support. 100 + - "default" corresponds to default USB voltage and current defined by the 101 + USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and 102 + 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane 103 + operation respectively. 104 + - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB 105 + Type-C Cable and Connector specification, when Power Delivery is not 106 + supported. 107 + allOf: 108 + - $ref: /schemas/types.yaml#definitions/string 109 + enum: 110 + - default 111 + - 1.5A 112 + - 3.0A 113 + 96 114 # The following are optional properties for "usb-c-connector" with power 97 115 # delivery support. 98 116 source-pdos: ··· 190 172 properties: 191 173 type: 192 174 const: micro 175 + 176 + anyOf: 177 + - not: 178 + required: 179 + - typec-power-opmode 180 + - new-source-frs-typec-current 193 181 194 182 additionalProperties: true 195 183