ite,it51xxx-pwm

Description

ITE, it51xxx Pulse Width Modulator (PWM) node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

channel

int

pwm output channel

This property is required.

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

prescaler-cx

int

1 = PWM_PRESCALER_C4, 2 = PWM_PRESCALER_C6, 3 = PWM_PRESCALER_C7

This property is required.

Legal values: 1, 2, 3

max-dimming-duty

int

Setting pwm max duty cycle of dimming mode (only pwm0/1/7 support),
0 = PWM_DIMMING_DC_40H, 1 = PWM_DIMMING_DC_80H, 2 = PWM_DIMMING_DC_C0H,
3 = PWM_DIMMING_DC_FFH

Legal values: 0, 1, 2, 3

dimming-duty-increase

int

Setting pwm duty cycle increase step of dimming mode (only pwm0/1/7 support),
0 = PWM_DIMMING_DC_STEP_1H, 1 = PWM_DIMMING_DC_STEP_2H, 2 = PWM_DIMMING_DC_STEP_4H,
3 = PWM_DIMMING_DC_STEP_8H

Legal values: 0, 1, 2, 3

dimming-duty-decrease

int

Setting pwm duty cycle decrease step of dimming mode (only pwm0/1/7 support),
0 = PWM_DIMMING_DC_STEP_1H, 1 = PWM_DIMMING_DC_STEP_2H, 2 = PWM_DIMMING_DC_STEP_4H,
3 = PWM_DIMMING_DC_STEP_8H

Legal values: 0, 1, 2, 3

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.

channels

int

Number of PWM channels supported by the controller.

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