This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

ite,it8xxx2-pwm

Vendor: ITE Tech. Inc.

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.

pinctrl-0

phandle

configuration of PWM pinmux 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

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Specifier cell names

  • pwm cells: channel, flags