The latest development version of this page may be more current than this released 4.0.0 version.

ite,it8xxx2-pwm

Vendor: ITE Tech. Inc.

Note

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

Description

ITE, it8xxx2 Pulse Width Modulator (PWM) node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

channel

int

0 = PWM_CHANNEL_0, 1 = PWM_CHANNEL_1, 2 = PWM_CHANNEL_2,
3 = PWM_CHANNEL_3, 4 = PWM_CHANNEL_4, 5 = PWM_CHANNEL_5,
6 = PWM_CHANNEL_6, 7 = PWM_CHANNEL_7

This property is required.

Legal values: 0, 1, 2, 3, 4, 5, 6, 7

pwmctrl

phandle

PWM prescaler controller

This property is required.

prescaler-cx

int

1 = PWM_PRESCALER_C4, 2 = PWM_PRESCALER_C6, 3 = PWM_PRESCALER_C7

This property is required.

Legal values: 1, 2, 3

pwm-output-frequency

int

PWM output frequency for operation

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-names

string-array

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

This property is required.

#pwm-cells

int

Number of items to expect in a pwm specifier

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.

Specifier cell names

  • pwm cells: channel, period, flags