infineon,tcpwm-pwm

Vendor: Infineon Technologies

Note

An implementation of a driver matching this compatible is available in drivers/pwm/pwm_ifx_tcpwm.c.

Description

Infineon TCPWM PWM

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#pwm-cells

int

Number of items to expect in a PWM
- channel of the timer used for PWM (not used)
- period to set in ns
- flags: standard flags like PWM_POLARITY_NORMAL

This property is required.

Constant value: 3

pinctrl-0

phandles

PORT pin configuration for the PWM signal.
We expect that the phandles will reference pinctrl nodes. These
nodes will have a nodelabel that matches the Infineon SoC Pinctrl
defines and have following
format: p<port>_<pin>_<peripheral inst>_<signal>.

Examples:
  pinctrl-0 = <&p1_1_pwm0_0>;

This property is required.

pinctrl-names

string-array

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

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.

system-interrupts

array

Information about system interrupts generated by the device (peripherals, etc), encoded
as an array of one or more interrupt specifiers.

Specifier cell names

  • pwm cells: channel, period, flags