microchip,tcc-g1-pwm

Description

Microchip G1 TCC pwm driver.

Microchip TCC pwm driver.

This driver is used for configuring
and managing TCC (Timer/ Counter for Control Applications)
peripheral in Microchip microcontrollers. This peripherals
support creating PWM signals. The supported peripherals are
as follows:
  - module name="TCC" id="U2213" version="3.1.0"

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Constant value: 3

prescaler

int

Timer prescaler values.

The prescaler divides the input clock frequency to
achieve the desired timer frequency.

Legal values: 1, 2, 4, 8, 16, 64, 256, 1024

channels

int

This specifies the maximum number of channels available for the peripheral instance.

This property is required.

max-bit-width

int

Maximum bit width supported by the counter.

This property specifies the resolution of the counter. The value provided in the device tree
should reflect the maximum supported by the hardware instance. It should only be overridden
after consulting the relevant family datasheet to ensure compatibility.

This property is required.

Legal values: 16, 24

pinctrl-0

phandles

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

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.

Specifier cell names

  • pwm cells: channel, period, polarity