st,stm32-ucpd

Vendor: STMicroelectronics N.V.

Description

ST STM32 family USB Type-C / Power Delivery. The default values were
taken from the LL_UCPD_StructInit function defined in the HAL.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

psc-ucpdclk

int

Determines the division ratio of a kernel clock pre-scaler
producing UCPD peripheral clock (ucpd_clk). It is recommended
to use the pre-scaler so as to set the ucpd_clk frequency in
the range from 6 to 9 MHz.

Default value: 2

Legal values: 1, 2, 4, 8, 16, 32, 64, 128

ifrgap

int

Determines the division ratio of a ucpd_clk divider producing
inter-frame gap timer clock (tInterFrameGap).
The division ratio 15 is to apply for Tx clock at the USB PD 2.0
specification nominal value.
Valid range: 2 - 32

Default value: 17

transwin

int

Determines the division ratio of a hbit_clk divider producing
tTransitionWindow interval.
Valid range: 2 - 32

Default value: 8

hbitclkdiv

int

Determines the division ratio of a ucpd_clk divider producing
half-bit clock (hbit_clk)
Valid range: 1 - 64

Default value: 14

dead-battery

boolean

Determine if USB-C Dead Battery pull-down's should be
applied to the CC lines.